Class AbstractLabelsCommand
- java.lang.Object
-
- com.atlassian.confluence.core.service.AbstractServiceCommand
-
- com.atlassian.confluence.labels.service.AbstractLabelsCommand
-
- All Implemented Interfaces:
ServiceCommand
- Direct Known Subclasses:
AddLabelsCommandImpl
,RemoveLabelCommandImpl
public abstract class AbstractLabelsCommand extends AbstractServiceCommand
Provides basic label methods that should be common to all label commands
-
-
Field Summary
Fields Modifier and Type Field Description protected LabelPermissionEnforcer
labelPermissionEnforcer
-
Constructor Summary
Constructors Constructor Description AbstractLabelsCommand(com.atlassian.user.User user, long entityId, String entityType, SpaceManager spaceManager, PageTemplateManager pageTemplateManager, ContentEntityManager contentEntityManager, LabelPermissionEnforcer labelPermissionEnforcer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Labelable
getEntity()
long
getEntityId()
com.atlassian.user.User
getUser()
-
Methods inherited from class com.atlassian.confluence.core.service.AbstractServiceCommand
execute, executeInternal, getCurrentUser, getValidationErrors, isAuthorized, isAuthorizedInternal, isValid, validateInternal
-
-
-
-
Field Detail
-
labelPermissionEnforcer
protected final LabelPermissionEnforcer labelPermissionEnforcer
-
-
Constructor Detail
-
AbstractLabelsCommand
public AbstractLabelsCommand(com.atlassian.user.User user, long entityId, String entityType, SpaceManager spaceManager, PageTemplateManager pageTemplateManager, ContentEntityManager contentEntityManager, LabelPermissionEnforcer labelPermissionEnforcer)
-
-
Method Detail
-
getUser
public com.atlassian.user.User getUser()
-
getEntityId
public long getEntityId()
-
getEntity
public Labelable getEntity()
-
-