IServerSideVersionedContentService
Accepted answer
Like any other service you get the IServerSideVersionedContentServiceusing using
IServerSideVersionedContentService contentSvc = getService(IServerSideVersionedContentService.class);
getService is inherited from AbstractService or AbstractSCMService.
One other answer
No, you don't and no, you can't. As far as I can tell, com.ibm.team.repository.client.ITeamRepository is a client API that is not available in the server. Completely changing your question is not a good practice, you could comment on your question.