fr.paris.lutece.plugins.document.modules.cmis.service
Class DocumentRepository

java.lang.Object
  extended by fr.paris.lutece.plugins.document.modules.cmis.service.BaseRepository
      extended by fr.paris.lutece.plugins.document.modules.cmis.service.DocumentRepository

public class DocumentRepository
extends BaseRepository

Document Repository


Constructor Summary
DocumentRepository()
           
 
Method Summary
 org.apache.chemistry.opencmis.commons.data.ObjectInFolderList getChildren(org.apache.chemistry.opencmis.commons.server.CallContext context, String folderId, String filter, String orderBy, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegment, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
          Get children
 org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream(org.apache.chemistry.opencmis.commons.server.CallContext context, String objectId, BigInteger offset, BigInteger length)
          CMIS getContentStream.
 List<org.apache.chemistry.opencmis.commons.data.ObjectInFolderContainer> getDescendants(org.apache.chemistry.opencmis.commons.server.CallContext context, String folderId, BigInteger depth, String filter, Boolean includeAllowableActions, Boolean includePathSegment, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos, boolean userReadOnly)
          Get Descendants
 org.apache.chemistry.opencmis.commons.data.RepositoryInfo getInfos()
          Get repository infos
 org.apache.chemistry.opencmis.commons.data.ObjectData getObject(org.apache.chemistry.opencmis.commons.server.CallContext context, String objectId, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfo)
          Get Object
 org.apache.chemistry.opencmis.commons.data.ObjectData getObjectByPath(org.apache.chemistry.opencmis.commons.server.CallContext context, String folderPath, String filter, boolean includeAllowableActions, boolean includeACL, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
          CMIS getObjectByPath.
 org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getTypeDefinition(org.apache.chemistry.opencmis.commons.server.CallContext context, String typeId)
          CMIS getTypeDefinition.
 org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList getTypesChildren(org.apache.chemistry.opencmis.commons.server.CallContext context, String typeId, boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount)
          CMIS getTypesChildren.
 
Methods inherited from class fr.paris.lutece.plugins.document.modules.cmis.service.BaseRepository
addPropertyBigInteger, addPropertyBoolean, addPropertyDateTime, addPropertyDefault, addPropertyId, addPropertyIdList, addPropertyInteger, addPropertyString, checkAddProperty, createMapping, createPermission, millisToCalendar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentRepository

public DocumentRepository()
Method Detail

getInfos

public org.apache.chemistry.opencmis.commons.data.RepositoryInfo getInfos()
Get repository infos

Returns:
The infos

getTypesChildren

public org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList getTypesChildren(org.apache.chemistry.opencmis.commons.server.CallContext context,
                                                                                             String typeId,
                                                                                             boolean includePropertyDefinitions,
                                                                                             BigInteger maxItems,
                                                                                             BigInteger skipCount)
CMIS getTypesChildren.

Parameters:
context - The context
typeId - The type id
includePropertyDefinitions - include property definition
maxItems - Max items
skipCount - Skip count
Returns:
The list

getTypeDefinition

public org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getTypeDefinition(org.apache.chemistry.opencmis.commons.server.CallContext context,
                                                                                          String typeId)
CMIS getTypeDefinition.

Parameters:
context - The context
typeId - The type id
Returns:

getChildren

public org.apache.chemistry.opencmis.commons.data.ObjectInFolderList getChildren(org.apache.chemistry.opencmis.commons.server.CallContext context,
                                                                                 String folderId,
                                                                                 String filter,
                                                                                 String orderBy,
                                                                                 Boolean includeAllowableActions,
                                                                                 org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
                                                                                 String renditionFilter,
                                                                                 Boolean includePathSegment,
                                                                                 BigInteger maxItems,
                                                                                 BigInteger skipCount,
                                                                                 org.apache.chemistry.opencmis.commons.data.ExtensionsData extension,
                                                                                 org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
Get children

Parameters:
context - The context
folderId - The folder id
filter - Filters
orderBy - The order
includeAllowableActions - include actions
includeRelationships - include relationship
renditionFilter - filters
includePathSegment - include path segment
maxItems - max items
skipCount - skip count
extension - extension
objectInfos - object infos
Returns:
The list of children

getObject

public org.apache.chemistry.opencmis.commons.data.ObjectData getObject(org.apache.chemistry.opencmis.commons.server.CallContext context,
                                                                       String objectId,
                                                                       String filter,
                                                                       Boolean includeAllowableActions,
                                                                       org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
                                                                       String renditionFilter,
                                                                       Boolean includePolicyIds,
                                                                       Boolean includeAcl,
                                                                       org.apache.chemistry.opencmis.commons.data.ExtensionsData extension,
                                                                       org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfo)
Get Object

Parameters:
context - The context
objectId - The object's ID
filter - Filters
includeAllowableActions - include actions
includeRelationships - include relations
renditionFilter - use filters
includePolicyIds - include policies
includeAcl - include ACL
extension - extension
objectInfo - Object infos
Returns:
The object

getObjectByPath

public org.apache.chemistry.opencmis.commons.data.ObjectData getObjectByPath(org.apache.chemistry.opencmis.commons.server.CallContext context,
                                                                             String folderPath,
                                                                             String filter,
                                                                             boolean includeAllowableActions,
                                                                             boolean includeACL,
                                                                             org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos)
CMIS getObjectByPath.

Parameters:
context - The context
folderPath - The folder path
includeAllowableActions - include actions
filter - Filters
objectInfos - object infos
includeACL - include ACL
Returns:
The object

getContentStream

public org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream(org.apache.chemistry.opencmis.commons.server.CallContext context,
                                                                                 String objectId,
                                                                                 BigInteger offset,
                                                                                 BigInteger length)
CMIS getContentStream.

Parameters:
context - The context
objectId - The object id
length - The length
offset - The offset
Returns:
The content stream

getDescendants

public List<org.apache.chemistry.opencmis.commons.data.ObjectInFolderContainer> getDescendants(org.apache.chemistry.opencmis.commons.server.CallContext context,
                                                                                               String folderId,
                                                                                               BigInteger depth,
                                                                                               String filter,
                                                                                               Boolean includeAllowableActions,
                                                                                               Boolean includePathSegment,
                                                                                               org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler objectInfos,
                                                                                               boolean userReadOnly)
Get Descendants

Parameters:
context - The context
folderId - The folder's ID
depth - the depth
filter - Filters
includeAllowableActions - include actions
includePathSegment - include path segment
objectInfos - Objects infos
userReadOnly - user Read Only
Returns:
The descendants


Copyright © 2014 Mairie de Paris. All Rights Reserved.