public class BoxServiceImpl extends Object implements BoxService
| Constructor and Description |
|---|
BoxServiceImpl() |
public com.google.common.collect.BiMap<String,String> getNxBoxRole()
getNxBoxRole in interface BoxServicepublic BoxCollection searchBox(String term, CoreSession session, String limit, String offset) throws ClientException
searchBox in interface BoxServiceClientExceptionpublic List<BoxTypedObject> getBoxDocumentCollection(DocumentModelList documentModels, String fields) throws ClientException
getBoxDocumentCollection in interface BoxServiceClientExceptionpublic BoxCollaboration getBoxCollaboration(BoxFolderAdapter boxFolderAdapter, ACE ace, String collaborationId) throws ClientException
getBoxCollaboration in interface BoxServiceboxFolderAdapter - the related box folderace - the specific ACE for this collaborationClientExceptionpublic String toJSONString(BoxObject boxObject) throws BoxJSONException
toJSONString in interface BoxServiceBoxJSONExceptionpublic String getBoxId(DocumentModel doc)
getBoxId in interface BoxServicepublic String getBoxSequenceId(DocumentModel doc)
getBoxSequenceId in interface BoxServicepublic String getBoxEtag(DocumentModel doc)
getBoxEtag in interface BoxServicepublic String getBoxName(DocumentModel doc)
getBoxName in interface BoxServicepublic BoxUser fillUser(NuxeoPrincipal creator)
fillUser in interface BoxServicepublic BoxGroup fillGroup(NuxeoGroup group)
fillGroup in interface BoxServicepublic BoxFolder getBoxFolder(String jsonBoxFolder) throws BoxJSONException
getBoxFolder in interface BoxServiceBoxJSONExceptionpublic BoxFile getBoxFile(String jsonBoxFile) throws BoxJSONException
getBoxFile in interface BoxServiceBoxJSONExceptionpublic BoxComment getBoxComment(String jsonBoxComment) throws BoxJSONException
getBoxComment in interface BoxServiceBoxJSONExceptionpublic BoxCollaboration getBoxCollaboration(String jsonBoxCollaboration) throws BoxJSONException
getBoxCollaboration in interface BoxServiceBoxJSONExceptionpublic String getJSONFromBox(BoxTypedObject boxTypedObject) throws BoxJSONException
getJSONFromBox in interface BoxServiceBoxJSONExceptionpublic String getJSONBoxException(Exception e, int status)
getJSONBoxException in interface BoxServicepublic String[] getCollaborationArrayIds(String collaborationId)
getCollaborationArrayIds in interface BoxServiceCopyright © 2015 Nuxeo SA. All rights reserved.