|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ecmimpl.opencmis.converter.OwCMISIDDMSIDConverter
public class OwCMISIDDMSIDConverter
OwCMISIdDMSIDConverter.
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 | |
---|---|
protected OwCMISDMSIDDecoder |
dmsidDecoder
|
protected String |
resourceID
|
Constructor Summary | |
---|---|
OwCMISIDDMSIDConverter(OwCMISDMSIDDecoder dmsidDecoder_p,
String resourceID_p)
|
Method Summary | |
---|---|
List<String> |
fromArrayValue(Object[] owdValue_p)
Converts the array back from type O to a list of type L. |
protected OwCMISDMSID |
fromID(String id_p)
(overridable) Create an OwCMISDMSID instance from provided String. |
List<String> |
fromValue(String owdValue_p)
Vice-versa conversion to OwCMISValueConverter.toValue(List) . |
Class<String> |
getOClass()
|
OwCMISValueConverter<String,String> |
newConverter(OwCMISNetwork network_p)
|
String[] |
toArrayValue(List<String> cmisValue_p)
Converts the list into an array of the resulting type. |
String[] |
toStaticArrayValue(List<String> cmisValue_p)
|
String |
toStaticValue(List<String> cmisValue_p)
|
String |
toValue(List<String> cmisValue_p)
Return a representation of the given List as type O, or simply converts the first entry of the list into the resulting type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected OwCMISDMSIDDecoder dmsidDecoder
protected String resourceID
Constructor Detail |
---|
public OwCMISIDDMSIDConverter(OwCMISDMSIDDecoder dmsidDecoder_p, String resourceID_p)
Method Detail |
---|
public List<String> fromArrayValue(Object[] owdValue_p) throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
OwCMISValueConverter
fromArrayValue
in interface OwCMISValueConverter<String,String>
owdValue_p
- array of resulting type, can be null
com.wewebu.ow.server.exceptions.OwInvalidOperationException
public List<String> fromValue(String owdValue_p) throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
OwCMISValueConverter
OwCMISValueConverter.toValue(List)
.
fromValue
in interface OwCMISValueConverter<String,String>
owdValue_p
- O resulting type, can be null
com.wewebu.ow.server.exceptions.OwInvalidOperationException
public Class<String> getOClass()
public String[] toArrayValue(List<String> cmisValue_p)
OwCMISValueConverter
toArrayValue
in interface OwCMISValueConverter<String,String>
cmisValue_p
- List to be converted
protected OwCMISDMSID fromID(String id_p)
id_p
- String representing object id
public String toValue(List<String> cmisValue_p)
OwCMISValueConverter
toValue
in interface OwCMISValueConverter<String,String>
cmisValue_p
- List of values to convert
public OwCMISValueConverter<String,String> newConverter(OwCMISNetwork network_p)
public String[] toStaticArrayValue(List<String> cmisValue_p) throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
com.wewebu.ow.server.exceptions.OwInvalidOperationException
public String toStaticValue(List<String> cmisValue_p) throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
com.wewebu.ow.server.exceptions.OwInvalidOperationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |