|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ecmimpl.opencmis.OwCMISSimpleDMSID
public class OwCMISSimpleDMSID
OwCMISSimpleDMSID. This class simple creates from the given strings a semicolon separated DMSID representation, starting always with the DMS-prefix.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Field Summary |
---|
Fields inherited from interface com.wewebu.ow.server.ecmimpl.opencmis.OwCMISDMSID |
---|
DMSID_SEPARATOR, DMSID_SEPARATOR_CHAR |
Constructor Summary | |
---|---|
OwCMISSimpleDMSID(String dmsPrefix_p,
String resourceID_p,
String cmisID_p)
|
Method Summary | |
---|---|
static String |
createDMSID(String dmsPrefix_p,
String resourceID_p,
String cmisID_p)
Static method which is used for creation of DMSID without an instance of OwCMISSimpleDMSID. |
boolean |
equals(Object obj)
|
String |
getCMISID()
Returning the native CMIS ID of the object. |
String |
getDMSIDString()
This method concatenate the given String using comma "," as separator, DMSID syntax is: |
String |
getResourceID()
Returning the resource (repository) ID. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwCMISSimpleDMSID(String dmsPrefix_p, String resourceID_p, String cmisID_p)
Method Detail |
---|
public String getCMISID()
OwCMISDMSID
getCMISID
in interface OwCMISDMSID
public String getDMSIDString()
DMS-prefix + "," + resourceID + "," + cmisObjectID
getDMSIDString
in interface OwCMISDMSID
public String getResourceID()
OwCMISDMSID
getResourceID
in interface OwCMISDMSID
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public static String createDMSID(String dmsPrefix_p, String resourceID_p, String cmisID_p)
Create a DMSID which looks like:
DMS-prefix + "," + resourceID + "," + cmisObjectID
the cmisID_p will be escaped using the OwObjectIDCodeUtil.encode(String)
method.
dmsPrefix_p
- String prefix to be usedresourceID_p
- String resource ID (object store or repository)cmisID_p
- String object id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |