|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BulkAction
Interface that defines an action that can be executed across multiple plans
Nested Class Summary | |
---|---|
static interface |
BulkAction.WebWorkAction
|
static class |
BulkAction.WebWorkActionImpl
|
Field Summary | |
---|---|
static java.lang.String |
WW_NAMESPACE_ADMIN
|
static java.lang.String |
WW_NAMESPACE_BUILD_ADMIN
|
static java.lang.String |
WW_NAMESPACE_BUILD_ADMIN_EDIT
|
static java.lang.String |
WW_NAMESPACE_CHAIN_ADMIN
|
Method Summary | |
---|---|
java.lang.String |
getChangedItem()
Description of what will be changed as a result of this bulk action, also used as table heading to show what will be changed and what it has changed to |
BulkAction.WebWorkAction |
getEditSnippetAction()
Action to return the edit snippet (no form tags) edit the value. |
BulkAction.WebWorkAction |
getExecuteAction()
The final action to execute to act on the bulk action |
java.lang.String |
getKey()
Unique identifier for the action |
BulkAction.WebWorkAction |
getResultAction()
Action to view the new values after executing the bulk action |
java.lang.String |
getTitle()
What the label for the bulk action is |
BulkAction.WebWorkAction |
getViewAction()
Action to run to get the view of the current value for this bulk action |
BulkAction.WebWorkAction |
getViewUpdatedAction()
Action to run to get the view of the updated value for this bulk action |
boolean |
hasUpdates()
Returns whether or not a plan's details have been updated in order to carry out the bulk action |
boolean |
isApplicable(Plan plan)
Returns whether or not a plan is applicable for a certain bulk action, eg. |
boolean |
isApplicableForJobs()
Returns whether an action is applicable for subplans |
void |
populateActionParameters(ActionParametersMap actionParameters,
Plan plan)
Provides possibility to populate action parameters before executing bulk action. |
Field Detail |
---|
static final java.lang.String WW_NAMESPACE_ADMIN
static final java.lang.String WW_NAMESPACE_BUILD_ADMIN
static final java.lang.String WW_NAMESPACE_BUILD_ADMIN_EDIT
static final java.lang.String WW_NAMESPACE_CHAIN_ADMIN
Method Detail |
---|
@NotNull java.lang.String getKey()
@NotNull java.lang.String getTitle()
@NotNull java.lang.String getChangedItem()
@NotNull BulkAction.WebWorkAction getViewAction()
@NotNull BulkAction.WebWorkAction getViewUpdatedAction()
@NotNull BulkAction.WebWorkAction getEditSnippetAction()
@NotNull BulkAction.WebWorkAction getExecuteAction()
@NotNull BulkAction.WebWorkAction getResultAction()
boolean isApplicableForJobs()
boolean isApplicable(Plan plan)
boolean hasUpdates()
void populateActionParameters(@NotNull ActionParametersMap actionParameters, @NotNull Plan plan)
actionParameters
- Action parameters to be populatedplan
- Plan which will be subject to action
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |