Class WorkflowBreadcrumbs
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.web.WorkflowBreadcrumbs
-
public class WorkflowBreadcrumbs extends java.lang.ObjectBuilds the breadcrumbs of the workflow edition pages : the ancestors of the current page, each one linking back to its own page. The admin layout displays them between the feature title and the page title.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPANE_ACTIONSPane of the workflow page listing the actionsstatic java.lang.StringPANE_STATESPane of the workflow page listing the states
-
Constructor Summary
Constructors Constructor Description WorkflowBreadcrumbs(java.util.Locale locale)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowBreadcrumbsaction(fr.paris.lutece.plugins.workflowcore.business.action.Action action)Adds a link to the action pagejava.util.List<fr.paris.lutece.portal.web.admin.BreadcrumbItem>getItems()Returns the items of the breadcrumbsWorkflowBreadcrumbsreflexiveTasks(fr.paris.lutece.plugins.workflowcore.business.state.State state)Adds a link to the page of the automatic tasks of a stateWorkflowBreadcrumbsstate(fr.paris.lutece.plugins.workflowcore.business.state.State state)Adds a link to the state pageWorkflowBreadcrumbsworkflow(fr.paris.lutece.plugins.workflowcore.business.workflow.Workflow workflow, java.lang.String strPane)Adds a link to the workflow page
-
-
-
Field Detail
-
PANE_STATES
public static final java.lang.String PANE_STATES
Pane of the workflow page listing the states- See Also:
- Constant Field Values
-
PANE_ACTIONS
public static final java.lang.String PANE_ACTIONS
Pane of the workflow page listing the actions- See Also:
- Constant Field Values
-
-
Method Detail
-
workflow
public WorkflowBreadcrumbs workflow(fr.paris.lutece.plugins.workflowcore.business.workflow.Workflow workflow, java.lang.String strPane)
Adds a link to the workflow page- Parameters:
workflow- the workflow, ignored if nullstrPane- the pane of the workflow page to open- Returns:
- this breadcrumbs
-
state
public WorkflowBreadcrumbs state(fr.paris.lutece.plugins.workflowcore.business.state.State state)
Adds a link to the state page- Parameters:
state- the state, ignored if null- Returns:
- this breadcrumbs
-
reflexiveTasks
public WorkflowBreadcrumbs reflexiveTasks(fr.paris.lutece.plugins.workflowcore.business.state.State state)
Adds a link to the page of the automatic tasks of a state- Parameters:
state- the state, ignored if null- Returns:
- this breadcrumbs
-
action
public WorkflowBreadcrumbs action(fr.paris.lutece.plugins.workflowcore.business.action.Action action)
Adds a link to the action page- Parameters:
action- the action, ignored if null- Returns:
- this breadcrumbs
-
getItems
public java.util.List<fr.paris.lutece.portal.web.admin.BreadcrumbItem> getItems()
Returns the items of the breadcrumbs- Returns:
- the items, from the closest to the feature to the closest to the current page
-
-