com.projectdarkstar.tools.dtc.beans
Class ConfigAppsServiceBean

java.lang.Object
  extended by com.projectdarkstar.tools.dtc.beans.ConfigAppsServiceBean
All Implemented Interfaces:
ConfigAppsService

public class ConfigAppsServiceBean
extends Object
implements ConfigAppsService

This bean implements the ConfigAppsService interface providing operations to add, update, and remove application configurations in the database.


Constructor Summary
ConfigAppsServiceBean()
           
 
Method Summary
 Long addClientApp(ClientAppDTO clientApp)
           
 Long addClientAppConfig(ClientAppConfigDTO clientAppConfig)
           
 Long addServerApp(ServerAppDTO serverApp)
           
 Long addServerAppConfig(ServerAppConfigDTO serverAppConfig)
           
 Long addSystemProbe(SystemProbeDTO systemProbe, String tags)
           
 void deleteClientApp(Long id)
           
 void deleteClientAppConfig(Long id)
           
 void deleteServerApp(Long id)
           
 void deleteServerAppConfig(Long id)
           
 void deleteSystemProbe(Long id)
           
 void updateClientApp(Long id, Map<String,Object> updates)
           
 void updateClientAppConfig(Long id, Map<String,Object> updates)
           
 void updateServerApp(Long id, Map<String,Object> updates)
           
 void updateServerAppConfig(Long id, Map<String,Object> updates)
           
 void updateSystemProbe(Long id, Map<String,Object> updates)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigAppsServiceBean

public ConfigAppsServiceBean()
Method Detail

addClientApp

public Long addClientApp(ClientAppDTO clientApp)
                  throws DTCServiceException
Specified by:
addClientApp in interface ConfigAppsService
Throws:
DTCServiceException

addClientAppConfig

public Long addClientAppConfig(ClientAppConfigDTO clientAppConfig)
                        throws DTCServiceException
Specified by:
addClientAppConfig in interface ConfigAppsService
Throws:
DTCServiceException

addServerApp

public Long addServerApp(ServerAppDTO serverApp)
                  throws DTCServiceException
Specified by:
addServerApp in interface ConfigAppsService
Throws:
DTCServiceException

addServerAppConfig

public Long addServerAppConfig(ServerAppConfigDTO serverAppConfig)
                        throws DTCServiceException
Specified by:
addServerAppConfig in interface ConfigAppsService
Throws:
DTCServiceException

addSystemProbe

public Long addSystemProbe(SystemProbeDTO systemProbe,
                           String tags)
                    throws DTCServiceException
Specified by:
addSystemProbe in interface ConfigAppsService
Throws:
DTCServiceException

deleteClientApp

public void deleteClientApp(Long id)
                     throws DTCServiceException
Specified by:
deleteClientApp in interface ConfigAppsService
Throws:
DTCServiceException

deleteClientAppConfig

public void deleteClientAppConfig(Long id)
                           throws DTCServiceException
Specified by:
deleteClientAppConfig in interface ConfigAppsService
Throws:
DTCServiceException

deleteServerApp

public void deleteServerApp(Long id)
                     throws DTCServiceException
Specified by:
deleteServerApp in interface ConfigAppsService
Throws:
DTCServiceException

deleteServerAppConfig

public void deleteServerAppConfig(Long id)
                           throws DTCServiceException
Specified by:
deleteServerAppConfig in interface ConfigAppsService
Throws:
DTCServiceException

deleteSystemProbe

public void deleteSystemProbe(Long id)
                       throws DTCServiceException
Specified by:
deleteSystemProbe in interface ConfigAppsService
Throws:
DTCServiceException

updateClientApp

public void updateClientApp(Long id,
                            Map<String,Object> updates)
                     throws DTCServiceException
Specified by:
updateClientApp in interface ConfigAppsService
Throws:
DTCServiceException

updateClientAppConfig

public void updateClientAppConfig(Long id,
                                  Map<String,Object> updates)
                           throws DTCServiceException
Specified by:
updateClientAppConfig in interface ConfigAppsService
Throws:
DTCServiceException

updateServerApp

public void updateServerApp(Long id,
                            Map<String,Object> updates)
                     throws DTCServiceException
Specified by:
updateServerApp in interface ConfigAppsService
Throws:
DTCServiceException

updateServerAppConfig

public void updateServerAppConfig(Long id,
                                  Map<String,Object> updates)
                           throws DTCServiceException
Specified by:
updateServerAppConfig in interface ConfigAppsService
Throws:
DTCServiceException

updateSystemProbe

public void updateSystemProbe(Long id,
                              Map<String,Object> updates)
                       throws DTCServiceException
Specified by:
updateSystemProbe in interface ConfigAppsService
Throws:
DTCServiceException


Copyright © 2013. All Rights Reserved.