@AccessLevel(value=EXTERNAL) public interface ServiceGroupDAO extends curam.util.persistence.StandardDAO<ServiceGroup>
Modifier and Type | Method and Description |
---|---|
java.util.Set<ServiceGroup> |
readAll()
Reads all the service groups on the system.
|
java.util.Set<ServiceGroup> |
searchByName(java.lang.String name)
Searches service group by name.
|
java.util.Set<ServiceGroup> |
searchByNameAndReference(java.lang.String name,
java.lang.String reference)
Searches for service group based on name and reference.
|
java.util.List<ServiceGroup> |
searchByParentServiceGroup(long parentServiceGroupID)
Searches for child service groups for given service group.
|
java.util.Set<ServiceGroup> |
searchByReference(java.lang.String reference)
Searches the service groups by service group reference.
|
java.util.List<ServiceGroup> |
searchByReferenceAndStatus(java.lang.String reference,
java.lang.String recordStatus)
Searches service group by reference and status.
|
@AccessLevel(value=EXTERNAL) java.util.Set<ServiceGroup> readAll()
java.util.List<ServiceGroup> searchByReferenceAndStatus(java.lang.String reference, java.lang.String recordStatus)
reference
- The reference for the service group.recordStatus
- The record status of the service group.java.util.Set<ServiceGroup> searchByName(java.lang.String name)
name
- The name to search for (case is ignored).java.util.Set<ServiceGroup> searchByNameAndReference(java.lang.String name, java.lang.String reference) throws curam.util.exception.AppException, curam.util.exception.InformationalException
name
- The service group name.reference
- The reference for the service group.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.java.util.List<ServiceGroup> searchByParentServiceGroup(long parentServiceGroupID)
parentServiceGroupID
- The parent Service Group ID.java.util.Set<ServiceGroup> searchByReference(java.lang.String reference)
reference
- The service group reference.