|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.labels.actions.EditLabelAction
public class EditLabelAction
Simple action to edit a content objects labels.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
|---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, localeManager, log, permissionManager, permitted, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
| Fields inherited from class com.opensymphony.xwork.ActionSupport |
|---|
LOG |
| Fields inherited from interface com.opensymphony.xwork.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
EditLabelAction()
|
|
| Method Summary | |
|---|---|
String |
execute()
Update the labels associated with the labelable instance. |
String |
getId()
Retrieve the currently specified id of the object being updated. |
Labelable |
getLabelable()
Retrieve the instance being edited. |
String |
getLabelNames()
Retrieve a comma separated string of label names. |
List |
getLabels()
Simple getter to retrieve the labels currently associated with the labelable instance. |
boolean |
isPermitted()
|
protected Labelable |
load()
|
void |
setContentEntityManager(ContentEntityManager manager)
|
void |
setId(String id)
The content id to uniquely identify the object being updated. |
void |
setLabelNames(String names)
Set a comma separated string of label names. |
void |
validate()
Process the validation rules. |
| Methods inherited from class com.opensymphony.xwork.ActionSupport |
|---|
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EditLabelAction()
| Method Detail |
|---|
public void setId(String id)
id - public String getId()
public void setContentEntityManager(ContentEntityManager manager)
public List getLabels()
public Labelable getLabelable()
public String getLabelNames()
public void setLabelNames(String names)
names - public void validate()
validate in interface com.opensymphony.xwork.Validateablevalidate in class com.opensymphony.xwork.ActionSupport
public String execute()
throws Exception
execute in interface com.opensymphony.xwork.Actionexecute in class com.opensymphony.xwork.ActionSupportExceptionprotected Labelable load()
public boolean isPermitted()
isPermitted in class ConfluenceActionSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||