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() |
info.magnolia.cms.security.operations.OperationPermissionDefinition |
getPermissions() |
Collection<String> |
getRoles() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setId(String id) |
void |
setPermissions(info.magnolia.cms.security.operations.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 info.magnolia.cms.security.operations.OperationPermissionDefinition getPermissions()
getPermissions
in interface ComponentAvailability
public void setPermissions(info.magnolia.cms.security.operations.OperationPermissionDefinition permissions)
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.