|
Oracle® Collaboration Suite Workspaces API Reference 10g (10.1.1.0.2) Part No. B16233-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.workspaces.CwUid
This class represents the unique identifier of an object. Depending upon the object it represents, the string representation of a CwUid can have one of the following forms:
Field Summary | |
static java.lang.String |
COMPONENT_SEPARATOR |
static int |
OBJECT_TYPE_ALL |
static int |
OBJECT_TYPE_RESOURCE |
static int |
OBJECT_TYPE_RESOURCE_ITEM |
static int |
OBJECT_TYPE_WORKSPACE |
Constructor Summary | |
CwUid(java.lang.String workspaceId) Constructor for creating a new UID for a workspace. |
|
CwUid(java.lang.String workspaceId, CwResourceItemType resourceItemType, java.lang.String resourceId, java.lang.String resourceItemId) Constructor for creating a new UID for a resource item. |
|
CwUid(java.lang.String workspaceId, CwResourceType resourceType, java.lang.String resourceId) Constructor for creating a new UID for a resource. |
Method Summary | |
boolean |
equals(java.lang.Object obj) Equals determines if two objects have the same UID. |
CwEntityType |
getEntityType() Get the entity type |
static java.lang.String |
getIdFromResourceTypeIdString(java.lang.String string) Get the id from resource type id |
java.lang.String |
getItemId() Returns the resource item ID. |
int |
getObjectType() Get the object type |
java.lang.String |
getResourceId() Returns the resource Id as a string |
CwUid |
getResourceUid() Returns the resource Id as a CwUid instance. |
static CwResourceType |
getTypeFromResourceTypeIdString(java.lang.String string) Get the CwResourceType instance from resource type id |
java.lang.String |
getWorkspaceId() Returns the workspace Id as a string. |
CwUid |
getWorkspaceUid() Returns the workspace Id as CwUid instance. |
int |
hashCode() Get the hash code |
static CwUid |
parseStringToUid(java.lang.String string) Converts the string representation of a UID to an actual UID. |
static java.lang.String |
toResourceTypeIdString(CwResourceType rsrcType, java.lang.String resourceId) A helper to return the string representation of the resource type - resource id pair. |
java.lang.String |
toString() Stringifies the uid. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String COMPONENT_SEPARATOR
public static final int OBJECT_TYPE_ALL
public static final int OBJECT_TYPE_RESOURCE
public static final int OBJECT_TYPE_RESOURCE_ITEM
public static final int OBJECT_TYPE_WORKSPACE
Constructor Detail |
public CwUid(java.lang.String workspaceId) throws CwException
public CwUid(java.lang.String workspaceId, CwResourceItemType resourceItemType, java.lang.String resourceId, java.lang.String resourceItemId) throws CwException
public CwUid(java.lang.String workspaceId, CwResourceType resourceType, java.lang.String resourceId) throws CwException
Method Detail |
public boolean equals(java.lang.Object obj)
obj
- the other CwUid to compare topublic CwEntityType getEntityType()
public static java.lang.String getIdFromResourceTypeIdString(java.lang.String string) throws CwException
CwException
public java.lang.String getItemId()
public int getObjectType()
public java.lang.String getResourceId()
public CwUid getResourceUid() throws CwException
CwException
public static CwResourceType getTypeFromResourceTypeIdString(java.lang.String string) throws CwException
CwException
public java.lang.String getWorkspaceId()
public CwUid getWorkspaceUid() throws CwException
CwException
public int hashCode()
public static CwUid parseStringToUid(java.lang.String string) throws CwException
CwException
public static java.lang.String toResourceTypeIdString(CwResourceType rsrcType, java.lang.String resourceId)
public java.lang.String toString()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |