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