public class AddLabelsCommandImpl extends AbstractLabelsCommand implements AddLabelsCommand
| Constructor and Description |
|---|
AddLabelsCommandImpl(String labelsString,
com.atlassian.user.User user,
long entityId,
String entityType,
LabelManager labelManager,
PermissionManager permissionManager,
PageManager pageManager,
SpaceManager spaceManager,
AttachmentManager attachmentManager,
PageTemplateManager pageTemplateManager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeInternal()
Template method for implementations to perform command execution.
|
Collection<Label> |
getAddedLabels()
Returns a list of labels that were added.
|
protected boolean |
isAuthorizedInternal()
Template method for implementations to perform authorization.
|
protected void |
validateInternal(ServiceCommandValidator validator)
Template method for implementations to perform validation.
|
getEntity, getEntityId, getUserexecute, getCurrentUser, getValidationErrors, isAuthorized, isValidclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEntityexecute, getValidationErrors, isAuthorized, isValidpublic AddLabelsCommandImpl(String labelsString, com.atlassian.user.User user, long entityId, String entityType, LabelManager labelManager, PermissionManager permissionManager, PageManager pageManager, SpaceManager spaceManager, AttachmentManager attachmentManager, PageTemplateManager pageTemplateManager)
protected void validateInternal(ServiceCommandValidator validator)
AbstractServiceCommandImplementations can assume that if this method is called, authorization was already successful.
validateInternal in class AbstractServiceCommandprotected boolean isAuthorizedInternal()
AbstractServiceCommandisAuthorizedInternal in class AbstractServiceCommandprotected void executeInternal()
AbstractServiceCommandexecuteInternal in class AbstractServiceCommandpublic Collection<Label> getAddedLabels()
getAddedLabels in interface AddLabelsCommandCopyright © 2003–2016 Atlassian. All rights reserved.