public class RelationshipImpl extends AbstractCmisObject implements Relationship
| Constructor and Description |
|---|
RelationshipImpl(SessionImpl session,
ObjectType objectType,
ObjectData objectData,
OperationContext context)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected TransientCmisObject |
createTransientCmisObject() |
CmisObject |
getSource()
Gets the source object.
|
CmisObject |
getSource(OperationContext context)
Gets the source object using the given
OperationContext. |
ObjectId |
getSourceId()
Returns the source id of this CMIS relationship (CMIS property
cmis:sourceId |
CmisObject |
getTarget()
Gets the target object.
|
CmisObject |
getTarget(OperationContext context)
Gets the target object using the given
OperationContext. |
ObjectId |
getTargetId()
Returns the target id of this CMIS relationship (CMIS property
cmis:targetId |
TransientRelationship |
getTransientRelationship() |
addAcl, applyAcl, applyPolicy, delete, delete, getAcl, getAcl, getAdapter, getAllowableActions, getBaseType, getBaseTypeId, getBinding, getChangeToken, getCreatedBy, getCreationContext, getCreationDate, getExtensions, getId, getLastModificationDate, getLastModifiedBy, getName, getObjectFactory, getObjectId, getObjectType, getPolicies, getProperties, getProperty, getPropertyQueryName, getPropertyValue, getRefreshTimestamp, getRelationships, getRenditions, getRepositoryId, getSession, getTransientObject, getType, initialize, readLock, readUnlock, refresh, refreshIfOld, removeAcl, removePolicy, setAcl, updateProperties, updateProperties, writeLock, writeUnlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAcl, applyAcl, applyPolicy, delete, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPolicies, getRefreshTimestamp, getRelationships, getRenditions, getTransientObject, refresh, refreshIfOld, removeAcl, removePolicy, setAcl, updateProperties, updatePropertiesgetBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getTypepublic RelationshipImpl(SessionImpl session, ObjectType objectType, ObjectData objectData, OperationContext context)
protected TransientCmisObject createTransientCmisObject()
createTransientCmisObject in class AbstractCmisObjectpublic TransientRelationship getTransientRelationship()
getTransientRelationship in interface Relationshippublic CmisObject getSource()
Relationshipnull will be returned.getSource in interface Relationshippublic CmisObject getSource(OperationContext context)
RelationshipOperationContext. If the
source object id is invalid, null will be returned.getSource in interface Relationshippublic ObjectId getSourceId()
RelationshipPropertiescmis:sourceId).getSourceId in interface RelationshipPropertiespublic CmisObject getTarget()
Relationshipnull will be returned.getTarget in interface Relationshippublic CmisObject getTarget(OperationContext context)
RelationshipOperationContext. If the
target object id is invalid, null will be returned.getTarget in interface Relationshippublic ObjectId getTargetId()
RelationshipPropertiescmis:targetId).getTargetId in interface RelationshipPropertiesCopyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.