public class OwCMISNetworkCfg
extends com.wewebu.ow.server.util.OwNetworkConfiguration
Helper to wrap the CMIS specific owbootstrap.xml configuration.
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 |
---|---|
static String |
AT_CLASS_NAME |
static String |
AT_ENTRY_KEY
Name of entry key-attribute
|
static String |
EL_ADAPTER_SESSION_CONF
Node for extended the adapter session configuration configuration
|
static String |
EL_ATOM_PUB
Configuration node for AtomPub binding
|
static String |
EL_AUTH_INTERCEPTOR
(optional) configuration node for AuthInterceptor definition
|
static String |
EL_CONF_NONSERIALIZED_ID
Configuration node to define Properties of type Id, which should be handled as String
|
static String |
EL_DEFAULT_REPOSITORY
Mandatory Element to define the default object store/repository for Network
|
static String |
EL_DEFAULTVERSIONHANDLING |
static String |
EL_ID_DMSID_CONVERTER_CLASS |
static String |
EL_OPEN_CMIS_CONF
Node for extended OpenCmis configuration
|
static String |
EL_OPEN_CMIS_ENTRY
Sub node of OpenCMIS configuration
|
static String |
EL_PROPERTY_ORDER |
static String |
EL_WSDL_ACL
Configuration node name for ACL-Service URL
|
static String |
EL_WSDL_DISCOVERY
Configuration node name for DiscoveryService (search service) URL
|
static String |
EL_WSDL_MULTIFILING
Configuration node name for MultifilingService URL
|
static String |
EL_WSDL_NAVIGATION
Configuration node name for NavigationService URL
|
static String |
EL_WSDL_OBJECT
Configuration node name for ObjectService URL
|
static String |
EL_WSDL_POLICY
Configuration node name for PolicyService URL
|
static String |
EL_WSDL_RELATIONSHIP
Configuration node name for RelationshipService URL
|
static String |
EL_WSDL_REPOSITORY
Configuration node name for RepositoryService URL
|
static String |
EL_WSDL_VERSIONING
Configuration node name for VersioningService URL
|
Constructor and Description |
---|
OwCMISNetworkCfg(com.wewebu.ow.server.util.OwXMLUtil config_p) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,String> |
addConfigurationProperties(String listNodeName,
String itemName,
String keyAttributeName,
Map<String,String> map)
Adds key value configuration information to the given map.
|
OwCMISAuthenticationInterceptor |
getAuthenticationInterceptor(Object... createArgs)
Get configured authentication intercepter, if any was defined.
|
Map<String,String> |
getBindingConfig()
(overridable)
Get a binding handler class.
|
com.wewebu.ow.server.util.OwXMLUtil |
getBpmNode() |
String |
getDefaultRepository()
Return a String which is defined in <DefaultObjectStore> and
represents an id or name of a repository object.
|
Map<String,String> |
getDefaultVersionHandling() |
String |
getDefaultVersionHandling(String context_p) |
OwCMISDMSIDDecoder |
getDMSIDDecoder() |
OwCMISValueConverter<String,String> |
getIdDMSIDConverter(String resourceID_p) |
Collection<String> |
getNonSerializedPropertyIds()
Return a collection of property Id (non-qualified), which should be not serialized and values should be treated as String.
|
List<String> |
getPreferedPropertyOrder()
get a list of property names which represents the preferred order (sequence) of the properties
|
OwCMISPreferredPropertyTypeCfg |
getPreferredPropertyTypeCfg() |
com.wewebu.ow.server.ecm.OwManagedSemiVirtualRecordConfiguration |
getSemiVirtualConfiguration()
Returns a class which provides a handler for semi-virtual configuration.
|
Map<String,String> |
getSessionParametersConfig()
(overridable)
Map of session parameters string values.
|
boolean |
isPreservedVersion()
Is network configured to preserve version information of object.
|
protected Map<String,String> |
setAdditionalConnectionInformation(Map<String,String> map)
Handling of additional configuration of OpenCMIS.
|
public static final String EL_ATOM_PUB
public static final String EL_WSDL_REPOSITORY
public static final String EL_WSDL_NAVIGATION
public static final String EL_WSDL_OBJECT
public static final String EL_WSDL_MULTIFILING
public static final String EL_WSDL_DISCOVERY
public static final String EL_WSDL_VERSIONING
public static final String EL_WSDL_RELATIONSHIP
public static final String EL_WSDL_POLICY
public static final String EL_WSDL_ACL
public static final String EL_DEFAULTVERSIONHANDLING
public static final String EL_PROPERTY_ORDER
public static final String EL_ID_DMSID_CONVERTER_CLASS
public static final String EL_DEFAULT_REPOSITORY
public static final String EL_AUTH_INTERCEPTOR
public static final String AT_CLASS_NAME
public static final String EL_ADAPTER_SESSION_CONF
public static final String EL_OPEN_CMIS_CONF
public static final String EL_OPEN_CMIS_ENTRY
public static final String AT_ENTRY_KEY
public static final String EL_CONF_NONSERIALIZED_ID
public OwCMISNetworkCfg(com.wewebu.ow.server.util.OwXMLUtil config_p)
public Map<String,String> getDefaultVersionHandling()
Map
of String context names mapped to version handling modes (see CMIS bootstrap documentation)public String getDefaultVersionHandling(String context_p)
context_p
- public boolean isPreservedVersion()
public com.wewebu.ow.server.util.OwXMLUtil getBpmNode() throws com.wewebu.ow.server.exceptions.OwConfigurationException
com.wewebu.ow.server.exceptions.OwConfigurationException
public OwCMISPreferredPropertyTypeCfg getPreferredPropertyTypeCfg()
public List<String> getPreferedPropertyOrder() throws com.wewebu.ow.server.exceptions.OwException
List
of property namescom.wewebu.ow.server.exceptions.OwException
public OwCMISDMSIDDecoder getDMSIDDecoder()
public Map<String,String> getSessionParametersConfig() throws com.wewebu.ow.server.exceptions.OwConfigurationException
com.wewebu.ow.server.exceptions.OwConfigurationException
OwCMISSessionParameter
public Map<String,String> getBindingConfig() throws com.wewebu.ow.server.exceptions.OwConfigurationException
Can be extended to use other binding handler.
com.wewebu.ow.server.exceptions.OwConfigurationException
protected Map<String,String> setAdditionalConnectionInformation(Map<String,String> map)
map
- Map where to put additional configurationprotected Map<String,String> addConfigurationProperties(String listNodeName, String itemName, String keyAttributeName, Map<String,String> map)
map
- Map where to put additional configurationOwXMLUtil.getSafeUtilList(String, String)
public String getDefaultRepository()
public com.wewebu.ow.server.ecm.OwManagedSemiVirtualRecordConfiguration getSemiVirtualConfiguration() throws com.wewebu.ow.server.exceptions.OwConfigurationException
com.wewebu.ow.server.exceptions.OwConfigurationException
public OwCMISAuthenticationInterceptor getAuthenticationInterceptor(Object... createArgs) throws com.wewebu.ow.server.exceptions.OwException
createArgs
- Object array of arguments to create interceptorcom.wewebu.ow.server.exceptions.OwException
public OwCMISValueConverter<String,String> getIdDMSIDConverter(String resourceID_p) throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwException
public Collection<String> getNonSerializedPropertyIds() throws com.wewebu.ow.server.exceptions.OwException
If nothing is configured a default set of property Id's is returned, which should not be deserialized.
com.wewebu.ow.server.exceptions.OwException
- if cannot access the configurationCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.