public final class FilterOperationsBean extends Object
Modifier and Type | Method and Description |
---|---|
static FilterOperationsBean |
create(SearchRequest searchRequest,
boolean validFilter,
ApplicationUser user,
boolean isAdvancedScreen)
Factory method that uses common inputs to build a sensible default state.
|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
hasOperation() |
boolean |
isShowEdit() |
boolean |
isShowInvalid() |
boolean |
isShowReload() |
boolean |
isShowSave() |
boolean |
isShowSaveAs() |
boolean |
isShowSaveNew() |
boolean |
isShowViewSubscriptions() |
void |
setShowEdit(boolean showEdit) |
void |
setShowInvalid(boolean showInvalid) |
void |
setShowReload(boolean showReload) |
void |
setShowSave(boolean showSave) |
void |
setShowSaveAs(boolean showSaveAs) |
void |
setShowSaveNew(boolean showSaveNew) |
void |
setShowViewSubscriptions(boolean showViewSubscriptions) |
String |
toString() |
public boolean isShowInvalid()
public boolean isShowEdit()
public void setShowEdit(boolean showEdit)
public boolean isShowSave()
public void setShowSave(boolean showSave)
public boolean isShowSaveNew()
public void setShowSaveNew(boolean showSaveNew)
public boolean isShowSaveAs()
public void setShowInvalid(boolean showInvalid)
public void setShowSaveAs(boolean showSaveAs)
public boolean isShowReload()
public void setShowReload(boolean showReload)
public boolean isShowViewSubscriptions()
public void setShowViewSubscriptions(boolean showViewSubscriptions)
public boolean hasOperation()
public static FilterOperationsBean create(SearchRequest searchRequest, boolean validFilter, ApplicationUser user, boolean isAdvancedScreen)
searchRequest
- the search request as provided by the action.validFilter
- true only if the passed filter is valid for JIRA's current state.user
- the remote user or null if there is none.isAdvancedScreen
- true if the operations are to be displayed on the advanced screenCopyright © 2002-2019 Atlassian. All Rights Reserved.