|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceManagerRemote
Method Summary | |
---|---|
PageList<Resource> |
findChildResources(Subject subject,
int resourceId,
PageControl pageControl)
|
PageList<ResourceComposite> |
findResourceComposites(Subject subject,
ResourceCategory category,
String typeName,
int parentResourceId,
String searchString,
PageControl pageControl)
|
List<Resource> |
findResourceLineage(Subject subject,
int resourceId)
Returns the lineage of the Resource with the specified id. |
PageList<Resource> |
findResourcesByCriteria(Subject subject,
ResourceCriteria criteria)
|
Resource |
getParentResource(Subject subject,
int resourceId)
|
Resource |
getResource(Subject subject,
int resourceId)
Returns the Resource with the specified id. |
void |
uninventoryResources(Subject subject,
int[] resourceIds)
Removes these resources from inventory. |
Method Detail |
---|
Resource getResource(Subject subject, int resourceId)
subject
- The logged in user's subject.resourceId
- the id of a Resource
in inventory.
FetchException
- if the resource represented by the resourceId parameter does not exist, or if the
passed subject does not have permission to view this resource.List<Resource> findResourceLineage(Subject subject, int resourceId)
subject
- The logged in user's subject.resourceId
- the id of a Resource
in inventory
FetchException
- on any issue. Wraps ResourceNotFoundException when necessary.void uninventoryResources(Subject subject, int[] resourceIds)
subject
- The logged in user's subject.resourceIds
- The resources to uninventory.PageList<ResourceComposite> findResourceComposites(Subject subject, ResourceCategory category, String typeName, int parentResourceId, String searchString, PageControl pageControl)
PageList<Resource> findResourcesByCriteria(Subject subject, ResourceCriteria criteria)
PageList<Resource> findChildResources(Subject subject, int resourceId, PageControl pageControl)
Resource getParentResource(Subject subject, int resourceId)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |