|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.client.runtime.AbstractCmisObject
org.apache.chemistry.opencmis.client.runtime.RelationshipImpl
public class RelationshipImpl
Constructor Summary | |
---|---|
RelationshipImpl(SessionImpl session,
ObjectType objectType,
ObjectData objectData,
OperationContext context)
Constructor. |
Method Summary | |
---|---|
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()
|
Methods inherited from class org.apache.chemistry.opencmis.client.runtime.AbstractCmisObject |
---|
addAcl, applyAcl, applyPolicy, 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, updateProperties, updateProperties, writeLock, writeUnlock |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.chemistry.opencmis.client.api.CmisObject |
---|
addAcl, applyAcl, applyPolicy, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPolicies, getRefreshTimestamp, getRelationships, getRenditions, getTransientObject, refresh, refreshIfOld, removeAcl, removePolicy, updateProperties, updateProperties |
Methods inherited from interface org.apache.chemistry.opencmis.client.api.ObjectId |
---|
getId |
Methods inherited from interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties |
---|
getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getType |
Constructor Detail |
---|
public RelationshipImpl(SessionImpl session, ObjectType objectType, ObjectData objectData, OperationContext context)
Method Detail |
---|
protected TransientCmisObject createTransientCmisObject()
createTransientCmisObject
in class AbstractCmisObject
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).
- Specified by:
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).
- Specified by:
getTargetId
in interface RelationshipProperties
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |