public interface OwCMISValueConverter<L,O>
OwCMISValueConverter. Interface for conversion from type L (base) to O (resulting), and also to transform from array to list collections.
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 | Method and Description |
---|---|
List<L> |
fromArrayValue(Object[] owdValue_p)
Converts the array back from type O to a list of type L.
|
List<L> |
fromValue(O owdValue_p)
Vice-versa conversion to
toValue(List) . |
O[] |
toArrayValue(List<L> cmisValue_p)
Converts the list into an array of the resulting type.
|
O |
toValue(List<L> 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.
|
O toValue(List<L> cmisValue_p) throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
cmisValue_p
- List of values to convertcom.wewebu.ow.server.exceptions.OwInvalidOperationException
List<L> fromValue(O owdValue_p) throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
toValue(List)
.owdValue_p
- O resulting type, can be nullcom.wewebu.ow.server.exceptions.OwInvalidOperationException
O[] toArrayValue(List<L> cmisValue_p) throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
cmisValue_p
- List to be convertedcom.wewebu.ow.server.exceptions.OwInvalidOperationException
List<L> fromArrayValue(Object[] owdValue_p) throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
owdValue_p
- array of resulting type, can be nullcom.wewebu.ow.server.exceptions.OwInvalidOperationException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.