Uses of Class
org.silverpeas.cmis.util.CmisProperties
-
Packages that use CmisProperties Package Description org.silverpeas.cmis.util org.silverpeas.cmis.walkers Provides an hierarchy of walkers of the CMIS objects tree backed by the CMIS repository. -
-
Uses of CmisProperties in org.silverpeas.cmis.util
Methods in org.silverpeas.cmis.util that return CmisProperties Modifier and Type Method Description CmisProperties
CmisProperties. setAllowedChildObjectTypeIds(List<String> objectTypeIds)
Sets the type of all of the children allowed for the CMIS object represented by the underlying properties.CmisProperties
CmisProperties. setContent(String id, String mimeType, long length, String fileName)
Sets the content to the CMIS document.CmisProperties
CmisProperties. setContentPath(String contentFilePath)
Sets the path at which is located the file into which the content stream has been uploaded.CmisProperties
CmisProperties. setCreationData(String userName, long dateTime)
Sets the creator display name and the creation date at which the CMIS object was created.CmisProperties
CmisProperties. setDefaultProperties()
Sets the default common CMIS object properties as defined in Silverpeas.CmisProperties
CmisProperties. setDescription(String description)
Sets the short description of the CMIS object.CmisProperties
CmisProperties. setImmutability(boolean immutability)
CmisProperties
CmisProperties. setIndexed(boolean indexed)
Sets the indexation property of this object.CmisProperties
CmisProperties. setLastModificationData(String userName, long dateTime)
Sets the update display name and the date at which the CMIS object was lastly updated.CmisProperties
CmisProperties. setName(String name)
Sets the name or the title of the CMIS object.CmisProperties
CmisProperties. setObjectId(String id)
Sets the unique identifier of the CMIS object in the CMIS tree.CmisProperties
CmisProperties. setObjectTypeId(TypeId typeId)
Sets the type and the base type of the CMIS object.CmisProperties
CmisProperties. setParentObjectId(String parentId)
Sets the unique identifier of the object that is parent of the CMIS object represented by the underlying properties.CmisProperties
CmisProperties. setPath(String path)
Sets the path in the CMIS tree of the object represented by the underlying properties.CmisProperties
CmisProperties. setPWCData(boolean isThereAPwc, boolean isPwc, String pwcId, String userId)
Sets the Private Working Copy data if any for the CMIS document.CmisProperties
CmisProperties. setVersioningData(String seriesId, String label, String comment, boolean isLatestVersion, boolean isMajorVersion, boolean isLatestMajorVersion)
Sets the versioning data of the document object exposed in the CMIS tree. -
Uses of CmisProperties in org.silverpeas.cmis.walkers
Methods in org.silverpeas.cmis.walkers that return CmisProperties Modifier and Type Method Description CmisProperties
ContentStreamLoader. getProperties()
Gets the CMIS properties of the object for which this loaded has been created.Methods in org.silverpeas.cmis.walkers with parameters of type CmisProperties Modifier and Type Method Description CmisObject
AbstractCmisObjectsTreeWalker. createChildData(String folderId, CmisProperties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String language)
CmisObject
CmisObjectsTreeWalker. createChildData(String folderId, CmisProperties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String language)
Creates into the specified CMIS folder a newCmisObject
child from the specified CMIS data properties and in the given language.CmisObject
CmisObjectsTreeWalkerDelegator. createChildData(String folderId, CmisProperties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String language)
protected CmisObject
AbstractCmisObjectsTreeWalker. createObjectData(CmisProperties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String language)
Creates a newCmisObject
instance from the specified CMIS data properties and in the given language.protected CmisObject
TreeWalkerForPublicationDetail. createObjectData(CmisProperties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String language)
protected CmisObject
TreeWalkerForSimpleDocument. createObjectData(CmisProperties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String language)
protected PublicationDetail
TreeWalkerForPublicationDetail. createPublicationDetailFrom(CmisProperties properties, String language)
Creates a newPublicationDetail
instance from the specified CMIS properties and in the given language.protected void
AbstractCmisObjectsTreeWalker. prepareChildDataCreation(LocalizedResource parent, CmisProperties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String language)
Prepares the creation of the object in Silverpeas from the specified CMIS properties and content stream, and in the given language.protected void
TreeWalkerForComponentInst. prepareChildDataCreation(LocalizedResource app, CmisProperties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String language)
void
TreeWalkerForNodeDetail. prepareChildDataCreation(LocalizedResource folder, CmisProperties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String language)
protected void
TreeWalkerForPublicationDetail. prepareChildDataCreation(LocalizedResource publication, CmisProperties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String language)
CmisObject
AbstractCmisObjectsTreeWalker. updateObjectData(String objectId, CmisProperties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String language)
protected CmisObject
AbstractCmisObjectsTreeWalker. updateObjectData(LocalizedResource object, CmisProperties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String language)
Updates the specified Silverpeas object with the given CMIS properties and content stream, and for the given language.CmisObject
CmisObjectsTreeWalker. updateObjectData(String objectId, CmisProperties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String language)
Updates the specified CMIS object from the specified CMIS data properties and in the given language.CmisObject
CmisObjectsTreeWalkerDelegator. updateObjectData(String objectId, CmisProperties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String language)
protected CmisObject
TreeWalkerForSimpleDocument. updateObjectData(LocalizedResource object, CmisProperties properties, org.apache.chemistry.opencmis.commons.data.ContentStream contentStream, String language)
Constructors in org.silverpeas.cmis.walkers with parameters of type CmisProperties Constructor Description ContentStreamLoader(CmisProperties properties)
Constructs a new loader of a content stream for the object defined by the specified CMIS properties.
-