|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.action.CommonResourceAbstractBase
org.alfresco.repo.action.ParameterizedItemAbstractBase
org.alfresco.repo.action.executer.ActionExecuterAbstractBase
org.alfresco.repo.avm.actions.AVMDeployWebsiteAction
public class AVMDeployWebsiteAction
Deploys a website to a remote server. TODO refactor and add to WCM services (when we support WCM deployment config)
Field Summary | |
---|---|
static java.lang.String |
ASYNC_QUEUE_NAME
|
static java.lang.String |
FILE_SERVER_PREFIX
|
static java.lang.String |
LIVE_SUFFIX
|
static java.lang.String |
NAME
|
static java.lang.String |
PARAM_ATTEMPT
|
static java.lang.String |
PARAM_CALLBACK
|
static java.lang.String |
PARAM_SERVER
|
static java.lang.String |
PARAM_WEBPROJECT
|
Fields inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase |
---|
actionDefinition, applicableTypes, publicAction |
Fields inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase |
---|
DISPLAY_LABEL, runtimeActionService |
Fields inherited from class org.alfresco.repo.action.CommonResourceAbstractBase |
---|
name |
Fields inherited from interface org.alfresco.repo.action.executer.ActionExecuter |
---|
PARAM_RESULT |
Constructor Summary | |
---|---|
AVMDeployWebsiteAction()
|
Method Summary | |
---|---|
protected void |
addParameterDefinitions(java.util.List paramList)
Adds the parameter definitions to the list |
static java.lang.String |
calculateServerUri(java.util.Map props)
Calculate the URI representation of a server from the given set of properties |
protected void |
executeImpl(Action action,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Execute the action implementation |
TransactionService |
getTransactionService()
|
void |
setCallbacks(java.util.List callbacks)
|
void |
setContentService(ContentService contentService)
|
void |
setDefaultAlfrescoRmiPort(int defaultAlfrescoRmiPort)
Sets the default RMI port for Alfresco server deployments |
void |
setDefaultReceiverRmiPort(int defaultReceiverRmiPort)
Sets the default RMI port for File system deployments |
void |
setDefaultRemotePassword(java.lang.String defaultRemotePassword)
Sets the default remote password to use for deployments |
void |
setDefaultRemoteUsername(java.lang.String defaultRemoteUsername)
Sets the default remote username to use for deployments |
void |
setDefaultTargetName(java.lang.String defaultTargetName)
Sets the default target name to use on file system receivers |
void |
setDelay(int delay)
Sets the delay to use before starting the deployment |
void |
setDeploymentService(DeploymentService service)
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService service)
|
void |
setTransactionService(TransactionService transactionService)
|
Methods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase |
---|
createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, setApplicableTypes, setBaseNodeService, setIgnoreLock, setLockService, setPublicAction, setQueueName, setTrackStatus |
Methods inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase |
---|
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getParamDisplayLabel, getParameterDefintions, getTitleKey, setRuntimeActionService, toString |
Methods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase |
---|
setBeanName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAME
public static final java.lang.String FILE_SERVER_PREFIX
public static final java.lang.String PARAM_WEBPROJECT
public static final java.lang.String PARAM_SERVER
public static final java.lang.String PARAM_ATTEMPT
public static final java.lang.String PARAM_CALLBACK
public static final java.lang.String ASYNC_QUEUE_NAME
public static final java.lang.String LIVE_SUFFIX
Constructor Detail |
---|
public AVMDeployWebsiteAction()
Method Detail |
---|
public static java.lang.String calculateServerUri(java.util.Map props)
props
- Set of properties to calculate URI frompublic void setDelay(int delay)
delay
- The delay in secondspublic void setDefaultAlfrescoRmiPort(int defaultAlfrescoRmiPort)
defaultAlfrescoRmiPort
- port numberpublic void setDefaultReceiverRmiPort(int defaultReceiverRmiPort)
defaultReceiverRmiPort
- port numberpublic void setDefaultRemoteUsername(java.lang.String defaultRemoteUsername)
defaultRemoteUsername
- Default remote usernamepublic void setDefaultRemotePassword(java.lang.String defaultRemotePassword)
defaultRemotePassword
- Default remote passwordpublic void setDefaultTargetName(java.lang.String defaultTargetName)
defaultTargetName
- Default target namepublic void setCallbacks(java.util.List callbacks)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService service)
service
- The NodeService instancepublic void setContentService(ContentService contentService)
contentService
- The ContentService instancepublic void setDeploymentService(DeploymentService service)
service
- The AVM Deployment Service instanceprotected void addParameterDefinitions(java.util.List paramList)
ParameterizedItemAbstractBase
addParameterDefinitions
in class ParameterizedItemAbstractBase
paramList
- the parameter definitions listprotected void executeImpl(Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
ActionExecuterAbstractBase
executeImpl
in class ActionExecuterAbstractBase
action
- the actionactionedUponNodeRef
- the actioned upon nodepublic void setTransactionService(TransactionService transactionService)
public TransactionService getTransactionService()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |