public class OwCMISIDDMSIDConverter extends Object implements OwCMISValueConverter<String,String>
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
Modifier and Type | Field and Description |
---|---|
protected OwCMISDMSIDDecoder |
dmsidDecoder |
protected String |
resourceID |
Constructor and Description |
---|
OwCMISIDDMSIDConverter(OwCMISDMSIDDecoder dmsidDecoder_p,
String resourceID_p) |
Modifier and Type | Method and Description |
---|---|
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.
|
protected OwCMISDMSIDDecoder dmsidDecoder
protected String resourceID
public OwCMISIDDMSIDConverter(OwCMISDMSIDDecoder dmsidDecoder_p, String resourceID_p)
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 nullcom.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 nullcom.wewebu.ow.server.exceptions.OwInvalidOperationException
public String[] toArrayValue(List<String> cmisValue_p)
OwCMISValueConverter
toArrayValue
in interface OwCMISValueConverter<String,String>
cmisValue_p
- List to be convertedprotected OwCMISDMSID fromID(String id_p)
id_p
- String representing object idpublic String toValue(List<String> cmisValue_p)
OwCMISValueConverter
toValue
in interface OwCMISValueConverter<String,String>
cmisValue_p
- List of values to convertpublic 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
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.