|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.core.service.AbstractServiceCommand
com.atlassian.confluence.labels.service.RemoveLabelCommandImpl
public class RemoveLabelCommandImpl
| Constructor Summary | |
|---|---|
RemoveLabelCommandImpl(long labelId,
User user,
long entityId,
LabelManager labelManager,
PermissionManager permissionManager,
PageManager pageManager)
|
|
RemoveLabelCommandImpl(String labelsString,
User user,
long entityId,
LabelManager labelManager,
PermissionManager permissionManager,
PageManager pageManager)
|
|
| Method Summary | |
|---|---|
void |
executeInternal()
Template method for implementations to perform command execution. |
Labelable |
getEntity()
Returns the page or blog post that the label was removed from. |
long |
getEntityId()
|
Collection<String> |
getRemovedLabels()
A list of labels removed as strings |
User |
getUser()
|
protected boolean |
isAuthorizedInternal()
Template method for implementations to perform authorization. |
protected void |
validateInternal(ServiceCommandValidator validator)
Template method for implementations to perform validation. |
| Methods inherited from class com.atlassian.confluence.core.service.AbstractServiceCommand |
|---|
execute, getCurrentUser, getValidationErrors, isAuthorized, isValid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.atlassian.confluence.core.service.ServiceCommand |
|---|
execute, getValidationErrors, isAuthorized, isValid |
| Constructor Detail |
|---|
public RemoveLabelCommandImpl(String labelsString,
User user,
long entityId,
LabelManager labelManager,
PermissionManager permissionManager,
PageManager pageManager)
public RemoveLabelCommandImpl(long labelId,
User user,
long entityId,
LabelManager labelManager,
PermissionManager permissionManager,
PageManager pageManager)
| Method Detail |
|---|
protected boolean isAuthorizedInternal()
AbstractServiceCommand
isAuthorizedInternal in class AbstractServiceCommandprotected void validateInternal(ServiceCommandValidator validator)
AbstractServiceCommandImplementations can assume that if this method is called, authorization was already successful.
validateInternal in class AbstractServiceCommandpublic void executeInternal()
AbstractServiceCommand
executeInternal in class AbstractServiceCommandpublic User getUser()
public long getEntityId()
public Labelable getEntity()
RemoveLabelCommand
getEntity in interface RemoveLabelCommandpublic Collection<String> getRemovedLabels()
RemoveLabelCommand
getRemovedLabels in interface RemoveLabelCommand
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||