com.projectdarkstar.tools.dtc.beans
Class ConfigResourcesServiceBean
java.lang.Object
com.projectdarkstar.tools.dtc.beans.ConfigResourcesServiceBean
- All Implemented Interfaces:
- ConfigResourcesService
public class ConfigResourcesServiceBean
- extends Object
- implements ConfigResourcesService
This bean implements the ConfigResourcesService providing operations to
add, remove, and update resource entities in the database.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigResourcesServiceBean
public ConfigResourcesServiceBean()
addHardwareResource
public Long addHardwareResource(HardwareResourceDTO hardwareResource)
throws DTCServiceException
- Specified by:
addHardwareResource in interface ConfigResourcesService
- Throws:
DTCServiceException
addHardwareResourceFamily
public Long addHardwareResourceFamily(HardwareResourceFamilyDTO hardwareResourceFamily)
throws DTCServiceException
- Specified by:
addHardwareResourceFamily in interface ConfigResourcesService
- Throws:
DTCServiceException
addPkgLibrary
public Long addPkgLibrary(PkgLibraryDTO pkgLibrary,
String tags)
throws DTCServiceException
- Specified by:
addPkgLibrary in interface ConfigResourcesService
- Throws:
DTCServiceException
deleteHardwareResource
public void deleteHardwareResource(Long id)
throws DTCServiceException
- Specified by:
deleteHardwareResource in interface ConfigResourcesService
- Throws:
DTCServiceException
deleteHardwareResourceFamily
public void deleteHardwareResourceFamily(Long id)
throws DTCServiceException
- Specified by:
deleteHardwareResourceFamily in interface ConfigResourcesService
- Throws:
DTCServiceException
deletePkgLibrary
public void deletePkgLibrary(Long id)
throws DTCServiceException
- Specified by:
deletePkgLibrary in interface ConfigResourcesService
- Throws:
DTCServiceException
updateHardwareResource
public void updateHardwareResource(Long id,
Map<String,Object> updates)
throws DTCServiceException
- Specified by:
updateHardwareResource in interface ConfigResourcesService
- Throws:
DTCServiceException
updateHardwareResourceFamily
public void updateHardwareResourceFamily(Long id,
Map<String,Object> updates)
throws DTCServiceException
- Specified by:
updateHardwareResourceFamily in interface ConfigResourcesService
- Throws:
DTCServiceException
updatePkgLibrary
public void updatePkgLibrary(Long id,
Map<String,Object> updates)
throws DTCServiceException
- Specified by:
updatePkgLibrary in interface ConfigResourcesService
- Throws:
DTCServiceException
Copyright © 2013. All Rights Reserved.