Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.core.service
Class CaseManagementDistributionTypeServiceImpl

java.lang.Object
  extended by org.nuxeo.runtime.model.DefaultComponent
      extended by org.nuxeo.cm.core.service.CaseManagementDistributionTypeServiceImpl
All Implemented Interfaces:
Serializable, CaseManagementDistributionTypeService, org.nuxeo.runtime.model.Adaptable, org.nuxeo.runtime.model.Component, org.nuxeo.runtime.model.Extensible

public class CaseManagementDistributionTypeServiceImpl
extends org.nuxeo.runtime.model.DefaultComponent
implements CaseManagementDistributionTypeService

Author:
Nicolas Ulrich
See Also:
Serialized Form

Constructor Summary
CaseManagementDistributionTypeServiceImpl()
           
 
Method Summary
 void activate(org.nuxeo.runtime.model.ComponentContext context)
           
 String getAllProperty(String distributionType)
          Get the all recipients property corresponding to the distribution type.
 Set<String> getDistributionTypes()
           
 String getExternalProperty(String distributionType)
          Get the initial external recipients property corresponding to the distribution type.
 String getInternalProperty(String distributionType)
          Get the initial internal recipients property corresponding to the distribution type.
 void registerContribution(Object contribution, String extensionPoint, org.nuxeo.runtime.model.ComponentInstance contributor)
           
 void unregisterContribution(Object contribution, String extensionPoint, org.nuxeo.runtime.model.ComponentInstance contributor)
           
 
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
applicationStarted, deactivate, getAdapter, registerExtension, unregisterExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaseManagementDistributionTypeServiceImpl

public CaseManagementDistributionTypeServiceImpl()
Method Detail

activate

public void activate(org.nuxeo.runtime.model.ComponentContext context)
              throws Exception
Specified by:
activate in interface org.nuxeo.runtime.model.Component
Overrides:
activate in class org.nuxeo.runtime.model.DefaultComponent
Throws:
Exception

registerContribution

public void registerContribution(Object contribution,
                                 String extensionPoint,
                                 org.nuxeo.runtime.model.ComponentInstance contributor)
                          throws Exception
Overrides:
registerContribution in class org.nuxeo.runtime.model.DefaultComponent
Throws:
Exception

unregisterContribution

public void unregisterContribution(Object contribution,
                                   String extensionPoint,
                                   org.nuxeo.runtime.model.ComponentInstance contributor)
Overrides:
unregisterContribution in class org.nuxeo.runtime.model.DefaultComponent

getAllProperty

public String getAllProperty(String distributionType)
                      throws CaseManagementException
Description copied from interface: CaseManagementDistributionTypeService
Get the all recipients property corresponding to the distribution type.

Specified by:
getAllProperty in interface CaseManagementDistributionTypeService
Parameters:
distributionType - A Distribution Type.
Returns:
The corresponding schema property name.
Throws:
CaseManagementException

getDistributionTypes

public Set<String> getDistributionTypes()
Specified by:
getDistributionTypes in interface CaseManagementDistributionTypeService

getExternalProperty

public String getExternalProperty(String distributionType)
                           throws CaseManagementException
Description copied from interface: CaseManagementDistributionTypeService
Get the initial external recipients property corresponding to the distribution type.

Specified by:
getExternalProperty in interface CaseManagementDistributionTypeService
Parameters:
distributionType - A Distribution Type.
Returns:
The corresponding schema property name.
Throws:
CaseManagementException

getInternalProperty

public String getInternalProperty(String distributionType)
                           throws CaseManagementException
Description copied from interface: CaseManagementDistributionTypeService
Get the initial internal recipients property corresponding to the distribution type.

Specified by:
getInternalProperty in interface CaseManagementDistributionTypeService
Parameters:
distributionType - A Distribution Type.
Returns:
The corresponding schema property name.
Throws:
CaseManagementException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.