|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.ecmimpl.cmis.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.cmis.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. |
String |
getCMISID()
Returning the native CMIS ID of the object. |
String |
getDMSIDString()
This method concatenate the given String using semicolon ";" as separator, DMSID syntax is: |
OwCMISObject |
getObject(OwCMISNetwork network_p)
Return an OwCMISObject depending on the given DMSID information. |
String |
getResourceID()
Returning the resource (repository) ID. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, 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 OwCMISDMSIDpublic String getDMSIDString()
DMS-prefix + "," + resourceID + "," + cmisObjectID
getDMSIDString in interface OwCMISDMSID
public OwCMISObject getObject(OwCMISNetwork network_p)
throws com.wewebu.ow.server.exceptions.OwException
OwCMISDMSID
getObject in interface OwCMISDMSIDnetwork_p - OwCMISNetwork to use for retrieval
com.wewebu.ow.server.exceptions.OwException - if any problems occur during retrievalpublic String getResourceID()
OwCMISDMSID
getResourceID in interface OwCMISDMSID
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 | |||||||||