|
||||||||||
| 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,
java.lang.String typeName,
int parentResourceId,
java.lang.String searchString,
PageControl pageControl)
|
java.util.List<Resource> |
findResourceLineage(Subject subject,
int resourceId)
Returns the lineage of the Resource with the specified id. |
PageList<Resource> |
findResourcesByCriteria(Subject subject,
ResourceCriteria criteria)
|
ResourceAvailability |
getLiveResourceAvailability(Subject subject,
int resourceId)
Returns the availability of the resource with the specified id. |
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 |
|---|
ResourceAvailability getLiveResourceAvailability(Subject subject,
int resourceId)
subject - The logged in user's subject.resourceId - the id of a Resource in inventory.
null,
the resource availability is UNKNOWN.
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.
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.
java.util.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,
java.lang.String typeName,
int parentResourceId,
java.lang.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 | |||||||||