info.magnolia.rendering.template.configured
Class ConfiguredComponentAvailability
java.lang.Object
info.magnolia.rendering.template.configured.ConfiguredComponentAvailability
- All Implemented Interfaces:
- ComponentAvailability
public class ConfiguredComponentAvailability
- extends Object
- implements ComponentAvailability
A ComponentAvailability
configured in the configuration workspace.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfiguredComponentAvailability
public ConfiguredComponentAvailability()
getId
public String getId()
- Specified by:
getId
in interface ComponentAvailability
setId
public void setId(String id)
getRoles
public Collection<String> getRoles()
- Specified by:
getRoles
in interface ComponentAvailability
addRole
public void addRole(String role)
setRoles
public void setRoles(Collection<String> roles)
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface ComponentAvailability
setEnabled
public void setEnabled(boolean enabled)
getPermissions
public info.magnolia.cms.security.operations.OperationPermissionDefinition getPermissions()
- Specified by:
getPermissions
in interface ComponentAvailability
setPermissions
public void setPermissions(info.magnolia.cms.security.operations.OperationPermissionDefinition permissions)
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.