|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceService
Method Summary | |
---|---|
java.util.List |
getAllResourceTypeNames() gets a list of all Resource type names. |
java.util.List |
getAllResourceTypes() returns a list of all resource types available. |
java.util.List |
getCertifiableResourceTypeIds() |
java.util.List |
getFilteredResources(java.util.List resourceIds, java.lang.Integer itemRisk) filters out given resources based on a given item risk value. |
java.util.List |
getResourcesByIds(java.util.List resourceIds) get a list of resources by their Ids. |
java.util.List |
getResourcesByType(java.lang.Long resourceTypeId) returns a list of resources based on a resource type id. |
ResourceType |
getResourceTypeByAttributeId(java.lang.Long attributeId) gets a resourceType given an attribute Id. |
Method Detail |
---|
java.util.List getAllResourceTypeNames()
java.util.List getAllResourceTypes()
ResourceType getResourceTypeByAttributeId(java.lang.Long attributeId)
attributeId
- : ID of the attribute which is present in a resource typejava.util.List getResourcesByType(java.lang.Long resourceTypeId)
resourceTypeId
- - Id of resource typejava.util.List getResourcesByIds(java.util.List resourceIds)
resourceIds
- : list of resource IDsjava.util.List getFilteredResources(java.util.List resourceIds, java.lang.Integer itemRisk)
resourceIds
- : a list of resource idsitemRisk
- : itemRisk, which could be of value low, medium, highjava.util.List getCertifiableResourceTypeIds()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |