|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.lenya.cms.usecase.AbstractUsecase
org.apache.lenya.cms.site.usecases.Paste
public class Paste
Paste a document from the clipboard.
| Field Summary | |
|---|---|
protected static java.lang.String |
CLIPBOARD_LABEL
|
| Fields inherited from class org.apache.lenya.cms.usecase.AbstractUsecase |
|---|
ATTRIBUTE_NAME, ATTRIBUTE_POLICY, ATTRIBUTE_USECASE, ATTRIBUTE_VALUE, context, ELEMENT_EXIT, ELEMENT_PARAMETER, ELEMENT_TRANSACTION, ELEMENT_VIEW, ERROR_OBJECTS_CHECKED_OUT, EVENT_CHECK_EXECUTION_CONDITIONS, EVENT_CHECK_POSTCONDITIONS, EVENT_CHECK_PRECONDITIONS, EVENT_EXECUTE, manager, MODEL, PARAMETER_CHECKOUT_RESTRICTED_TO_SESSION, PARAMETER_FACTORY, PARAMETER_SESSION, PARAMETER_STATE_MACHINE, PARAMETERS_INITIALIZED, SOURCE_URL, TRANSITIONS, VALUE_OPTIMISTIC, VALUE_PESSIMISTIC |
| Fields inherited from interface org.apache.lenya.cms.usecase.Usecase |
|---|
ROLE |
| Constructor Summary | |
|---|---|
Paste()
|
|
| Method Summary | |
|---|---|
protected void |
doCheckPreconditions()
|
protected void |
doExecute()
|
protected org.apache.lenya.cms.publication.Area |
getArea()
|
protected org.apache.lenya.cms.repository.Node[] |
getNodesToLock()
|
protected org.apache.lenya.cms.publication.Publication |
getPublication()
|
protected org.apache.lenya.cms.publication.Document |
getSourceDocument()
|
protected java.lang.String |
getTargetPath()
|
protected void |
initParameters()
|
protected boolean |
willPasteInOwnSubtree(org.apache.lenya.cms.site.SiteNode node,
java.lang.String uuid)
|
| Methods inherited from class org.apache.lenya.cms.usecase.AbstractUsecase |
|---|
addErrorMessage, addErrorMessage, addErrorMessages, addInfoMessage, addInfoMessage, advance, advanceState, cancel, canCheckOut, checkEvent, checkExecutionConditions, checkoutRestrictedToSession, checkPostconditions, checkPreconditions, clearErrorMessages, clearInfoMessages, configure, contextualize, deleteParameter, doCheckExecutionConditions, doCheckPostconditions, doInitialize, dumpErrorMessages, execute, getBooleanCheckboxParameter, getContext, getDocumentFactory, getErrorMessages, getExitQueryString, getInfoMessages, getName, getParameter, getParameter, getParameterAsBoolean, getParameterAsInteger, getParameterAsString, getParameterAsString, getParameterNames, getParameters, getPart, getSession, getSourceURL, getStateMachine, getTargetURL, getView, hasErrors, hasInfoMessages, initialize, initializeParametersIfNotDone, isOptimistic, lockInvolvedObjects, lockInvolvedObjects, prepareView, service, setDefaultTargetURL, setExitParameter, setName, setParameter, setPart, setSession, setSourceURL, setTestSession, setView, startTransaction |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String CLIPBOARD_LABEL
| Constructor Detail |
|---|
public Paste()
| Method Detail |
|---|
protected void doCheckPreconditions()
throws java.lang.Exception
doCheckPreconditions in class org.apache.lenya.cms.usecase.AbstractUsecasejava.lang.ExceptionAbstractUsecase.doCheckPreconditions()
protected boolean willPasteInOwnSubtree(org.apache.lenya.cms.site.SiteNode node,
java.lang.String uuid)
throws org.apache.lenya.cms.site.SiteException
org.apache.lenya.cms.site.SiteExceptionprotected org.apache.lenya.cms.publication.Document getSourceDocument()
protected void initParameters()
initParameters in class org.apache.lenya.cms.usecase.AbstractUsecaseAbstractUsecase.initParameters()protected org.apache.lenya.cms.publication.Publication getPublication()
protected org.apache.lenya.cms.repository.Node[] getNodesToLock()
throws org.apache.lenya.cms.usecase.UsecaseException
getNodesToLock in class org.apache.lenya.cms.usecase.AbstractUsecaseorg.apache.lenya.cms.usecase.UsecaseExceptionAbstractUsecase.getNodesToLock()protected org.apache.lenya.cms.publication.Area getArea()
protected void doExecute()
throws java.lang.Exception
doExecute in class org.apache.lenya.cms.usecase.AbstractUsecasejava.lang.ExceptionAbstractUsecase.doExecute()
protected java.lang.String getTargetPath()
throws org.apache.lenya.cms.site.SiteException,
org.apache.lenya.cms.publication.DocumentBuildException,
org.apache.avalon.framework.service.ServiceException,
org.apache.lenya.cms.publication.DocumentException
org.apache.lenya.cms.site.SiteException
org.apache.lenya.cms.publication.DocumentBuildException
org.apache.avalon.framework.service.ServiceException
org.apache.lenya.cms.publication.DocumentException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||