|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lenya.cms.task.AbstractTask org.apache.lenya.cms.publication.task.PublicationTask org.apache.lenya.cms.publication.task.DocumentTask org.apache.lenya.cms.publication.task.CopyDocumentToArea
public class CopyDocumentToArea
Copies a document to another area.
Field Summary | |
---|---|
static java.lang.String |
PARAMETER_DESTINATION_AREA
|
Fields inherited from class org.apache.lenya.cms.publication.task.DocumentTask |
---|
PARAMETER_DOCUMENT_AREA, PARAMETER_DOCUMENT_ID, PARAMETER_DOCUMENT_LANGUAGE |
Fields inherited from class org.apache.lenya.cms.publication.task.PublicationTask |
---|
PARAMETER_IP_ADDRESS, PARAMETER_ROLE_IDS, PARAMETER_USER_ID, PARAMETER_WORKFLOW_EVENT, ROLE_SEPARATOR_REGEXP |
Fields inherited from interface org.apache.lenya.cms.task.Task |
---|
DEFAULT_PREFIX, FAILURE, NAMESPACE, PARAMETER_CONTEXT_PREFIX, PARAMETER_PUBLICATION_ID, PARAMETER_SERVER_PORT, PARAMETER_SERVER_URI, PARAMETER_SERVLET_CONTEXT, SUCCESS |
Constructor Summary | |
---|---|
CopyDocumentToArea()
|
Method Summary | |
---|---|
void |
execute(java.lang.String servletContextPath)
Execute the task. |
Methods inherited from class org.apache.lenya.cms.publication.task.DocumentTask |
---|
getDocument, getDocument |
Methods inherited from class org.apache.lenya.cms.publication.task.PublicationTask |
---|
canCheckOut, canWorkflowFire, copyResources, getEventName, getExecutableEvent, getPublication, getRevisionController, getRevisionFilePath, getRoleIDs, getSituation, reservedCheckIn, reservedCheckOut, triggerWorkflow |
Methods inherited from class org.apache.lenya.cms.task.AbstractTask |
---|
getParameters, getResult, parameterize, setLabel, setResult |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PARAMETER_DESTINATION_AREA
Constructor Detail |
---|
public CopyDocumentToArea()
Method Detail |
---|
public void execute(java.lang.String servletContextPath) throws ExecutionException
Task
servletContextPath
- the servlet-context
ExecutionException
- if the execution failsTask.execute(java.lang.String)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |