public class ConfiguredComponentAvailability extends Object implements ComponentAvailability
ComponentAvailability
configured in the configuration workspace.Constructor and Description |
---|
ConfiguredComponentAvailability() |
Modifier and Type | Method and Description |
---|---|
void |
addRole(String role) |
String |
getId() |
OperationPermissionDefinition |
getPermissions() |
Collection<String> |
getRoles() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setId(String id) |
void |
setPermissions(OperationPermissionDefinition permissions) |
void |
setRoles(Collection<String> roles) |
public String getId()
getId
in interface ComponentAvailability
public void setId(String id)
public Collection<String> getRoles()
getRoles
in interface ComponentAvailability
public void addRole(String role)
public void setRoles(Collection<String> roles)
public boolean isEnabled()
isEnabled
in interface ComponentAvailability
public void setEnabled(boolean enabled)
public OperationPermissionDefinition getPermissions()
getPermissions
in interface ComponentAvailability
public void setPermissions(OperationPermissionDefinition permissions)
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.