| org.apache.lenya.cms.usecase.AbstractUsecase org.apache.lenya.cms.usecase.DocumentUsecase
All known Subclasses: org.apache.lenya.cms.lucene.IndexDocument, org.apache.lenya.cms.site.usecases.MoveSubsite, org.apache.lenya.cms.editors.fckeditor.Fckeditor, org.apache.lenya.cms.site.usecases.SiteUsecase, org.apache.lenya.cms.editors.forms.FormsEditor, org.apache.lenya.cms.editors.SaveDocument, org.apache.lenya.cms.usecase.scheduling.ManageJobs, org.apache.lenya.cms.site.usecases.Copy, org.apache.lenya.cms.editors.forms.OneFormEditor, org.apache.lenya.blog.cms.usecases.Deactivate, org.apache.lenya.blog.cms.usecases.Delete, org.apache.lenya.cms.site.usecases.ChangeNodeID, org.apache.lenya.cms.workflow.usecases.History, org.apache.lenya.cms.site.usecases.CreateBlogEntry, org.apache.lenya.cms.site.usecases.Nudge, org.apache.lenya.cms.workflow.usecases.CheckWorkflow, org.apache.lenya.cms.editors.tinymce.TinyMce, org.apache.lenya.cms.site.usecases.DeleteLanguage, org.apache.lenya.cms.site.usecases.Rollback, org.apache.lenya.cms.editors.EditDocument, org.apache.lenya.cms.site.usecases.ChangeLabel, org.apache.lenya.cms.site.usecases.ForceCheckIn, org.apache.lenya.blog.cms.usecases.Publish, org.apache.lenya.cms.site.usecases.Cut, org.apache.lenya.cms.site.usecases.ChangeVisibility,
DocumentUsecase | public class DocumentUsecase extends AbstractUsecase (Code) | |
Extends AbstractUsecase with document helper methods.
Some parameters are initialized by default:
|
TARGET_DOCUMENT | final protected static String TARGET_DOCUMENT(Code) | | |
DocumentUsecase | public DocumentUsecase()(Code) | | Ctor.
|
getSourceDocument | protected Document getSourceDocument()(Code) | | Returns the source document.
A document. |
getTargetDocument | protected Document getTargetDocument(boolean success)(Code) | | Returns the document to be redirected to after the usecase has been
completed. If the parameter success is false, the source
document is returned (override this method to change this behaviour).
Parameters: success - If the usecase was successfully completed. A document. |
|
|