|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfigResourcesService
This interface exposes operations that allow creating, updating, and deleting resource objects like the hardware resources and package library objects. It is intended to be a remote interface exposing a stateless session EJB3.0 bean.
| Method Summary | |
|---|---|
Long |
addHardwareResource(HardwareResourceDTO hardwareResource)
Add a HardwareResource object to persistent storage based on the given hardwareResource. |
Long |
addHardwareResourceFamily(HardwareResourceFamilyDTO hardwareResourceFamily)
Add a HardwareResourceFamily object to persistent storage based on the given hardwareResourceFamily |
Long |
addPkgLibrary(PkgLibraryDTO pkgLibrary,
String tags)
Add a PkgLibrary object based on the given pkgLibrary to persistent storage. |
void |
deleteHardwareResource(Long id)
Remove the HardwareResource with the given id from persistent storage. |
void |
deleteHardwareResourceFamily(Long id)
Remove the HardwareResourceFamily with the given id from persistent storage. |
void |
deletePkgLibrary(Long id)
Remove the PkgLibrary with the given id from persistent storage. |
void |
updateHardwareResource(Long id,
Map<String,Object> updates)
Update the HardwareResource in storage with the given id. |
void |
updateHardwareResourceFamily(Long id,
Map<String,Object> updates)
Update the HardwareResourceFamily in storage with the given id. |
void |
updatePkgLibrary(Long id,
Map<String,Object> updates)
Update the PkgLibrary object with the given id. |
| Method Detail |
|---|
Long addHardwareResource(HardwareResourceDTO hardwareResource)
throws DTCServiceException
hardwareResource - hardwareResource to create
com.projectdarkstar.tools.dtc.service.DTCServiceException
DTCServiceException
Long addHardwareResourceFamily(HardwareResourceFamilyDTO hardwareResourceFamily)
throws DTCServiceException
hardwareResourceFamily - hardwareResourceFamily to create
com.projectdarkstar.tools.dtc.service.DTCServiceException
DTCServiceException
void updateHardwareResource(Long id,
Map<String,Object> updates)
throws DTCServiceException
id - id of the HardwareResource to updateupdates - map of updates to use to update the HardwareResource
com.projectdarkstar.tools.dtc.service.DTCServiceException
DTCServiceException
void updateHardwareResourceFamily(Long id,
Map<String,Object> updates)
throws DTCServiceException
id - id of the HardwareResourceFamily to updateupdates - map of updates to use to update the HardwareResourceFamily
com.projectdarkstar.tools.dtc.service.DTCServiceException
DTCServiceException
void deleteHardwareResource(Long id)
throws DTCServiceException
id - id of the HardwareResource to remove
com.projectdarkstar.tools.dtc.service.DTCServiceException
DTCServiceException
void deleteHardwareResourceFamily(Long id)
throws DTCServiceException
id - id of the HardwareResourceFamily to remove
com.projectdarkstar.tools.dtc.service.DTCServiceException
DTCServiceException
Long addPkgLibrary(PkgLibraryDTO pkgLibrary,
String tags)
throws DTCServiceException
pkgLibrary - pkgLibrary to addtags - comma and/or space separated list of tags to assign to the library
com.projectdarkstar.tools.dtc.service.DTCServiceException
DTCServiceException
void updatePkgLibrary(Long id,
Map<String,Object> updates)
throws DTCServiceException
id - id of the PkgLibrary to updateupdates - map of updates to update the PkgLibrary
com.projectdarkstar.tools.dtc.service.DTCServiceException
DTCServiceException
void deletePkgLibrary(Long id)
throws DTCServiceException
id - id of the PkgLibrary to remove
com.projectdarkstar.tools.dtc.service.DTCServiceException
DTCServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||