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()
           
 OperationPermissionDefinition getPermissions()
           
 Collection<String> getRoles()
           
 boolean isEnabled()
           
 void setEnabled(boolean enabled)
           
 void setId(String id)
           
 void setPermissions(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 OperationPermissionDefinition getPermissions()
Specified by:
getPermissions in interface ComponentAvailability

setPermissions

public void setPermissions(OperationPermissionDefinition permissions)


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.