com.atlassian.jira.service
Class OfBizServiceConfigStore
java.lang.Object
com.atlassian.jira.service.OfBizServiceConfigStore
- All Implemented Interfaces:
- ServiceConfigStore
public class OfBizServiceConfigStore
- extends Object
- implements ServiceConfigStore
OfBiz implementation of the ServiceConfigStore.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OfBizServiceConfigStore
public OfBizServiceConfigStore(org.ofbiz.core.entity.DelegatorInterface genericDelegator,
ComponentClassManager componentClassManager)
addServiceConfig
public JiraServiceContainer addServiceConfig(String serviceName,
Class<? extends JiraService> serviceClass,
long serviceDelay)
throws ServiceException,
org.ofbiz.core.entity.GenericEntityException
- Description copied from interface:
ServiceConfigStore
- Adds a new Service of the given class with the the given configuration.
- Specified by:
addServiceConfig
in interface ServiceConfigStore
- Parameters:
serviceName
- The service name.serviceClass
- The JiraService class that we wish to add as a service.serviceDelay
- the service delay.
- Returns:
- JiraServiceContainer for this service.
- Throws:
ServiceException
- If there is any errors trying to add this Service.
org.ofbiz.core.entity.GenericEntityException
- A DB error.
editServiceConfig
public void editServiceConfig(JiraServiceContainer config,
long delay,
Map<String,String[]> params)
throws org.ofbiz.core.entity.GenericEntityException,
ServiceException
- Specified by:
editServiceConfig
in interface ServiceConfigStore
- Throws:
org.ofbiz.core.entity.GenericEntityException
ServiceException
removeServiceConfig
public void removeServiceConfig(JiraServiceContainer config)
throws Exception
- Specified by:
removeServiceConfig
in interface ServiceConfigStore
- Throws:
Exception
getServiceConfigForName
public JiraServiceContainer getServiceConfigForName(String name)
throws org.ofbiz.core.entity.GenericEntityException,
ServiceException
- Specified by:
getServiceConfigForName
in interface ServiceConfigStore
- Throws:
org.ofbiz.core.entity.GenericEntityException
ServiceException
getServiceConfigForId
public JiraServiceContainer getServiceConfigForId(Long id)
throws Exception
- Specified by:
getServiceConfigForId
in interface ServiceConfigStore
- Throws:
Exception
getAllServiceConfigs
public Collection<JiraServiceContainer> getAllServiceConfigs()
throws org.ofbiz.core.entity.GenericEntityException
- Specified by:
getAllServiceConfigs
in interface ServiceConfigStore
- Throws:
org.ofbiz.core.entity.GenericEntityException
Copyright © 2002-2013 Atlassian. All Rights Reserved.