info.magnolia.rendering.template.configured
Class ConfiguredComponentAvailability

java.lang.Object
  extended by 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$

Constructor Summary
ConfiguredComponentAvailability()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfiguredComponentAvailability

public ConfiguredComponentAvailability()
Method Detail

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.