|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.cmis.A_CmsCmisRepository
org.opencms.cmis.CmsCmisRepository
public class CmsCmisRepository
Repository instance for CMIS repositories.
| Field Summary | |
|---|---|
protected static org.apache.commons.logging.Log |
LOG
The logger instance for this class. |
static java.lang.String |
PARAM_DESCRIPTION
The description parameter name. |
static java.lang.String |
PARAM_PROJECT
The project parameter name. |
static java.lang.String |
PARAM_PROPERTY
The property parameter name. |
static java.lang.String |
PARAM_RENDITION
The rendition parameter name. |
| Fields inherited from class org.opencms.cmis.A_CmsCmisRepository |
|---|
CMIS_ALL, CMIS_READ, CMIS_WRITE, m_typeManager |
| Fields inherited from interface org.opencms.configuration.I_CmsConfigurationParameterHandler |
|---|
ADD_PARAMETER_METHOD, INIT_CONFIGURATION_METHOD |
| Constructor Summary | |
|---|---|
CmsCmisRepository()
|
|
| Method Summary | |
|---|---|
void |
addConfigurationParameter(java.lang.String paramName,
java.lang.String paramValue)
Adds a configuration parameter to this parameter configurable class instance. |
protected void |
checkWriteAccess()
Checks whether we have write access to this repository and throws an exception otherwise. |
java.lang.String |
createDocument(CmsCmisCallContext context,
org.apache.chemistry.opencmis.commons.data.Properties propertiesObj,
java.lang.String folderId,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState,
java.util.List<java.lang.String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces)
Creates a new document. |
java.lang.String |
createDocumentFromSource(CmsCmisCallContext context,
java.lang.String sourceId,
org.apache.chemistry.opencmis.commons.data.Properties propertiesObj,
java.lang.String folderId,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState,
java.util.List<java.lang.String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces)
Copies a document. |
java.lang.String |
createFolder(CmsCmisCallContext context,
org.apache.chemistry.opencmis.commons.data.Properties propertiesObj,
java.lang.String folderId,
java.util.List<java.lang.String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces)
Creates a new folder. |
java.lang.String |
createRelationship(CmsCmisCallContext context,
org.apache.chemistry.opencmis.commons.data.Properties properties,
java.util.List<java.lang.String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces)
Creates a relationship. |
void |
deleteContentStream(CmsCmisCallContext context,
org.apache.chemistry.opencmis.commons.spi.Holder<java.lang.String> objectId,
org.apache.chemistry.opencmis.commons.spi.Holder<java.lang.String> changeToken)
Deletes the content stream of an object. |
void |
deleteObject(CmsCmisCallContext context,
java.lang.String objectId,
boolean allVersions)
Deletes a CMIS object. |
org.apache.chemistry.opencmis.commons.data.FailedToDeleteData |
deleteTree(CmsCmisCallContext context,
java.lang.String folderId,
boolean allVersions,
org.apache.chemistry.opencmis.commons.enums.UnfileObject unfileObjects,
boolean continueOnFailure)
Deletes a whole file tree. |
org.apache.chemistry.opencmis.commons.data.Acl |
getAcl(CmsCmisCallContext context,
java.lang.String objectId,
boolean onlyBasicPermissions)
Gets the ACL for an object. |
org.apache.chemistry.opencmis.commons.data.AllowableActions |
getAllowableActions(CmsCmisCallContext context,
java.lang.String objectId)
Gets the allowable actions for an object. |
org.apache.chemistry.opencmis.commons.data.ObjectList |
getCheckedOutDocs(CmsCmisCallContext context,
java.lang.String folderId,
java.lang.String filter,
java.lang.String orderBy,
boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
java.lang.String renditionFilter,
java.math.BigInteger maxItems,
java.math.BigInteger skipCount)
Corresponds to CMIS getCheckedOutDocs service method. |
org.apache.chemistry.opencmis.commons.data.ObjectInFolderList |
getChildren(CmsCmisCallContext context,
java.lang.String folderId,
java.lang.String filter,
java.lang.String orderBy,
boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
java.lang.String renditionFilter,
boolean includePathSegment,
java.math.BigInteger maxItems,
java.math.BigInteger skipCount)
Gets the children of a folder. |
protected CmsObject |
getCmsObject(CmsCmisCallContext context)
Initializes a CMS context for the authentication data contained in a call context. |
CmsParameterConfiguration |
getConfiguration()
Returns the parameters of this configurable class instance, or null if the class does not need any parameters. |
org.apache.chemistry.opencmis.commons.data.ContentStream |
getContentStream(CmsCmisCallContext context,
java.lang.String objectId,
java.lang.String streamId,
java.math.BigInteger offset,
java.math.BigInteger length)
Gets the content stream for a CMIS object. |
java.util.List<org.apache.chemistry.opencmis.commons.data.ObjectInFolderContainer> |
getDescendants(CmsCmisCallContext context,
java.lang.String folderId,
java.math.BigInteger depth,
java.lang.String filter,
boolean includeAllowableActions,
boolean includePathSegment,
boolean foldersOnly)
|
java.lang.String |
getDescription()
Gets the description of the repository. |
CmsRepositoryFilter |
getFilter()
Gets the repository filter. |
org.apache.chemistry.opencmis.commons.data.ObjectData |
getFolderParent(CmsCmisCallContext context,
java.lang.String folderId,
java.lang.String filter)
Corresponds to CMIS getFolderParent service method. |
java.lang.String |
getId()
Gets the repository id. |
java.lang.String |
getName()
Gets the name of the repository. |
org.apache.chemistry.opencmis.commons.data.ObjectData |
getObject(CmsCmisCallContext context,
java.lang.String objectId,
java.lang.String filter,
boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
java.lang.String renditionFilter,
boolean includePolicyIds,
boolean includeAcl)
Gets the data for a CMIS object. |
org.apache.chemistry.opencmis.commons.data.ObjectData |
getObjectByPath(CmsCmisCallContext context,
java.lang.String path,
java.lang.String filter,
boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
java.lang.String renditionFilter,
boolean includePolicyIds,
boolean includeAcl)
Reads a CMIS object by path. |
java.util.List<org.apache.chemistry.opencmis.commons.data.ObjectParentData> |
getObjectParents(CmsCmisCallContext context,
java.lang.String objectId,
java.lang.String filter,
boolean includeAllowableActions,
boolean includeRelativePathSegment)
Gets the parents of an object. |
org.apache.chemistry.opencmis.commons.data.ObjectList |
getObjectRelationships(CmsCmisCallContext context,
java.lang.String objectId,
boolean includeSubRelationshipTypes,
org.apache.chemistry.opencmis.commons.enums.RelationshipDirection relationshipDirection,
java.lang.String typeId,
java.lang.String filter,
boolean includeAllowableActions,
java.math.BigInteger maxItems,
java.math.BigInteger skipCount)
Gets the relationships for an object. |
org.apache.chemistry.opencmis.commons.data.Properties |
getProperties(CmsCmisCallContext context,
java.lang.String objectId,
java.lang.String filter)
Gets the properties for a CMIS object. |
protected java.util.List<org.apache.chemistry.opencmis.commons.data.ObjectData> |
getRelationshipObjectData(CmsCmisCallContext context,
CmsObject cms,
CmsResource resource,
org.apache.chemistry.opencmis.commons.enums.RelationshipDirection relationshipDirection,
java.util.Set<java.lang.String> filterSet,
boolean includeAllowableActions)
Gets the relationship data for a given resource. |
protected java.util.List<I_CmsCmisRenditionProvider> |
getRenditionProviders(CmsCmisRenditionFilter filter)
Gets the rendition providers matching the given filter. |
java.util.List<org.apache.chemistry.opencmis.commons.data.RenditionData> |
getRenditions(CmsCmisCallContext context,
java.lang.String objectId,
java.lang.String renditionFilter,
java.math.BigInteger maxItems,
java.math.BigInteger skipCount)
Gets the renditions for a CMIS object. |
org.apache.chemistry.opencmis.commons.data.RepositoryInfo |
getRepositoryInfo()
Gets the repository information for this repository. |
protected java.lang.String |
getResourceTypeFromProperties(java.util.Map<java.lang.String,org.apache.chemistry.opencmis.commons.data.PropertyData<?>> properties,
java.lang.String defaultValue)
Extracts the resource type from a set of CMIS properties. |
org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList |
getTypeChildren(CmsCmisCallContext context,
java.lang.String typeId,
boolean includePropertyDefinitions,
java.math.BigInteger maxItems,
java.math.BigInteger skipCount)
Gets the children of a given type. |
org.apache.chemistry.opencmis.commons.definitions.TypeDefinition |
getTypeDefinition(CmsCmisCallContext context,
java.lang.String typeId)
Gets a type definition by id. |
java.util.List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> |
getTypeDescendants(CmsCmisCallContext context,
java.lang.String typeId,
java.math.BigInteger depth,
boolean includePropertyDefinitions)
Gets the type descendants. |
protected CmsCmisTypeManager |
getTypeManager()
Gets the type manager instance. |
void |
initConfiguration()
Initializes a configuration after all parameters have been added. |
void |
initializeCms(CmsObject cms)
Initializes this repository with an admin CMS object. |
void |
moveObject(CmsCmisCallContext context,
org.apache.chemistry.opencmis.commons.spi.Holder<java.lang.String> objectId,
java.lang.String targetFolderId,
java.lang.String sourceFolderId)
Moves an object. |
org.apache.chemistry.opencmis.commons.data.ObjectList |
query(CmsCmisCallContext context,
java.lang.String statement,
boolean searchAllVersions,
boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
java.lang.String renditionFilter,
java.math.BigInteger maxItems,
java.math.BigInteger skipCount)
Performs a query on the repository. |
void |
setContentStream(CmsCmisCallContext context,
org.apache.chemistry.opencmis.commons.spi.Holder<java.lang.String> objectId,
boolean overwriteFlag,
org.apache.chemistry.opencmis.commons.spi.Holder<java.lang.String> changeToken,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream)
Sets the content stream of an object. |
void |
setFilter(CmsRepositoryFilter filter)
Sets the repository filter. |
void |
setName(java.lang.String name)
Sets the name for this repository. |
void |
updateProperties(CmsCmisCallContext context,
org.apache.chemistry.opencmis.commons.spi.Holder<java.lang.String> objectId,
org.apache.chemistry.opencmis.commons.spi.Holder<java.lang.String> changeToken,
org.apache.chemistry.opencmis.commons.data.Properties properties)
Updates the properties for an object. |
| Methods inherited from class org.opencms.cmis.A_CmsCmisRepository |
|---|
addObjectToFolder, applyAcl, applyAcl, applyPolicy, cancelCheckOut, checkIn, checkOut, createPolicy, extractRange, getAcePrincipalName, getAllVersions, getAppliedPolicies, getContentChanges, getObjectOfLatestVersion, getOpenCmsProperties, getPropertiesOfLatestVersion, notSupported, removeObjectFromFolder, removePolicy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PARAM_DESCRIPTION
public static final java.lang.String PARAM_PROJECT
public static final java.lang.String PARAM_PROPERTY
public static final java.lang.String PARAM_RENDITION
protected static final org.apache.commons.logging.Log LOG
| Constructor Detail |
|---|
public CmsCmisRepository()
| Method Detail |
|---|
public void addConfigurationParameter(java.lang.String paramName,
java.lang.String paramValue)
I_CmsConfigurationParameterHandler
paramName - the name of the parameterparamValue - the value for the parameterI_CmsConfigurationParameterHandler.addConfigurationParameter(java.lang.String, java.lang.String)
public java.lang.String createDocument(CmsCmisCallContext context,
org.apache.chemistry.opencmis.commons.data.Properties propertiesObj,
java.lang.String folderId,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState,
java.util.List<java.lang.String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces)
I_CmsCmisRepository
context - the call contextpropertiesObj - the propertiesfolderId - the parent folder idcontentStream - the content streamversioningState - the versioning statepolicies - the policiesaddAces - the access control entriesremoveAces - the access control entries to remove
I_CmsCmisRepository.createDocument(org.opencms.cmis.CmsCmisCallContext, org.apache.chemistry.opencmis.commons.data.Properties, java.lang.String, org.apache.chemistry.opencmis.commons.data.ContentStream, org.apache.chemistry.opencmis.commons.enums.VersioningState, java.util.List, org.apache.chemistry.opencmis.commons.data.Acl, org.apache.chemistry.opencmis.commons.data.Acl)
public java.lang.String createDocumentFromSource(CmsCmisCallContext context,
java.lang.String sourceId,
org.apache.chemistry.opencmis.commons.data.Properties propertiesObj,
java.lang.String folderId,
org.apache.chemistry.opencmis.commons.enums.VersioningState versioningState,
java.util.List<java.lang.String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces)
I_CmsCmisRepository
context - the call contextsourceId - the source object idpropertiesObj - the propertiesfolderId - the target folder idversioningState - the versioning statepolicies - the policiesaddAces - the ACEs to addremoveAces - the ACES to remove
I_CmsCmisRepository.createDocumentFromSource(org.opencms.cmis.CmsCmisCallContext, java.lang.String, org.apache.chemistry.opencmis.commons.data.Properties, java.lang.String, org.apache.chemistry.opencmis.commons.enums.VersioningState, java.util.List, org.apache.chemistry.opencmis.commons.data.Acl, org.apache.chemistry.opencmis.commons.data.Acl)
public java.lang.String createFolder(CmsCmisCallContext context,
org.apache.chemistry.opencmis.commons.data.Properties propertiesObj,
java.lang.String folderId,
java.util.List<java.lang.String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces)
I_CmsCmisRepository
context - the call contextpropertiesObj - the propertiesfolderId - the parent folder idpolicies - the policiesaddAces - the ACEs to addremoveAces - the ACEs to remove
I_CmsCmisRepository.createFolder(org.opencms.cmis.CmsCmisCallContext, org.apache.chemistry.opencmis.commons.data.Properties, java.lang.String, java.util.List, org.apache.chemistry.opencmis.commons.data.Acl, org.apache.chemistry.opencmis.commons.data.Acl)
public java.lang.String createRelationship(CmsCmisCallContext context,
org.apache.chemistry.opencmis.commons.data.Properties properties,
java.util.List<java.lang.String> policies,
org.apache.chemistry.opencmis.commons.data.Acl addAces,
org.apache.chemistry.opencmis.commons.data.Acl removeAces)
I_CmsCmisRepository
context - the call contextproperties - the propertiespolicies - the policiesaddAces - the ACEs to addremoveAces - the ACEs to remove
I_CmsCmisRepository.createRelationship(org.opencms.cmis.CmsCmisCallContext, org.apache.chemistry.opencmis.commons.data.Properties, java.util.List, org.apache.chemistry.opencmis.commons.data.Acl, org.apache.chemistry.opencmis.commons.data.Acl)
public void deleteContentStream(CmsCmisCallContext context,
org.apache.chemistry.opencmis.commons.spi.Holder<java.lang.String> objectId,
org.apache.chemistry.opencmis.commons.spi.Holder<java.lang.String> changeToken)
I_CmsCmisRepository
context - the call contextobjectId - the object idchangeToken - the change tokenI_CmsCmisRepository.deleteContentStream(org.opencms.cmis.CmsCmisCallContext, org.apache.chemistry.opencmis.commons.spi.Holder, org.apache.chemistry.opencmis.commons.spi.Holder)
public void deleteObject(CmsCmisCallContext context,
java.lang.String objectId,
boolean allVersions)
I_CmsCmisRepository
context - the call contextobjectId - the id of the object to deleteallVersions - flag to delete all versionI_CmsCmisRepository.deleteObject(org.opencms.cmis.CmsCmisCallContext, java.lang.String, boolean)
public org.apache.chemistry.opencmis.commons.data.FailedToDeleteData deleteTree(CmsCmisCallContext context,
java.lang.String folderId,
boolean allVersions,
org.apache.chemistry.opencmis.commons.enums.UnfileObject unfileObjects,
boolean continueOnFailure)
I_CmsCmisRepository
context - the call contextfolderId - the folder idallVersions - flag to include all versionsunfileObjects - flag to unfile objectscontinueOnFailure - flag to continue on failure
I_CmsCmisRepository.deleteTree(org.opencms.cmis.CmsCmisCallContext, java.lang.String, boolean, org.apache.chemistry.opencmis.commons.enums.UnfileObject, boolean)
public org.apache.chemistry.opencmis.commons.data.Acl getAcl(CmsCmisCallContext context,
java.lang.String objectId,
boolean onlyBasicPermissions)
I_CmsCmisRepository
context - the call contextobjectId - the object idonlyBasicPermissions - flag to only get basic permissions
I_CmsCmisRepository.getAcl(org.opencms.cmis.CmsCmisCallContext, java.lang.String, boolean)
public org.apache.chemistry.opencmis.commons.data.AllowableActions getAllowableActions(CmsCmisCallContext context,
java.lang.String objectId)
I_CmsCmisRepository
context - the call contextobjectId - the object id
I_CmsCmisRepository.getAllowableActions(org.opencms.cmis.CmsCmisCallContext, java.lang.String)
public org.apache.chemistry.opencmis.commons.data.ObjectList getCheckedOutDocs(CmsCmisCallContext context,
java.lang.String folderId,
java.lang.String filter,
java.lang.String orderBy,
boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
java.lang.String renditionFilter,
java.math.BigInteger maxItems,
java.math.BigInteger skipCount)
I_CmsCmisRepository
I_CmsCmisRepository.getCheckedOutDocs(org.opencms.cmis.CmsCmisCallContext, java.lang.String, java.lang.String, java.lang.String, boolean, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships, java.lang.String, java.math.BigInteger, java.math.BigInteger)
public org.apache.chemistry.opencmis.commons.data.ObjectInFolderList getChildren(CmsCmisCallContext context,
java.lang.String folderId,
java.lang.String filter,
java.lang.String orderBy,
boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
java.lang.String renditionFilter,
boolean includePathSegment,
java.math.BigInteger maxItems,
java.math.BigInteger skipCount)
I_CmsCmisRepository
context - the call contextfolderId - the parent folder idfilter - the property filterorderBy - the ordering clauseincludeAllowableActions - flag to include allowable actionsincludeRelationships - flag to include relationsrenditionFilter - the rendition filter stringincludePathSegment - flag to include the path segmentmaxItems - the maximum number of itemsskipCount - the index from which to start
I_CmsCmisRepository.getChildren(org.opencms.cmis.CmsCmisCallContext, java.lang.String, java.lang.String, java.lang.String, boolean, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships, java.lang.String, boolean, java.math.BigInteger, java.math.BigInteger)public CmsParameterConfiguration getConfiguration()
I_CmsConfigurationParameterHandlernull if the class does not need any parameters.
null if the class does not need any parametersI_CmsCmisRepository.getConfiguration()
public org.apache.chemistry.opencmis.commons.data.ContentStream getContentStream(CmsCmisCallContext context,
java.lang.String objectId,
java.lang.String streamId,
java.math.BigInteger offset,
java.math.BigInteger length)
I_CmsCmisRepository
context - the call contextobjectId - the object idstreamId - the rendition stream id
I_CmsCmisRepository.getContentStream(org.opencms.cmis.CmsCmisCallContext, java.lang.String, java.lang.String, java.math.BigInteger, java.math.BigInteger)
public java.util.List<org.apache.chemistry.opencmis.commons.data.ObjectInFolderContainer> getDescendants(CmsCmisCallContext context,
java.lang.String folderId,
java.math.BigInteger depth,
java.lang.String filter,
boolean includeAllowableActions,
boolean includePathSegment,
boolean foldersOnly)
context - the call contextfolderId - the folder iddepth - the maximum depthfilter - the property filterincludeAllowableActions - flag to include allowable actionsincludePathSegment - flag to include path segmentsfoldersOnly - flag to ignore documents and only return folders
I_CmsCmisRepository.getDescendants(org.opencms.cmis.CmsCmisCallContext, java.lang.String, java.math.BigInteger, java.lang.String, boolean, boolean, boolean)public java.lang.String getDescription()
I_CmsCmisRepository
I_CmsCmisRepository.getDescription()public CmsRepositoryFilter getFilter()
I_CmsRepository
I_CmsCmisRepository.getFilter()
public org.apache.chemistry.opencmis.commons.data.ObjectData getFolderParent(CmsCmisCallContext context,
java.lang.String folderId,
java.lang.String filter)
I_CmsCmisRepository
context - the call contextfolderId - the folder idfilter - the property filter
I_CmsCmisRepository.getFolderParent(org.opencms.cmis.CmsCmisCallContext, java.lang.String, java.lang.String)public java.lang.String getId()
I_CmsCmisRepository
I_CmsCmisRepository.getId()public java.lang.String getName()
I_CmsCmisRepository
I_CmsCmisRepository.getName()
public org.apache.chemistry.opencmis.commons.data.ObjectData getObject(CmsCmisCallContext context,
java.lang.String objectId,
java.lang.String filter,
boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
java.lang.String renditionFilter,
boolean includePolicyIds,
boolean includeAcl)
I_CmsCmisRepository
context - the CMIS call contextobjectId - the id of the objectfilter - the property filterincludeAllowableActions - flag to include allowable actionsincludeRelationships - flag to include relationshipsrenditionFilter - the rendition filter stringincludePolicyIds - flag to include policy idsincludeAcl - flag to include ACLs
I_CmsCmisRepository.getObject(org.opencms.cmis.CmsCmisCallContext, java.lang.String, java.lang.String, boolean, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships, java.lang.String, boolean, boolean)
public org.apache.chemistry.opencmis.commons.data.ObjectData getObjectByPath(CmsCmisCallContext context,
java.lang.String path,
java.lang.String filter,
boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
java.lang.String renditionFilter,
boolean includePolicyIds,
boolean includeAcl)
I_CmsCmisRepository
context - the call contextpath - the repository pathfilter - the property filter stringincludeAllowableActions - flag to include allowable actionsincludeRelationships - flag to include relationshipsrenditionFilter - the rendition filter stringincludePolicyIds - flag to include policy idsincludeAcl - flag to include ACLs
I_CmsCmisRepository.getObjectByPath(org.opencms.cmis.CmsCmisCallContext, java.lang.String, java.lang.String, boolean, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships, java.lang.String, boolean, boolean)
public java.util.List<org.apache.chemistry.opencmis.commons.data.ObjectParentData> getObjectParents(CmsCmisCallContext context,
java.lang.String objectId,
java.lang.String filter,
boolean includeAllowableActions,
boolean includeRelativePathSegment)
I_CmsCmisRepository
context - the call contextobjectId - the object id
I_CmsCmisRepository.getObjectParents(org.opencms.cmis.CmsCmisCallContext, java.lang.String, java.lang.String, boolean, boolean)
public org.apache.chemistry.opencmis.commons.data.ObjectList getObjectRelationships(CmsCmisCallContext context,
java.lang.String objectId,
boolean includeSubRelationshipTypes,
org.apache.chemistry.opencmis.commons.enums.RelationshipDirection relationshipDirection,
java.lang.String typeId,
java.lang.String filter,
boolean includeAllowableActions,
java.math.BigInteger maxItems,
java.math.BigInteger skipCount)
I_CmsCmisRepository
context - the call contextobjectId - the object idincludeSubRelationshipTypes - flag to include relationship subtypesrelationshipDirection - the direction for the relationstypeId - the relation type idfilter - the property filterincludeAllowableActions - flag to include allowable actionsmaxItems - the maximum number of items to returnskipCount - the number of items to skip
I_CmsCmisRepository.getObjectRelationships(org.opencms.cmis.CmsCmisCallContext, java.lang.String, boolean, org.apache.chemistry.opencmis.commons.enums.RelationshipDirection, java.lang.String, java.lang.String, boolean, java.math.BigInteger, java.math.BigInteger)
public org.apache.chemistry.opencmis.commons.data.Properties getProperties(CmsCmisCallContext context,
java.lang.String objectId,
java.lang.String filter)
I_CmsCmisRepository
context - the call contextobjectId - the CMIS object idfilter - the property filter string
I_CmsCmisRepository.getProperties(org.opencms.cmis.CmsCmisCallContext, java.lang.String, java.lang.String)
public java.util.List<org.apache.chemistry.opencmis.commons.data.RenditionData> getRenditions(CmsCmisCallContext context,
java.lang.String objectId,
java.lang.String renditionFilter,
java.math.BigInteger maxItems,
java.math.BigInteger skipCount)
I_CmsCmisRepository
context - the call contextobjectId - the object idrenditionFilter - the rendition filtermaxItems - the maximum number of renditionsskipCount - the number of renditions to skip
I_CmsCmisRepository.getRenditions(org.opencms.cmis.CmsCmisCallContext, java.lang.String, java.lang.String, java.math.BigInteger, java.math.BigInteger)public org.apache.chemistry.opencmis.commons.data.RepositoryInfo getRepositoryInfo()
I_CmsCmisRepository
I_CmsCmisRepository.getRepositoryInfo()
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList getTypeChildren(CmsCmisCallContext context,
java.lang.String typeId,
boolean includePropertyDefinitions,
java.math.BigInteger maxItems,
java.math.BigInteger skipCount)
I_CmsCmisRepository
context - the call contexttypeId - the parent type idincludePropertyDefinitions - flag to include property definitionsmaxItems - the maximum number of items to returnskipCount - the number of items to skip
I_CmsCmisRepository.getTypeChildren(org.opencms.cmis.CmsCmisCallContext, java.lang.String, boolean, java.math.BigInteger, java.math.BigInteger)
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getTypeDefinition(CmsCmisCallContext context,
java.lang.String typeId)
I_CmsCmisRepository
context - the call contexttypeId - the type id
I_CmsCmisRepository.getTypeDefinition(org.opencms.cmis.CmsCmisCallContext, java.lang.String)
public java.util.List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getTypeDescendants(CmsCmisCallContext context,
java.lang.String typeId,
java.math.BigInteger depth,
boolean includePropertyDefinitions)
I_CmsCmisRepository
context - the call contexttypeId - the parent type iddepth - the maximum type depthincludePropertyDefinitions - flag to include the property definitions for types
I_CmsCmisRepository.getTypeDescendants(org.opencms.cmis.CmsCmisCallContext, java.lang.String, java.math.BigInteger, boolean)
public void initConfiguration()
throws CmsConfigurationException
I_CmsConfigurationParameterHandler
CmsConfigurationException - if something goes wrongI_CmsConfigurationParameterHandler.initConfiguration()
public void initializeCms(CmsObject cms)
throws CmsException
I_CmsRepository
cms - an admin CMS object
CmsException - if something goes wrongI_CmsRepository.initializeCms(org.opencms.file.CmsObject)
public void moveObject(CmsCmisCallContext context,
org.apache.chemistry.opencmis.commons.spi.Holder<java.lang.String> objectId,
java.lang.String targetFolderId,
java.lang.String sourceFolderId)
I_CmsCmisRepository
context - the call contextobjectId - the object idtargetFolderId - source source folder idsourceFolderId - the target folder idI_CmsCmisRepository.moveObject(org.opencms.cmis.CmsCmisCallContext, org.apache.chemistry.opencmis.commons.spi.Holder, java.lang.String, java.lang.String)
public org.apache.chemistry.opencmis.commons.data.ObjectList query(CmsCmisCallContext context,
java.lang.String statement,
boolean searchAllVersions,
boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
java.lang.String renditionFilter,
java.math.BigInteger maxItems,
java.math.BigInteger skipCount)
I_CmsCmisRepository
query in interface I_CmsCmisRepositoryquery in class A_CmsCmisRepositorycontext - the call contextstatement - the querysearchAllVersions - flag to search all versionsincludeAllowableActions - flag to include allowable actionsincludeRelationships - flag to include relationshipsrenditionFilter - the filter string for renditionsmaxItems - the maximum number of items to returnskipCount - the number of items to skip
I_CmsCmisRepository.query(org.opencms.cmis.CmsCmisCallContext, java.lang.String, boolean, boolean, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships, java.lang.String, java.math.BigInteger, java.math.BigInteger)
public void setContentStream(CmsCmisCallContext context,
org.apache.chemistry.opencmis.commons.spi.Holder<java.lang.String> objectId,
boolean overwriteFlag,
org.apache.chemistry.opencmis.commons.spi.Holder<java.lang.String> changeToken,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream)
I_CmsCmisRepository
context - the call contextobjectId - the id of the objectoverwriteFlag - flag to overwrite the content streamchangeToken - the change tokencontentStream - the new content streamI_CmsCmisRepository.setContentStream(org.opencms.cmis.CmsCmisCallContext, org.apache.chemistry.opencmis.commons.spi.Holder, boolean, org.apache.chemistry.opencmis.commons.spi.Holder, org.apache.chemistry.opencmis.commons.data.ContentStream)public void setFilter(CmsRepositoryFilter filter)
I_CmsRepository
filter - the repository filterI_CmsRepository.setFilter(org.opencms.repository.CmsRepositoryFilter)public void setName(java.lang.String name)
I_CmsRepository
name - the name to use for the repositoryI_CmsRepository.setName(java.lang.String)
public void updateProperties(CmsCmisCallContext context,
org.apache.chemistry.opencmis.commons.spi.Holder<java.lang.String> objectId,
org.apache.chemistry.opencmis.commons.spi.Holder<java.lang.String> changeToken,
org.apache.chemistry.opencmis.commons.data.Properties properties)
I_CmsCmisRepository
context - the call contextobjectId - the object idchangeToken - the change tokenproperties - the propertiesI_CmsCmisRepository.updateProperties(org.opencms.cmis.CmsCmisCallContext, org.apache.chemistry.opencmis.commons.spi.Holder, org.apache.chemistry.opencmis.commons.spi.Holder, org.apache.chemistry.opencmis.commons.data.Properties)protected void checkWriteAccess()
protected CmsObject getCmsObject(CmsCmisCallContext context)
context - the call context
protected java.util.List<org.apache.chemistry.opencmis.commons.data.ObjectData> getRelationshipObjectData(CmsCmisCallContext context,
CmsObject cms,
CmsResource resource,
org.apache.chemistry.opencmis.commons.enums.RelationshipDirection relationshipDirection,
java.util.Set<java.lang.String> filterSet,
boolean includeAllowableActions)
throws CmsException
context - the call contextcms - the CMS contextresource - the resourcerelationshipDirection - the relationship directionfilterSet - the property filterincludeAllowableActions - true if allowable actions should be included
CmsException - if something goes wrongprotected java.util.List<I_CmsCmisRenditionProvider> getRenditionProviders(CmsCmisRenditionFilter filter)
filter - the rendition filter
protected java.lang.String getResourceTypeFromProperties(java.util.Map<java.lang.String,org.apache.chemistry.opencmis.commons.data.PropertyData<?>> properties,
java.lang.String defaultValue)
properties - the CMIS propertiesdefaultValue - the default value
protected CmsCmisTypeManager getTypeManager()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||