org.alfresco.repo.configuration
Class ConfigurableServiceImpl

java.lang.Object
  extended by org.alfresco.repo.configuration.ConfigurableServiceImpl
All Implemented Interfaces:
ConfigurableService

public class ConfigurableServiceImpl
extends java.lang.Object
implements ConfigurableService


Constructor Summary
ConfigurableServiceImpl()
           
 
Method Summary
 NodeRef getConfigurationFolder(NodeRef nodeRef)
          Get the configuration folder associated with a configuration node
 boolean isConfigurable(NodeRef nodeRef)
          Indicates whether a node is configurable or not
 void makeConfigurable(NodeRef nodeRef)
          Makes a specified node Configurable.
 void setNodeService(NodeService nodeService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurableServiceImpl

public ConfigurableServiceImpl()
Method Detail

setNodeService

public void setNodeService(NodeService nodeService)

isConfigurable

public boolean isConfigurable(NodeRef nodeRef)
Description copied from interface: ConfigurableService
Indicates whether a node is configurable or not

Specified by:
isConfigurable in interface ConfigurableService
Parameters:
nodeRef - the node reference
Returns:
true if the node is configurable, false otherwise

makeConfigurable

public void makeConfigurable(NodeRef nodeRef)
Description copied from interface: ConfigurableService
Makes a specified node Configurable.

This will create the cofigurable folder, associate it as a child of the node and apply the configurable aspect to the node.

Specified by:
makeConfigurable in interface ConfigurableService
Parameters:
nodeRef - the node reference

getConfigurationFolder

public NodeRef getConfigurationFolder(NodeRef nodeRef)
Description copied from interface: ConfigurableService
Get the configuration folder associated with a configuration node

Specified by:
getConfigurationFolder in interface ConfigurableService
Parameters:
nodeRef - the node reference
Returns:
the configuration folder


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.