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 |
---|---|
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 ). |
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, getType, initialize, readLock, readUnlock, refresh, refreshIfOld, removeAcl, removePolicy, rename, rename, setAcl, toString, updateProperties, updateProperties, writeLock, writeUnlock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAcl, applyAcl, applyPolicy, delete, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPolicies, getRefreshTimestamp, getRelationships, getRenditions, refresh, refreshIfOld, removeAcl, removePolicy, rename, rename, setAcl, updateProperties, updateProperties
findObjectType, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getSecondaryTypes, getType
public RelationshipImpl(SessionImpl session, ObjectType objectType, ObjectData objectData, OperationContext context)
public CmisObject getSource()
Relationship
null
will be returned.getSource
in interface Relationship
public CmisObject getSource(OperationContext context)
Relationship
OperationContext
. If the
source object ID is invalid, null
will be returned.getSource
in interface Relationship
public ObjectId getSourceId()
RelationshipProperties
cmis:sourceId
).getSourceId
in interface RelationshipProperties
null
if the property hasn't been
requested, hasn't been provided by the repository, or the
property value isn't setpublic CmisObject getTarget()
Relationship
null
will be returned.getTarget
in interface Relationship
public CmisObject getTarget(OperationContext context)
Relationship
OperationContext
. If the
target object ID is invalid, null
will be returned.getTarget
in interface Relationship
public ObjectId getTargetId()
RelationshipProperties
cmis:targetId
).getTargetId
in interface RelationshipProperties
null
if the property hasn't been
requested, hasn't been provided by the repository, or the
property value isn't setCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.