|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.cmis.CmsCmisRelationHelper.RelationKey
public static class CmsCmisRelationHelper.RelationKey
A class which contains the necessary information to identify a relation object.
| Constructor Summary | |
|---|---|
CmsCmisRelationHelper.RelationKey(CmsUUID sourceId,
CmsUUID targetId,
java.lang.String relType)
Creates a new relation key. |
|
| Method Summary | |
|---|---|
void |
fillRelation(CmsObject cms)
Reads the actual resource and relation data from the OpenCms VFS. |
CmsRelation |
getRelation()
Gets the relation object. |
java.lang.String |
getRelType()
Gets the relation type. |
CmsResource |
getSource()
Gets the source resource of the relation. |
CmsUUID |
getSourceId()
Gets the source id. |
CmsUUID |
getTargetId()
Gets the target id of the relation. |
void |
setRelType(java.lang.String relType)
Sets the relation type. |
void |
setSourceId(CmsUUID sourceId)
Sets the source id. |
void |
setTargetId(CmsUUID targetId)
Sets the target id. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CmsCmisRelationHelper.RelationKey(CmsUUID sourceId,
CmsUUID targetId,
java.lang.String relType)
sourceId - the source idtargetId - the target idrelType - the relation type| Method Detail |
|---|
public void fillRelation(CmsObject cms)
cms - the CMS context to use for reading the datapublic CmsRelation getRelation()
public java.lang.String getRelType()
public CmsResource getSource()
public CmsUUID getSourceId()
public CmsUUID getTargetId()
public void setRelType(java.lang.String relType)
relType - the relation typepublic void setSourceId(CmsUUID sourceId)
sourceId - the source idpublic void setTargetId(CmsUUID targetId)
targetId - the target idpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||