public class Action extends Object implements Serializable, Cloneable, Comparable<Action>
Modifier and Type | Field and Description |
---|---|
static String[] |
EMPTY_CATEGORIES |
Constructor and Description |
---|
Action() |
Action(String id,
String[] categories) |
Modifier and Type | Method and Description |
---|---|
Action |
clone() |
int |
compareTo(Action anotherAction) |
boolean |
equals(Object other) |
boolean |
getAvailable() |
String[] |
getCategories() |
String |
getConfirm() |
List<String> |
getFilterIds() |
ActionFilter[] |
getFilters() |
String |
getHelp() |
String |
getIcon() |
String |
getId() |
String |
getLabel() |
String |
getLink() |
Class[] |
getLinkParams() |
int |
getOrder()
Returns the action order.
|
int |
hashCode() |
boolean |
isEnabled() |
boolean |
isImmediate() |
void |
setAvailable(boolean available) |
void |
setCategories(String[] categories) |
void |
setConfirm(String confirm) |
void |
setEnabled(boolean enabled) |
void |
setFilterIds(List<String> filterIds) |
void |
setFilters(ActionFilter[] filters) |
void |
setHelp(String title) |
void |
setIcon(String icon) |
void |
setImmediate(boolean immediate) |
void |
setLabel(String label) |
void |
setLink(String link) |
void |
setLinkParams(Class<?>[] linkParams) |
void |
setOrder(int order)
Sets the order of the action.
|
String |
toString() |
public static final String[] EMPTY_CATEGORIES
public boolean isEnabled()
public void setEnabled(boolean enabled)
public String getLabel()
public void setLabel(String label)
public String getIcon()
public void setIcon(String icon)
public String getLink()
public void setLink(String link)
public String[] getCategories()
public String getId()
public int getOrder()
public void setOrder(int order)
order
- order of the actionpublic int compareTo(Action anotherAction)
compareTo
in interface Comparable<Action>
public ActionFilter[] getFilters()
public void setFilters(ActionFilter[] filters)
public void setCategories(String[] categories)
public Class[] getLinkParams()
public void setLinkParams(Class<?>[] linkParams)
public String getConfirm()
public void setConfirm(String confirm)
public boolean getAvailable()
public void setAvailable(boolean available)
public String getHelp()
public void setHelp(String title)
public boolean isImmediate()
public void setImmediate(boolean immediate)
public Action clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2011 Nuxeo SA. All Rights Reserved.