|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CmisObject
Base CMIS object.
See CMIS Domain Model - section 2.1.2.
Method Summary | ||
---|---|---|
Acl |
addAcl(List<Ace> addAces,
AclPropagation aclPropagation)
Adds ACEs to the object. |
|
Acl |
applyAcl(List<Ace> addAces,
List<Ace> removeAces,
AclPropagation aclPropagation)
Adds and removes ACEs to the object. |
|
void |
applyPolicy(ObjectId... policyIds)
Applies policies to this object. |
|
void |
delete(boolean allVersions)
Deletes this object. |
|
Acl |
getAcl()
Returns the ACL if it has been fetched for this object. |
|
|
getAdapter(Class<T> adapterInterface)
Returns an adapter based on the given interface. |
|
AllowableActions |
getAllowableActions()
Returns the allowable actions if they have been fetched for this object. |
|
List<CmisExtensionElement> |
getExtensions(ExtensionLevel level)
Returns the extensions for the given level. |
|
List<Policy> |
getPolicies()
Returns the applied policies if they have been fetched for this object. |
|
long |
getRefreshTimestamp()
Returns the timestamp (in milliseconds) of the last refresh. |
|
List<Relationship> |
getRelationships()
Returns the relationships if they have been fetched for this object. |
|
List<Rendition> |
getRenditions()
Returns the renditions if they have been fetched for this object. |
|
TransientCmisObject |
getTransientObject()
Returns a transient object adapter. |
|
void |
refresh()
Reloads the data from the repository. |
|
void |
refreshIfOld(long durationInMillis)
Reloads the data from the repository if the last refresh did not occur within durationInMillis . |
|
Acl |
removeAcl(List<Ace> removeAces,
AclPropagation aclPropagation)
Removes ACEs to the object. |
|
void |
removePolicy(ObjectId... policyIds)
Remove policies from this object. |
|
CmisObject |
updateProperties(Map<String,?> properties)
Updates the properties that are provided. |
|
ObjectId |
updateProperties(Map<String,?> properties,
boolean refresh)
Updates the properties that are provided. |
Methods inherited from interface org.apache.chemistry.opencmis.client.api.ObjectId |
---|
getId |
Methods inherited from interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties |
---|
getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getType |
Method Detail |
---|
AllowableActions getAllowableActions()
List<Relationship> getRelationships()
Acl getAcl()
void delete(boolean allVersions)
allVersions
- if this object is a document this parameter defines if just
this version or all versions should be deletedCmisObject updateProperties(Map<String,?> properties)
properties
- the properties to update
ObjectId updateProperties(Map<String,?> properties, boolean refresh)
properties
- the properties to updaterefresh
- indicates if the object should be refresh after the update
List<Rendition> getRenditions()
void applyPolicy(ObjectId... policyIds)
void removePolicy(ObjectId... policyIds)
List<Policy> getPolicies()
Acl applyAcl(List<Ace> addAces, List<Ace> removeAces, AclPropagation aclPropagation)
Acl addAcl(List<Ace> addAces, AclPropagation aclPropagation)
Acl removeAcl(List<Ace> removeAces, AclPropagation aclPropagation)
List<CmisExtensionElement> getExtensions(ExtensionLevel level)
<T> T getAdapter(Class<T> adapterInterface)
TransientCmisObject getTransientObject()
TransientCmisObject
long getRefreshTimestamp()
void refresh()
void refreshIfOld(long durationInMillis)
durationInMillis
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |