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()
Deprecated.
Support for transient objects will be removed in the future.
|
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()
Deprecated.
Support for transient objects will be removed in the future.
|
addAcl, applyAcl, applyPolicy, delete, delete, findObjectType, getAcl, getAcl, getAdapter, getAllowableActions, getBaseType, getBaseTypeId, getBinding, getChangeToken, getCreatedBy, getCreationContext, getCreationDate, getDescription, getExtensions, getId, getLastModificationDate, getLastModifiedBy, getName, getObjectFactory, getObjectId, getObjectType, getPolicies, getProperties, getProperty, getPropertyQueryName, getPropertyValue, getRefreshTimestamp, getRelationships, getRenditions, getRepositoryId, getSecondaryTypes, getSession, getTransientObject, getType, initialize, readLock, readUnlock, refresh, refreshIfOld, removeAcl, removePolicy, setAcl, toString, updateProperties, updateProperties, writeLock, writeUnlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAcl, applyAcl, applyPolicy, delete, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPolicies, getRefreshTimestamp, getRelationships, getRenditions, getTransientObject, refresh, refreshIfOld, removeAcl, removePolicy, setAcl, updateProperties, updatePropertiesfindObjectType, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getSecondaryTypes, getTypepublic RelationshipImpl(SessionImpl session, ObjectType objectType, ObjectData objectData, OperationContext context)
@Deprecated protected TransientCmisObject createTransientCmisObject()
createTransientCmisObject in class AbstractCmisObject@Deprecated public 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-2013 The Apache Software Foundation. All Rights Reserved.