public interface OwParameterMapCodec
Encodes and decodes OwParameterMaps.
The result of the encoding and decoding of the parameter maps are also OwParameterMaps.
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 |
|---|---|
boolean |
canDecode(OwParameterMap parameterMap_p)
Verifies that this codec can decode the given
OwParameterMap without system-errors. |
OwParameterMap |
decode(OwParameterMap parameterMap_p,
boolean preserveEncoding_p)
Decodes the given
OwParameterMap |
OwParameterMap |
encode(OwParameterMap parameterMap_p)
Encodes the given
OwParameterMap |
long |
getNextUnqiueNameIndex()
Get the next available unique index.
|
OwParameterMap encode(OwParameterMap parameterMap_p) throws OwException
OwParameterMapparameterMap_p - OwParameterMapOwException - if the encoding process failsOwParameterMap decode(OwParameterMap parameterMap_p, boolean preserveEncoding_p) throws OwException, OwUserOperationException
OwParameterMapparameterMap_p - preserveEncoding_p - if true the decoded OwParameterMap will also contain the encoded parametersOwParameterMapOwException - if the decoding process failsOwUserOperationException - if the decoding process fails but recovery is possible (non-system-errors)boolean canDecode(OwParameterMap parameterMap_p) throws OwException
OwParameterMap without system-errors.parameterMap_p - true if the given OwParameterMap can be decoded or false otherwiseOwExceptionlong getNextUnqiueNameIndex()
throws OwException
OwExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.