org.alfresco.web.cmis
Class SlingshotCMISScriptParameterFactory

java.lang.Object
  extended by org.springframework.extensions.cmis.CMISScriptParameterFactory
      extended by org.alfresco.web.cmis.SlingshotCMISScriptParameterFactory
All Implemented Interfaces:
org.springframework.extensions.webscripts.ScriptParameterFactory

public class SlingshotCMISScriptParameterFactory
extends org.springframework.extensions.cmis.CMISScriptParameterFactory

CMIS Script Parameter Factory that sets the default connection to the Alfresco back-end.

Since:
4.0

Field Summary
 
Fields inherited from class org.springframework.extensions.cmis.CMISScriptParameterFactory
DEFAULT_CONNECTION_ID, SERVER_DESCRIPTION, SERVER_NAME, SESSION_ATTRIBUTE
 
Constructor Summary
SlingshotCMISScriptParameterFactory()
           
 
Method Summary
 org.springframework.extensions.cmis.CMISConnection getConnection(org.springframework.extensions.cmis.CMISConnectionManagerImpl connectionManager)
           
 void setConnectorService(org.springframework.extensions.webscripts.connector.ConnectorService connectorService)
           
 
Methods inherited from class org.springframework.extensions.cmis.CMISScriptParameterFactory
createDefaultConnection, createServerDefinition, createServerDefinition, createServerDefinition, createServerDefinition, createSession, createSharedConnection, createUserConnection, getConnection, getParameters, getRepositories, getServerDefinition, getServerDefinitions, getSharedConnections, getUserConnections, getUserConnectionsFromSession, init, loadServerDefintions, removeConnection, setConfigService, setScriptParameterFactoryRegistry, setSharedConnectionsCapacity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlingshotCMISScriptParameterFactory

public SlingshotCMISScriptParameterFactory()
Method Detail

setConnectorService

public void setConnectorService(org.springframework.extensions.webscripts.connector.ConnectorService connectorService)

getConnection

public org.springframework.extensions.cmis.CMISConnection getConnection(org.springframework.extensions.cmis.CMISConnectionManagerImpl connectionManager)
Overrides:
getConnection in class org.springframework.extensions.cmis.CMISScriptParameterFactory


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.