com.wewebu.ow.server.ecmimpl.cmis
Class OwCMISNetworkConfiguration

java.lang.Object
  extended by com.wewebu.ow.server.util.OwNetworkConfiguration
      extended by com.wewebu.ow.server.ecmimpl.cmis.OwCMISNetworkConfiguration

public class OwCMISNetworkConfiguration
extends com.wewebu.ow.server.util.OwNetworkConfiguration

Helper to wrap the CMIS specific owbootstrap.xml.

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

Since:
3.2.0.0

Field Summary
static String EL_DEFAULTVERSIONHANDLING
           
static String EL_ID_DMSID_CONVERTER_CLASS
           
static String EL_PROPERTY_ORDER
           
 
Fields inherited from class com.wewebu.ow.server.util.OwNetworkConfiguration
EL_AUTHENTICATION, EL_CREATION_INITIAL_VALUES, EL_OBJECT_CLASS, EL_OWAPPLICATIONOBJECTBASEDIR, EL_PREFERREDPROPERTYTYPE, EL_PROPERTY, EL_VIRTUALFOLDERSCONTAINER
 
Constructor Summary
OwCMISNetworkConfiguration(com.wewebu.ow.server.util.OwXMLUtil config_p)
           
 
Method Summary
 com.wewebu.ow.server.util.OwXMLUtil getBpmNode()
           
 Map<String,String> getDefaultVersionHandling()
           
 String getDefaultVersionHandling(String context_p)
           
 OwCMISDMSIDDecoder getDMSIDDecoder()
           
 OwCMISIDDMSIDConverter getIdDMSIDConverter(String resourceID_p)
           
 List<String> getPreferedPropertyOrder()
          get a list of property names which represents the preferred order (sequence) of the properties
 OwCMISPreferredPropertyTypeCfg getPreferredPropertyTypeCfg()
           
 boolean isPreservedVersion()
          Is network configured to preserve version information of object.
 
Methods inherited from class com.wewebu.ow.server.util.OwNetworkConfiguration
getApplicationObjectBaseDir, getAuthenticationConfiguration, getConfigNode, getCreationInitialValuesConfig, getVirtualFoldersContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EL_DEFAULTVERSIONHANDLING

public static final String EL_DEFAULTVERSIONHANDLING
See Also:
Constant Field Values

EL_PROPERTY_ORDER

public static final String EL_PROPERTY_ORDER
See Also:
Constant Field Values

EL_ID_DMSID_CONVERTER_CLASS

public static final String EL_ID_DMSID_CONVERTER_CLASS
See Also:
Constant Field Values
Constructor Detail

OwCMISNetworkConfiguration

public OwCMISNetworkConfiguration(com.wewebu.ow.server.util.OwXMLUtil config_p)
Method Detail

getDefaultVersionHandling

public Map<String,String> getDefaultVersionHandling()
Returns:
a Map of String context names mapped to version handling modes (see CMIS bootstrap documentation)

getDefaultVersionHandling

public String getDefaultVersionHandling(String context_p)
Parameters:
context_p -
Returns:
a String version handling mode for the given context

isPreservedVersion

public boolean isPreservedVersion()
Is network configured to preserve version information of object.

Returns:
true if version handling set to "preserve"
Since:
3.2.0.1

getBpmNode

public com.wewebu.ow.server.util.OwXMLUtil getBpmNode()
                                               throws com.wewebu.ow.server.exceptions.OwConfigurationException
Throws:
com.wewebu.ow.server.exceptions.OwConfigurationException

getPreferredPropertyTypeCfg

public OwCMISPreferredPropertyTypeCfg getPreferredPropertyTypeCfg()

getPreferedPropertyOrder

public List<String> getPreferedPropertyOrder()
                                      throws com.wewebu.ow.server.exceptions.OwException
get a list of property names which represents the preferred order (sequence) of the properties

Returns:
a List of property names
Throws:
com.wewebu.ow.server.exceptions.OwException
Since:
4.0.0.0

getDMSIDDecoder

public OwCMISDMSIDDecoder getDMSIDDecoder()

getIdDMSIDConverter

public OwCMISIDDMSIDConverter getIdDMSIDConverter(String resourceID_p)
                                           throws com.wewebu.ow.server.exceptions.OwException
Throws:
com.wewebu.ow.server.exceptions.OwException


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.