Uses of Class
org.silverpeas.core.cmis.model.CmisObject
-
Packages that use CmisObject Package Description org.silverpeas.cmis Provides an implementation of the CMIS v1.1 specification for Silverpeas.org.silverpeas.cmis.walkers Provides an hierarchy of walkers of the CMIS objects tree backed by the CMIS repository.org.silverpeas.core.cmis.model The custom CMIS model for Silverpeas. -
-
Uses of CmisObject in org.silverpeas.cmis
Methods in org.silverpeas.cmis that return CmisObject Modifier and Type Method Description CmisObject
SilverpeasCmisObjectManager. createDocument(String folderId, org.apache.chemistry.opencmis.commons.data.Properties properties, org.apache.chemistry.opencmis.commons.data.ContentStream content, String language)
Creates into the specified parent folder aDocumentFile
object from its specified CMIS properties and from the specified content both expressed in the given language.CmisObject
SilverpeasCmisObjectManager. createFolder(String folderId, org.apache.chemistry.opencmis.commons.data.Properties properties, String language)
Creates into the specified parent folder aCmisObject
object from its specified CMIS properties expressed in the given language.CmisObject
SilverpeasCmisObjectManager. getObject(String objectId, Filtering filtering)
Gets the specified object in Silverpeas.CmisObject
SilverpeasCmisRepository. getObject(String objectId, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, Boolean includeAcl)
Gets the specified information for the object specified by its unique identifier. -
Uses of CmisObject in org.silverpeas.cmis.walkers
Methods in org.silverpeas.cmis.walkers with type parameters of type CmisObject Modifier and Type Method Description protected abstract <T extends CmisObject>
TAbstractCmisObjectsTreeWalker. encodeToCmisObject(LocalizedResource resource, String language)
Encodes the specified Silverpeas object into its CMIS counterpart.protected <T extends CmisObject>
TAbstractCmisObjectsTreeWalker. getCmisObject(LocalizedResource resource, String language)
Gets the CMIS representation of the specified localized resource in Silverpeas.Methods in org.silverpeas.cmis.walkers that return CmisObject 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)
CmisObject
AbstractCmisObjectsTreeWalker. getObjectData(String objectId, Filtering filtering)
CmisObject
CmisObjectsTreeWalker. getObjectData(String objectId, Filtering filtering)
Gets the CMIS data of the Silverpeas object uniquely identified by the specified identifier.CmisObject
CmisObjectsTreeWalkerDelegator. getObjectData(String objectId, Filtering filtering)
CmisObject
TreeWalkerForSpaceInst. getObjectData(String objectId, Filtering filtering)
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)
Methods in org.silverpeas.cmis.walkers with parameters of type CmisObject Modifier and Type Method Description protected org.apache.chemistry.opencmis.commons.data.ObjectParentData
AbstractCmisObjectsTreeWalker. buildObjectParentData(CmisFolder parent, CmisObject folder, Filtering filtering)
Builds the CMIS data corresponding to the given parent of the specified folder and by taking into account the filtering that indicates the properties to return.protected void
AbstractCmisObjectsTreeWalker. setObjectDataFields(CmisObject object, Filtering filtering)
The specified CMIS objects in Silverpeas implement theObjectData
interface that defines the specific CMIS attributes and properties a CMIS object should have. -
Uses of CmisObject in org.silverpeas.core.cmis.model
Subclasses of CmisObject in org.silverpeas.core.cmis.model Modifier and Type Class Description class
Application
An application in Silverpeas.class
CmisFile
A CMIS File is a CMIS object that is file-able in the CMIS objects tree.class
CmisFolder
The abstract representation of a Silverpeas resource as a CMIS folder.class
ContributionFolder
A folder of user contributions managed within an application in Silverpeas.class
DocumentFile
A document in Silverpeas.class
Publication
A publication in Silverpeas.class
Space
A collaborative space in Silverpeas.Methods in org.silverpeas.core.cmis.model with type parameters of type CmisObject Modifier and Type Method Description <T extends CmisObject>
TCmisObject. addACEs(User user)
Adds the ACEs relative to the specified user and regarding to this CMIS object in the ACL of the objet.<T extends CmisObject>
TCmisObject. setAcesSupplier(Function<User,List<org.apache.chemistry.opencmis.commons.data.Ace>> supplier)
Sets a supplier of an ACL to apply on this CMIS object.<T extends CmisObject>
TCmisObject. setAllowableActions()
Sets all the actions allowable on this CMIS object, whatever the permissions a user in Silverpeas can have in performing those actions, by using the supplier of the actions predefined for this object.<T extends CmisObject>
TCmisObject. setCreationDate(long creationDate)
Sets the date at which this CMIS object was created.<T extends CmisObject>
TCmisObject. setCreator(String creator)
Sets the full name of the user that has created this CMIS object.<T extends CmisObject>
TCmisObject. setDescription(String description)
Sets a description about this CMIS object.<T extends CmisObject>
TCmisObject. setLastModificationDate(long lastModificationDate)
<T extends CmisObject>
TCmisObject. setLastModifier(String lastModifier)
Sets the full name of the user that has modified this CMIS object.
-