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, writeUnlock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAcl, applyAcl, applyPolicy, delete, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPolicies, getRefreshTimestamp, getRelationships, getRenditions, getTransientObject, refresh, refreshIfOld, removeAcl, removePolicy, 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)
@Deprecated protected TransientCmisObject createTransientCmisObject()
createTransientCmisObject
in class AbstractCmisObject
@Deprecated public TransientRelationship getTransientRelationship()
getTransientRelationship
in interface Relationship
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
public 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
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.