public class NuxeoCmisService
extends org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
implements org.apache.chemistry.opencmis.server.support.wrapper.CallContextAwareCmisService, org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService
CoreSession
.Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_CHANGE_LOG_SIZE |
static int |
DEFAULT_FOLDER_LEVELS |
static int |
DEFAULT_MAX_CHILDREN |
static int |
DEFAULT_MAX_RELATIONSHIPS |
static int |
DEFAULT_QUERY_SIZE |
static int |
DEFAULT_TYPE_LEVELS |
static int |
MAX_CHANGE_LOG_SIZE |
static String |
PERMISSION_NOTHING |
Constructor and Description |
---|
NuxeoCmisService(CoreSession coreSession)
Constructs a Nuxeo CMIS Service from an existing
CoreSession . |
NuxeoCmisService(String repositoryName)
Constructs a Nuxeo CMIS Service.
|
Modifier and Type | Method and Description |
---|---|
void |
addObjectInfo(org.apache.chemistry.opencmis.commons.server.ObjectInfo info) |
void |
addObjectToFolder(String repositoryId,
String objectId,
String folderId,
Boolean allVersions,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService.Progress |
afterServiceCall() |
org.apache.chemistry.opencmis.commons.data.Acl |
applyAcl(String repositoryId,
String objectId,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces,
org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.Acl |
applyAcl(String repositoryId,
String objectId,
org.apache.chemistry.opencmis.commons.data.Acl aces,
org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation) |
void |
applyPolicy(String repositoryId,
String policyId,
String objectId,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService.Progress |
beforeServiceCall() |
List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> |
bulkUpdateProperties(String repositoryId,
List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> objectIdAndChangeToken,
org.apache.chemistry.opencmis.commons.data.Properties properties,
List<String> addSecondaryTypeIds,
List<String> removeSecondaryTypeIds,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
cancelCheckOut(String objectId) |
void |
cancelCheckOut(String repositoryId,
String objectId,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
String |
checkIn(String objectId,
boolean major,
Map<String,?> properties,
org.apache.chemistry.opencmis.client.api.ObjectType type,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
String checkinComment) |
void |
checkIn(String repositoryId,
org.apache.chemistry.opencmis.commons.spi.Holder<String> objectIdHolder,
Boolean major,
org.apache.chemistry.opencmis.commons.data.Properties properties,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
String checkinComment,
List<String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
String |
checkOut(String objectId) |
void |
checkOut(String repositoryId,
org.apache.chemistry.opencmis.commons.spi.Holder<String> objectIdHolder,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension,
org.apache.chemistry.opencmis.commons.spi.Holder<Boolean> contentCopiedHolder) |
void |
clearObjectInfos() |
void |
close() |
NuxeoObjectData |
copy(String sourceId,
String targetId,
Map<String,?> properties,
org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState,
List<org.apache.chemistry.opencmis.client.api.Policy> policies,
List<org.apache.chemistry.opencmis.commons.data.Ace> addACEs,
List<org.apache.chemistry.opencmis.commons.data.Ace> removeACEs,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
String |
create(String repositoryId,
org.apache.chemistry.opencmis.commons.data.Properties properties,
String folderId,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState,
List<String> policies,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
String |
createDocument(String repositoryId,
org.apache.chemistry.opencmis.commons.data.Properties properties,
String folderId,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState,
List<String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
String |
createDocumentFromSource(String repositoryId,
String sourceId,
org.apache.chemistry.opencmis.commons.data.Properties properties,
String folderId,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState,
List<String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
String |
createFolder(String repositoryId,
org.apache.chemistry.opencmis.commons.data.Properties properties,
String folderId,
List<String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
String |
createPolicy(String repositoryId,
org.apache.chemistry.opencmis.commons.data.Properties properties,
String folderId,
List<String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
String |
createRelationship(String repositoryId,
org.apache.chemistry.opencmis.commons.data.Properties properties,
List<String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
deleteContentStream(String repositoryId,
org.apache.chemistry.opencmis.commons.spi.Holder<String> objectIdHolder,
org.apache.chemistry.opencmis.commons.spi.Holder<String> changeTokenHolder,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
deleteObject(String repositoryId,
String objectId,
Boolean allVersions,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
deleteObjectOrCancelCheckOut(String repositoryId,
String objectId,
Boolean allVersions,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.FailedToDeleteData |
deleteTree(String repositoryId,
String folderId,
Boolean allVersions,
org.apache.chemistry.opencmis.commons.enums.UnfileObject unfileObjects,
Boolean continueOnFailure,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
static NuxeoCmisService |
extractFromCmisService(org.apache.chemistry.opencmis.commons.server.CmisService service) |
static String |
filenameWithExt(String filename,
String ext)
Change the extension of a filename.
|
org.apache.chemistry.opencmis.commons.data.Acl |
getAcl(String repositoryId,
String objectId,
Boolean onlyBasicPermissions,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.AllowableActions |
getAllowableActions(String repositoryId,
String objectId,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
List<org.apache.chemistry.opencmis.commons.data.ObjectData> |
getAllVersions(String repositoryId,
String objectId,
String versionSeriesId,
String filter,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
List<org.apache.chemistry.opencmis.commons.data.ObjectData> |
getAppliedPolicies(String repositoryId,
String objectId,
String filter,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.server.CallContext |
getCallContext() |
org.apache.chemistry.opencmis.commons.data.ObjectList |
getCheckedOutDocs(String repositoryId,
String folderId,
String filter,
String orderBy,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
String renditionFilter,
BigInteger maxItems,
BigInteger skipCount,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.ObjectInFolderList |
getChildren(String repositoryId,
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.data.ObjectList |
getContentChanges(String repositoryId,
org.apache.chemistry.opencmis.commons.spi.Holder<String> changeLogTokenHolder,
Boolean includeProperties,
String filter,
Boolean includePolicyIds,
Boolean includeAcl,
BigInteger maxItems,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.ContentStream |
getContentStream(String repositoryId,
String objectId,
String streamId,
BigInteger offset,
BigInteger length,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
CoreSession |
getCoreSession() |
List<org.apache.chemistry.opencmis.commons.data.ObjectInFolderContainer> |
getDescendants(String repositoryId,
String folderId,
BigInteger depth,
String filter,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePathSegment,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.ObjectData |
getFolderParent(String repositoryId,
String folderId,
String filter,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
List<org.apache.chemistry.opencmis.commons.data.ObjectInFolderContainer> |
getFolderTree(String repositoryId,
String folderId,
BigInteger depth,
String filter,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePathSegment,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
NuxeoRepository |
getNuxeoRepository() |
NuxeoObjectData |
getObject(String repositoryId,
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.data.ObjectData |
getObjectByPath(String repositoryId,
String path,
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.spi.BindingsObjectFactory |
getObjectFactory() |
org.apache.chemistry.opencmis.commons.server.ObjectInfo |
getObjectInfo(String repositoryId,
String objectId) |
NuxeoObjectData |
getObjectOfLatestVersion(String repositoryId,
String objectId,
String versionSeriesId,
Boolean major,
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) |
List<org.apache.chemistry.opencmis.commons.data.ObjectParentData> |
getObjectParents(String repositoryId,
String objectId,
String filter,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includeRelativePathSegment,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.ObjectList |
getObjectRelationships(String repositoryId,
String objectId,
Boolean includeSubRelationshipTypes,
org.apache.chemistry.opencmis.commons.enums.RelationshipDirection relationshipDirection,
String typeId,
String filter,
Boolean includeAllowableActions,
BigInteger maxItems,
BigInteger skipCount,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.Properties |
getProperties(String repositoryId,
String objectId,
String filter,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.Properties |
getPropertiesOfLatestVersion(String repositoryId,
String objectId,
String versionSeriesId,
Boolean major,
String filter,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
List<org.apache.chemistry.opencmis.commons.data.RenditionData> |
getRenditions(String repositoryId,
String objectId,
String renditionFilter,
BigInteger maxItems,
BigInteger skipCount,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.RepositoryInfo |
getRepositoryInfo(String repositoryId,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
List<org.apache.chemistry.opencmis.commons.data.RepositoryInfo> |
getRepositoryInfos(org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList |
getTypeChildren(String repositoryId,
String typeId,
Boolean includePropertyDefinitions,
BigInteger maxItems,
BigInteger skipCount,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.definitions.TypeDefinition |
getTypeDefinition(String repositoryId,
String typeId,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> |
getTypeDescendants(String repositoryId,
String typeId,
BigInteger depth,
Boolean includePropertyDefinitions,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
boolean |
isFilteredOut(DocumentModel doc)
Checks if the doc should be ignored because it is "invisible" (deleted, hidden in navigation).
|
void |
moveObject(String repositoryId,
org.apache.chemistry.opencmis.commons.spi.Holder<String> objectIdHolder,
String targetFolderId,
String sourceFolderId,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
org.apache.chemistry.opencmis.commons.data.ObjectList |
query(String repositoryId,
String statement,
Boolean searchAllVersions,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
String renditionFilter,
BigInteger maxItems,
BigInteger skipCount,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
IterableQueryResult |
queryAndFetch(String query,
boolean searchAllVersions)
Makes a CMISQL query to the repository and returns an
IterableQueryResult , which MUST be closed in a
finally block. |
IterableQueryResult |
queryAndFetch(String query,
boolean searchAllVersions,
Map<String,org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<?>> typeInfo)
Makes a CMISQL query to the repository and returns an
IterableQueryResult , which MUST be closed in a
finally block. |
void |
removeObjectFromFolder(String repositoryId,
String objectId,
String folderId,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
removePolicy(String repositoryId,
String policyId,
String objectId,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
setCallContext(org.apache.chemistry.opencmis.commons.server.CallContext callContext) |
void |
setContentStream(String repositoryId,
org.apache.chemistry.opencmis.commons.spi.Holder<String> objectIdHolder,
Boolean overwriteFlag,
org.apache.chemistry.opencmis.commons.spi.Holder<String> changeTokenHolder,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
void |
updateProperties(String repositoryId,
org.apache.chemistry.opencmis.commons.spi.Holder<String> objectIdHolder,
org.apache.chemistry.opencmis.commons.spi.Holder<String> changeTokenHolder,
org.apache.chemistry.opencmis.commons.data.Properties properties,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
appendContentStream, createItem, createType, deleteType, updateType
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final int DEFAULT_TYPE_LEVELS
public static final int DEFAULT_FOLDER_LEVELS
public static final int DEFAULT_CHANGE_LOG_SIZE
public static final int MAX_CHANGE_LOG_SIZE
public static final int DEFAULT_QUERY_SIZE
public static final int DEFAULT_MAX_CHILDREN
public static final int DEFAULT_MAX_RELATIONSHIPS
public static final String PERMISSION_NOTHING
public NuxeoCmisService(CoreSession coreSession)
CoreSession
.coreSession
- the sessionpublic NuxeoCmisService(String repositoryName)
repositoryName
- the repository namepublic static NuxeoCmisService extractFromCmisService(org.apache.chemistry.opencmis.commons.server.CmisService service)
public void close()
close
in interface org.apache.chemistry.opencmis.commons.server.CmisService
close
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService.Progress beforeServiceCall()
beforeServiceCall
in interface org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService
public org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService.Progress afterServiceCall()
afterServiceCall
in interface org.apache.chemistry.opencmis.commons.server.ProgressControlCmisService
public NuxeoRepository getNuxeoRepository()
public CoreSession getCoreSession()
public org.apache.chemistry.opencmis.commons.spi.BindingsObjectFactory getObjectFactory()
public org.apache.chemistry.opencmis.commons.server.CallContext getCallContext()
getCallContext
in interface org.apache.chemistry.opencmis.server.support.wrapper.CallContextAwareCmisService
public void setCallContext(org.apache.chemistry.opencmis.commons.server.CallContext callContext)
setCallContext
in interface org.apache.chemistry.opencmis.server.support.wrapper.CallContextAwareCmisService
public List<org.apache.chemistry.opencmis.commons.data.RepositoryInfo> getRepositoryInfos(org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getRepositoryInfos
in interface org.apache.chemistry.opencmis.commons.spi.RepositoryService
getRepositoryInfos
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.RepositoryInfo getRepositoryInfo(String repositoryId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getRepositoryInfo
in interface org.apache.chemistry.opencmis.commons.spi.RepositoryService
getRepositoryInfo
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getTypeDefinition(String repositoryId, String typeId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getTypeDefinition
in interface org.apache.chemistry.opencmis.commons.spi.RepositoryService
getTypeDefinition
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList getTypeChildren(String repositoryId, String typeId, Boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getTypeChildren
in interface org.apache.chemistry.opencmis.commons.spi.RepositoryService
getTypeChildren
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getTypeDescendants(String repositoryId, String typeId, BigInteger depth, Boolean includePropertyDefinitions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getTypeDescendants
in interface org.apache.chemistry.opencmis.commons.spi.RepositoryService
getTypeDescendants
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public NuxeoObjectData getObject(String repositoryId, 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)
getObject
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
getObject
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public boolean isFilteredOut(DocumentModel doc)
public String create(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<String> policies, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
create
in interface org.apache.chemistry.opencmis.commons.server.CmisService
create
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public String createDocument(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
createDocument
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
createDocument
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public String createFolder(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
createFolder
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
createFolder
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public String createPolicy(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
createPolicy
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
createPolicy
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public String createRelationship(String repositoryId, org.apache.chemistry.opencmis.commons.data.Properties properties, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
createRelationship
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
createRelationship
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public String createDocumentFromSource(String repositoryId, String sourceId, org.apache.chemistry.opencmis.commons.data.Properties properties, String folderId, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
createDocumentFromSource
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
createDocumentFromSource
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public NuxeoObjectData copy(String sourceId, String targetId, Map<String,?> properties, org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type, org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState, List<org.apache.chemistry.opencmis.client.api.Policy> policies, List<org.apache.chemistry.opencmis.commons.data.Ace> addACEs, List<org.apache.chemistry.opencmis.commons.data.Ace> removeACEs, org.apache.chemistry.opencmis.client.api.OperationContext context)
public void deleteContentStream(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectIdHolder, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeTokenHolder, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
deleteContentStream
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
deleteContentStream
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.FailedToDeleteData deleteTree(String repositoryId, String folderId, Boolean allVersions, org.apache.chemistry.opencmis.commons.enums.UnfileObject unfileObjects, Boolean continueOnFailure, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
deleteTree
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
deleteTree
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.AllowableActions getAllowableActions(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getAllowableActions
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
getAllowableActions
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream(String repositoryId, String objectId, String streamId, BigInteger offset, BigInteger length, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getContentStream
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
getContentStream
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public static String filenameWithExt(String filename, String ext)
public List<org.apache.chemistry.opencmis.commons.data.RenditionData> getRenditions(String repositoryId, String objectId, String renditionFilter, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getRenditions
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
getRenditions
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.ObjectData getObjectByPath(String repositoryId, String path, 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)
getObjectByPath
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
getObjectByPath
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.Properties getProperties(String repositoryId, String objectId, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getProperties
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
getProperties
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.server.ObjectInfo getObjectInfo(String repositoryId, String objectId)
getObjectInfo
in interface org.apache.chemistry.opencmis.commons.server.CmisService
getObjectInfo
in interface org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler
getObjectInfo
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void clearObjectInfos()
clearObjectInfos
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void addObjectInfo(org.apache.chemistry.opencmis.commons.server.ObjectInfo info)
addObjectInfo
in interface org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler
addObjectInfo
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void moveObject(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectIdHolder, String targetFolderId, String sourceFolderId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
moveObject
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
moveObject
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void setContentStream(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectIdHolder, Boolean overwriteFlag, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeTokenHolder, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
setContentStream
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
setContentStream
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void updateProperties(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectIdHolder, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeTokenHolder, org.apache.chemistry.opencmis.commons.data.Properties properties, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
updateProperties
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
updateProperties
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> bulkUpdateProperties(String repositoryId, List<org.apache.chemistry.opencmis.commons.data.BulkUpdateObjectIdAndChangeToken> objectIdAndChangeToken, org.apache.chemistry.opencmis.commons.data.Properties properties, List<String> addSecondaryTypeIds, List<String> removeSecondaryTypeIds, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
bulkUpdateProperties
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
bulkUpdateProperties
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.Acl applyAcl(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
applyAcl
in interface org.apache.chemistry.opencmis.commons.spi.AclService
applyAcl
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.Acl applyAcl(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.Acl aces, org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation)
applyAcl
in interface org.apache.chemistry.opencmis.commons.server.CmisService
applyAcl
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.Acl getAcl(String repositoryId, String objectId, Boolean onlyBasicPermissions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getAcl
in interface org.apache.chemistry.opencmis.commons.spi.AclService
getAcl
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.ObjectList getContentChanges(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> changeLogTokenHolder, Boolean includeProperties, String filter, Boolean includePolicyIds, Boolean includeAcl, BigInteger maxItems, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getContentChanges
in interface org.apache.chemistry.opencmis.commons.spi.DiscoveryService
getContentChanges
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.ObjectList query(String repositoryId, String statement, Boolean searchAllVersions, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
query
in interface org.apache.chemistry.opencmis.commons.spi.DiscoveryService
query
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public IterableQueryResult queryAndFetch(String query, boolean searchAllVersions, Map<String,org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<?>> typeInfo)
IterableQueryResult
, which MUST be closed in a
finally
block.query
- the CMISQL querysearchAllVersions
- whether to search all versions (true
) or only the latest version (false
), for versionable typestypeInfo
- a map filled with type information for each returned property, or null
if no such info is
neededIterableQueryResult
, which MUST be closed in a finally
blockorg.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException
- if the query cannot be parsed or is invalidpublic IterableQueryResult queryAndFetch(String query, boolean searchAllVersions)
IterableQueryResult
, which MUST be closed in a
finally
block.query
- the CMISQL querysearchAllVersions
- whether to search all versions (true
) or only the latest version (false
), for versionable typesIterableQueryResult
, which MUST be closed in a finally
blockorg.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException
- if the query cannot be parsed or is invalidpublic void addObjectToFolder(String repositoryId, String objectId, String folderId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
addObjectToFolder
in interface org.apache.chemistry.opencmis.commons.spi.MultiFilingService
addObjectToFolder
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void removeObjectFromFolder(String repositoryId, String objectId, String folderId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
removeObjectFromFolder
in interface org.apache.chemistry.opencmis.commons.spi.MultiFilingService
removeObjectFromFolder
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.ObjectInFolderList getChildren(String repositoryId, 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)
getChildren
in interface org.apache.chemistry.opencmis.commons.spi.NavigationService
getChildren
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public List<org.apache.chemistry.opencmis.commons.data.ObjectInFolderContainer> getDescendants(String repositoryId, String folderId, BigInteger depth, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegment, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getDescendants
in interface org.apache.chemistry.opencmis.commons.spi.NavigationService
getDescendants
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public List<org.apache.chemistry.opencmis.commons.data.ObjectInFolderContainer> getFolderTree(String repositoryId, String folderId, BigInteger depth, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegment, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getFolderTree
in interface org.apache.chemistry.opencmis.commons.spi.NavigationService
getFolderTree
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.ObjectData getFolderParent(String repositoryId, String folderId, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getFolderParent
in interface org.apache.chemistry.opencmis.commons.spi.NavigationService
getFolderParent
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public List<org.apache.chemistry.opencmis.commons.data.ObjectParentData> getObjectParents(String repositoryId, String objectId, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includeRelativePathSegment, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getObjectParents
in interface org.apache.chemistry.opencmis.commons.spi.NavigationService
getObjectParents
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void applyPolicy(String repositoryId, String policyId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
applyPolicy
in interface org.apache.chemistry.opencmis.commons.spi.PolicyService
applyPolicy
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public List<org.apache.chemistry.opencmis.commons.data.ObjectData> getAppliedPolicies(String repositoryId, String objectId, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getAppliedPolicies
in interface org.apache.chemistry.opencmis.commons.spi.PolicyService
getAppliedPolicies
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void removePolicy(String repositoryId, String policyId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
removePolicy
in interface org.apache.chemistry.opencmis.commons.spi.PolicyService
removePolicy
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.ObjectList getObjectRelationships(String repositoryId, String objectId, Boolean includeSubRelationshipTypes, org.apache.chemistry.opencmis.commons.enums.RelationshipDirection relationshipDirection, String typeId, String filter, Boolean includeAllowableActions, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getObjectRelationships
in interface org.apache.chemistry.opencmis.commons.spi.RelationshipService
getObjectRelationships
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void checkIn(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectIdHolder, Boolean major, org.apache.chemistry.opencmis.commons.data.Properties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String checkinComment, List<String> policies, org.apache.chemistry.opencmis.commons.data.Acl addAces, org.apache.chemistry.opencmis.commons.data.Acl removeAces, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
checkIn
in interface org.apache.chemistry.opencmis.commons.spi.VersioningService
checkIn
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public String checkIn(String objectId, boolean major, Map<String,?> properties, org.apache.chemistry.opencmis.client.api.ObjectType type, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String checkinComment)
public void checkOut(String repositoryId, org.apache.chemistry.opencmis.commons.spi.Holder<String> objectIdHolder, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension, org.apache.chemistry.opencmis.commons.spi.Holder<Boolean> contentCopiedHolder)
checkOut
in interface org.apache.chemistry.opencmis.commons.spi.VersioningService
checkOut
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void cancelCheckOut(String repositoryId, String objectId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
cancelCheckOut
in interface org.apache.chemistry.opencmis.commons.spi.VersioningService
cancelCheckOut
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void cancelCheckOut(String objectId)
public org.apache.chemistry.opencmis.commons.data.ObjectList getCheckedOutDocs(String repositoryId, String folderId, String filter, String orderBy, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getCheckedOutDocs
in interface org.apache.chemistry.opencmis.commons.spi.NavigationService
getCheckedOutDocs
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public List<org.apache.chemistry.opencmis.commons.data.ObjectData> getAllVersions(String repositoryId, String objectId, String versionSeriesId, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getAllVersions
in interface org.apache.chemistry.opencmis.commons.spi.VersioningService
getAllVersions
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public NuxeoObjectData getObjectOfLatestVersion(String repositoryId, String objectId, String versionSeriesId, Boolean major, 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)
getObjectOfLatestVersion
in interface org.apache.chemistry.opencmis.commons.spi.VersioningService
getObjectOfLatestVersion
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public org.apache.chemistry.opencmis.commons.data.Properties getPropertiesOfLatestVersion(String repositoryId, String objectId, String versionSeriesId, Boolean major, String filter, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
getPropertiesOfLatestVersion
in interface org.apache.chemistry.opencmis.commons.spi.VersioningService
getPropertiesOfLatestVersion
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void deleteObject(String repositoryId, String objectId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
deleteObject
in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
deleteObject
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void deleteObjectOrCancelCheckOut(String repositoryId, String objectId, Boolean allVersions, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
deleteObjectOrCancelCheckOut
in interface org.apache.chemistry.opencmis.commons.server.CmisService
deleteObjectOrCancelCheckOut
in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
Copyright © 2015 Nuxeo SA. All rights reserved.