@Deprecated public abstract class AbstractTransientCmisObject extends Object implements TransientCmisObject
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractTransientCmisObject.AceChangeHolder
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected Acl |
acl
Deprecated.
|
protected Map<AclPropagation,List<AbstractTransientCmisObject.AceChangeHolder>> |
addAces
Deprecated.
|
protected Set<String> |
addPolicies
Deprecated.
|
protected AllowableActions |
allowableActions
Deprecated.
|
protected boolean |
deleteAllVersions
Deprecated.
|
protected Map<ExtensionLevel,List<CmisExtensionElement>> |
inputExtensions
Deprecated.
|
protected boolean |
isMarkedForDelete
Deprecated.
|
protected boolean |
isModified
Deprecated.
|
protected boolean |
isPropertyUpdateRequired
Deprecated.
|
protected CmisObject |
object
Deprecated.
|
protected Map<ExtensionLevel,List<CmisExtensionElement>> |
ouputExtensions
Deprecated.
|
protected List<Policy> |
policies
Deprecated.
|
protected Map<String,Property<?>> |
properties
Deprecated.
|
protected List<Relationship> |
relationships
Deprecated.
|
protected Map<AclPropagation,List<AbstractTransientCmisObject.AceChangeHolder>> |
removeAces
Deprecated.
|
protected Set<String> |
removePolicies
Deprecated.
|
protected List<Rendition> |
renditions
Deprecated.
|
protected Session |
session
Deprecated.
|
| Constructor and Description |
|---|
AbstractTransientCmisObject()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAce(String principalId,
List<String> permissions,
AclPropagation aclPropagation)
Deprecated.
|
void |
applyPolicy(Policy... policyIds)
Deprecated.
|
void |
delete(boolean allVersions)
Deprecated.
|
List<ObjectType> |
findObjectType(String id)
Deprecated.
Returns a list of primary and secondary object types that define the
given property.
|
AllowableActions |
getAllowableActions()
Deprecated.
|
ObjectType |
getBaseType()
Deprecated.
Returns the base type of this CMIS object (object type identified by
cmis:baseTypeId). |
BaseTypeId |
getBaseTypeId()
Deprecated.
Returns the id of the base type of this CMIS object (CMIS property
cmis:baseTypeId). |
protected CmisBinding |
getBinding()
Deprecated.
Returns the binding object.
|
String |
getChangeToken()
Deprecated.
Returns the change token (CMIS property
cmis:changeToken). |
CmisObject |
getCmisObject()
Deprecated.
|
String |
getCreatedBy()
Deprecated.
Returns the user who created this CMIS object (CMIS property
cmis:createdBy). |
GregorianCalendar |
getCreationDate()
Deprecated.
Returns the timestamp when this CMIS object has been created (CMIS
property
cmis:creationDate). |
String |
getDescription()
Deprecated.
Returns the description of this CMIS object (CMIS property
cmis:description). |
String |
getId()
Deprecated.
Returns the object id.
|
List<CmisExtensionElement> |
getInputExtensions(ExtensionLevel level)
Deprecated.
|
GregorianCalendar |
getLastModificationDate()
Deprecated.
Returns the timestamp when this CMIS object has been modified (CMIS
property
cmis:lastModificationDate). |
String |
getLastModifiedBy()
Deprecated.
Returns the user who modified this CMIS object (CMIS property
cmis:lastModifiedBy). |
protected String |
getLatestChangeToken(String objectId)
Deprecated.
Fetches the latest change token of this object from the repository.
|
String |
getName()
Deprecated.
Returns the name of this CMIS object (CMIS property
cmis:name). |
protected ObjectFactory |
getObjectFactory()
Deprecated.
Returns the object factory.
|
protected ObjectId |
getObjectId()
Deprecated.
|
Acl |
getOriginalAcl()
Deprecated.
|
List<CmisExtensionElement> |
getOutputExtensions(ExtensionLevel level)
Deprecated.
|
List<Policy> |
getPolicies()
Deprecated.
|
List<Property<?>> |
getProperties()
Deprecated.
Returns a list of all available CMIS properties.
|
<T> Property<T> |
getProperty(String id)
Deprecated.
Returns the requested property.
|
<T> T |
getPropertyValue(String id)
Deprecated.
Returns the value of the requested property.
|
List<Relationship> |
getRelationships()
Deprecated.
|
List<Rendition> |
getRenditions()
Deprecated.
|
protected String |
getRepositoryId()
Deprecated.
Returns the repository id.
|
List<SecondaryType> |
getSecondaryTypes()
Deprecated.
Returns the secondary types of this CMIS object (object types identified
by
cmis:secondaryObjectTypeIds). |
protected Session |
getSession()
Deprecated.
Returns the session object.
|
ObjectType |
getType()
Deprecated.
Returns the type of this CMIS object (object type identified by
cmis:objectTypeId). |
protected void |
initialize(Session session,
CmisObject object)
Deprecated.
|
boolean |
isMarkedForDelete()
Deprecated.
|
boolean |
isModified()
Deprecated.
|
protected Acl |
prepareAcl(List<AbstractTransientCmisObject.AceChangeHolder> achList)
Deprecated.
|
protected Properties |
prepareProperties()
Deprecated.
|
void |
refreshAndReset()
Deprecated.
|
void |
removeAce(String principalId,
List<String> permissions,
AclPropagation aclPropagation)
Deprecated.
|
void |
removePolicy(Policy... policyIds)
Deprecated.
|
void |
reset()
Deprecated.
|
ObjectId |
save()
Deprecated.
|
protected void |
saveACL(String objectId)
Deprecated.
|
protected boolean |
saveDelete(String objectId)
Deprecated.
|
protected void |
savePolicies(String objectId)
Deprecated.
|
protected String |
saveProperties(String objectId,
String changeToken)
Deprecated.
|
void |
setDescription(String description)
Deprecated.
|
void |
setName(String name)
Deprecated.
|
void |
setOutputExtensions(ExtensionLevel level,
List<CmisExtensionElement> extensions)
Deprecated.
|
<T> void |
setPropertyValue(String id,
Object value)
Deprecated.
|
protected Session session
protected CmisObject object
protected AllowableActions allowableActions
protected Acl acl
protected Map<AclPropagation,List<AbstractTransientCmisObject.AceChangeHolder>> addAces
protected Map<AclPropagation,List<AbstractTransientCmisObject.AceChangeHolder>> removeAces
protected List<Relationship> relationships
protected Map<ExtensionLevel,List<CmisExtensionElement>> inputExtensions
protected Map<ExtensionLevel,List<CmisExtensionElement>> ouputExtensions
protected boolean isModified
protected boolean isPropertyUpdateRequired
protected boolean isMarkedForDelete
protected boolean deleteAllVersions
protected void initialize(Session session, CmisObject object)
public CmisObject getCmisObject()
getCmisObject in interface TransientCmisObjectprotected Session getSession()
protected String getRepositoryId()
protected CmisBinding getBinding()
protected ObjectFactory getObjectFactory()
protected ObjectId getObjectId()
public ObjectType getBaseType()
CmisObjectPropertiescmis:baseTypeId).getBaseType in interface CmisObjectPropertiespublic BaseTypeId getBaseTypeId()
CmisObjectPropertiescmis:baseTypeId).getBaseTypeId in interface CmisObjectPropertiespublic ObjectType getType()
CmisObjectPropertiescmis:objectTypeId).getType in interface CmisObjectPropertiespublic List<SecondaryType> getSecondaryTypes()
CmisObjectPropertiescmis:secondaryObjectTypeIds).getSecondaryTypes in interface CmisObjectPropertiespublic List<ObjectType> findObjectType(String id)
CmisObjectPropertiesnull is returned.findObjectType in interface CmisObjectPropertiespublic String getChangeToken()
CmisObjectPropertiescmis:changeToken).getChangeToken in interface CmisObjectPropertiespublic String getCreatedBy()
CmisObjectPropertiescmis:createdBy).getCreatedBy in interface CmisObjectPropertiespublic GregorianCalendar getCreationDate()
CmisObjectPropertiescmis:creationDate).getCreationDate in interface CmisObjectPropertiespublic String getId()
ObjectIdpublic GregorianCalendar getLastModificationDate()
CmisObjectPropertiescmis:lastModificationDate).getLastModificationDate in interface CmisObjectPropertiespublic String getLastModifiedBy()
CmisObjectPropertiescmis:lastModifiedBy).getLastModifiedBy in interface CmisObjectPropertiespublic String getName()
CmisObjectPropertiescmis:name).getName in interface CmisObjectPropertiespublic void setName(String name)
setName in interface TransientCmisObjectpublic String getDescription()
CmisObjectPropertiescmis:description).getDescription in interface CmisObjectPropertiespublic void setDescription(String description)
setDescription in interface TransientCmisObjectpublic List<Property<?>> getProperties()
CmisObjectPropertiesgetProperties in interface CmisObjectPropertiespublic <T> Property<T> getProperty(String id)
CmisObjectPropertiesnull is returned.getProperty in interface CmisObjectPropertiespublic <T> T getPropertyValue(String id)
CmisObjectPropertiesnull is returned.getPropertyValue in interface CmisObjectPropertiespublic <T> void setPropertyValue(String id, Object value)
setPropertyValue in interface TransientCmisObjectpublic AllowableActions getAllowableActions()
getAllowableActions in interface TransientCmisObjectpublic List<Relationship> getRelationships()
getRelationships in interface TransientCmisObjectpublic List<Rendition> getRenditions()
getRenditions in interface TransientCmisObjectpublic void delete(boolean allVersions)
delete in interface TransientCmisObjectpublic void applyPolicy(Policy... policyIds)
applyPolicy in interface TransientCmisObjectpublic void removePolicy(Policy... policyIds)
removePolicy in interface TransientCmisObjectpublic List<Policy> getPolicies()
getPolicies in interface TransientCmisObjectpublic Acl getOriginalAcl()
getOriginalAcl in interface TransientCmisObjectpublic void addAce(String principalId, List<String> permissions, AclPropagation aclPropagation)
addAce in interface TransientCmisObjectpublic void removeAce(String principalId, List<String> permissions, AclPropagation aclPropagation)
removeAce in interface TransientCmisObjectpublic List<CmisExtensionElement> getInputExtensions(ExtensionLevel level)
getInputExtensions in interface TransientCmisObjectpublic List<CmisExtensionElement> getOutputExtensions(ExtensionLevel level)
getOutputExtensions in interface TransientCmisObjectpublic void setOutputExtensions(ExtensionLevel level, List<CmisExtensionElement> extensions)
setOutputExtensions in interface TransientCmisObjectpublic boolean isMarkedForDelete()
isMarkedForDelete in interface TransientCmisObjectpublic boolean isModified()
isModified in interface TransientCmisObjectpublic void reset()
reset in interface TransientCmisObjectpublic void refreshAndReset()
refreshAndReset in interface TransientCmisObjectpublic ObjectId save()
save in interface TransientCmisObjectprotected String getLatestChangeToken(String objectId)
protected boolean saveDelete(String objectId)
protected Properties prepareProperties()
protected void savePolicies(String objectId)
protected Acl prepareAcl(List<AbstractTransientCmisObject.AceChangeHolder> achList)
protected void saveACL(String objectId)
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.