public interface OwParameterMapCodec
Encodes and decodes OwParameterMap
s.
The result of the encoding and decoding of the parameter maps are also OwParameterMap
s.
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
OwParameterMap
parameterMap_p
- OwParameterMap
OwException
- if the encoding process failsOwParameterMap decode(OwParameterMap parameterMap_p, boolean preserveEncoding_p) throws OwException, OwUserOperationException
OwParameterMap
parameterMap_p
- preserveEncoding_p
- if true
the decoded OwParameterMap
will also contain the encoded parametersOwParameterMap
OwException
- 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
otherwiseOwException
long getNextUnqiueNameIndex() throws OwException
OwException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.