public class RemoveLabelCommandImpl extends AbstractLabelsCommand implements RemoveLabelCommand
labelPermissionEnforcer
Constructor and Description |
---|
RemoveLabelCommandImpl(Label label,
com.atlassian.user.User user,
long entityId,
LabelManager labelManager,
PermissionManager permissionManager,
SpaceManager spaceManager,
PageTemplateManager pageTemplateManager,
ContentEntityManager contentEntityManager,
LabelPermissionEnforcer labelPermissionEnforcer) |
RemoveLabelCommandImpl(Label label,
com.atlassian.user.User user,
long entityId,
String entityType,
LabelManager labelManager,
PermissionManager permissionManager,
SpaceManager spaceManager,
PageTemplateManager pageTemplateManager,
ContentEntityManager contentEntityManager,
LabelPermissionEnforcer labelPermissionEnforcer) |
RemoveLabelCommandImpl(long labelId,
com.atlassian.user.User user,
long entityId,
LabelManager labelManager,
PermissionManager permissionManager,
SpaceManager spaceManager,
PageTemplateManager pageTemplateManager,
ContentEntityManager contentEntityManager,
LabelPermissionEnforcer labelPermissionEnforcer) |
RemoveLabelCommandImpl(long labelId,
com.atlassian.user.User user,
long entityId,
String entityType,
LabelManager labelManager,
PermissionManager permissionManager,
SpaceManager spaceManager,
PageTemplateManager pageTemplateManager,
ContentEntityManager contentEntityManager,
LabelPermissionEnforcer labelPermissionEnforcer) |
RemoveLabelCommandImpl(String labelsString,
com.atlassian.user.User user,
long entityId,
LabelManager labelManager,
PermissionManager permissionManager,
SpaceManager spaceManager,
PageTemplateManager pageTemplateManager,
ContentEntityManager contentEntityManager,
LabelPermissionEnforcer labelPermissionEnforcer) |
Modifier and Type | Method and Description |
---|---|
void |
executeInternal()
Template method for implementations to perform command execution.
|
Collection<String> |
getRemovedLabels()
A list of labels removed as strings
|
protected boolean |
isAuthorizedInternal()
Template method for implementations to perform authorization.
|
protected void |
validateInternal(ServiceCommandValidator validator)
Template method for implementations to perform validation.
|
getEntity, getEntityId, getUser
execute, getCurrentUser, getValidationErrors, isAuthorized, isValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntity
execute, getValidationErrors, isAuthorized, isValid
public RemoveLabelCommandImpl(String labelsString, com.atlassian.user.User user, long entityId, LabelManager labelManager, PermissionManager permissionManager, SpaceManager spaceManager, PageTemplateManager pageTemplateManager, ContentEntityManager contentEntityManager, LabelPermissionEnforcer labelPermissionEnforcer)
public RemoveLabelCommandImpl(Label label, com.atlassian.user.User user, long entityId, LabelManager labelManager, PermissionManager permissionManager, SpaceManager spaceManager, PageTemplateManager pageTemplateManager, ContentEntityManager contentEntityManager, LabelPermissionEnforcer labelPermissionEnforcer)
public RemoveLabelCommandImpl(Label label, com.atlassian.user.User user, long entityId, String entityType, LabelManager labelManager, PermissionManager permissionManager, SpaceManager spaceManager, PageTemplateManager pageTemplateManager, ContentEntityManager contentEntityManager, LabelPermissionEnforcer labelPermissionEnforcer)
public RemoveLabelCommandImpl(long labelId, com.atlassian.user.User user, long entityId, LabelManager labelManager, PermissionManager permissionManager, SpaceManager spaceManager, PageTemplateManager pageTemplateManager, ContentEntityManager contentEntityManager, LabelPermissionEnforcer labelPermissionEnforcer)
public RemoveLabelCommandImpl(long labelId, com.atlassian.user.User user, long entityId, String entityType, LabelManager labelManager, PermissionManager permissionManager, SpaceManager spaceManager, PageTemplateManager pageTemplateManager, ContentEntityManager contentEntityManager, LabelPermissionEnforcer labelPermissionEnforcer)
protected boolean isAuthorizedInternal()
AbstractServiceCommand
isAuthorizedInternal
in class AbstractServiceCommand
protected void validateInternal(ServiceCommandValidator validator)
AbstractServiceCommand
Implementations can assume that if this method is called, authorization was already successful.
validateInternal
in class AbstractServiceCommand
public void executeInternal()
AbstractServiceCommand
executeInternal
in class AbstractServiceCommand
public Collection<String> getRemovedLabels()
RemoveLabelCommand
getRemovedLabels
in interface RemoveLabelCommand
Copyright © 2003–2021 Atlassian. All rights reserved.