org.alfresco.repo.publishing
Class PublishingRootObject

java.lang.Object
  extended by org.alfresco.repo.publishing.PublishingRootObject

public class PublishingRootObject
extends java.lang.Object

Returns a properly configured Environment. The factory is multi-tenancy enabled, returning the correct Environment object for the current domain.

Since:
4.0

Field Summary
protected static org.alfresco.service.namespace.QName CHANNELS_QNAME
           
static java.lang.String NAME
           
 
Constructor Summary
PublishingRootObject()
           
 
Method Summary
 org.alfresco.service.cmr.repository.NodeRef getChannelContainer()
           
 Environment getEnvironment()
           
 PublishingQueueImpl getPublishingQueue()
           
 void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
           
 void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
           
 void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
           
 void setPublishingEventHelper(PublishingEventHelper publishingEventHelper)
           
 void setPublishingRootPath(java.lang.String publishingRootPath)
           
 void setPublishingStore(java.lang.String publishingStore)
           
 void setRetryingTransactionHelper(RetryingTransactionHelper retryingTransactionHelper)
           
 void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

CHANNELS_QNAME

protected static final org.alfresco.service.namespace.QName CHANNELS_QNAME
Constructor Detail

PublishingRootObject

public PublishingRootObject()
Method Detail

getEnvironment

public Environment getEnvironment()
                           throws org.springframework.beans.BeansException
Returns:
the approprieate Environment for the current domain.
Throws:
org.springframework.beans.BeansException

getChannelContainer

public org.alfresco.service.cmr.repository.NodeRef getChannelContainer()

getPublishingQueue

public PublishingQueueImpl getPublishingQueue()

setPublishingStore

public void setPublishingStore(java.lang.String publishingStore)
Parameters:
publishingStore - the publishingStore to set

setPublishingRootPath

public void setPublishingRootPath(java.lang.String publishingRootPath)
Parameters:
publishingRootPath - the publishingRootPath to set

setRetryingTransactionHelper

public void setRetryingTransactionHelper(RetryingTransactionHelper retryingTransactionHelper)
Parameters:
retryingTransactionHelper - the retryingTransactionHelper to set

setNamespaceService

public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
Parameters:
namespaceService - the namespaceService to set

setNodeService

public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Parameters:
nodeService - the nodeService to set

setPublishingEventHelper

public void setPublishingEventHelper(PublishingEventHelper publishingEventHelper)
Parameters:
publishingEventHelper - the publishingEventHelper to set

setSearchService

public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
Parameters:
searchService - the searchService to set

setPermissionService

public void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
Parameters:
permissionService - the permissionService to set


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