org.alfresco.repo.configuration
Class ConfigurableServiceImpl
java.lang.Object
org.alfresco.repo.configuration.ConfigurableServiceImpl
- All Implemented Interfaces:
- ConfigurableService
public class ConfigurableServiceImpl
- extends java.lang.Object
- implements ConfigurableService
Method Summary |
org.alfresco.service.cmr.repository.NodeRef |
getConfigurationFolder(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Get the configuration folder associated with a configuration node |
boolean |
isConfigurable(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Indicates whether a node is configurable or not |
void |
makeConfigurable(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Makes a specified node Configurable. |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurableServiceImpl
public ConfigurableServiceImpl()
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
isConfigurable
public boolean isConfigurable(org.alfresco.service.cmr.repository.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(org.alfresco.service.cmr.repository.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 org.alfresco.service.cmr.repository.NodeRef getConfigurationFolder(org.alfresco.service.cmr.repository.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.