org.rhq.enterprise.server.perspective
Interface PerspectiveManagerRemote


public interface PerspectiveManagerRemote

PerspectiveManagerRemote

Version:
$Rev$

Method Summary
 List<org.rhq.core.clientapi.descriptor.perspective.Perspective> getAllPerspectives()
          Get the list of all the Perspectives the user has access to
 org.rhq.core.clientapi.descriptor.perspective.Perspective getPerspective(String name)
          Get a named Perspective
 List<org.rhq.core.clientapi.descriptor.perspective.Task> getTasks(String contextName)
          Get a list of Task items that are relative to the Context name passed in.
 List<org.rhq.core.clientapi.descriptor.perspective.Task> getTasksWithArgs(String contextName, Object... args)
          Get a list of Task items that are relative to the Context name passed in.
 

Method Detail

getAllPerspectives

List<org.rhq.core.clientapi.descriptor.perspective.Perspective> getAllPerspectives()
Get the list of all the Perspectives the user has access to

Returns:
List of Perspective objects user has access too

getPerspective

org.rhq.core.clientapi.descriptor.perspective.Perspective getPerspective(String name)
Get a named Perspective

Parameters:
name - of Perspective desired
Returns:
Perspective looked up

getTasksWithArgs

List<org.rhq.core.clientapi.descriptor.perspective.Task> getTasksWithArgs(String contextName,
                                                                          Object... args)
Get a list of Task items that are relative to the Context name passed in.

Parameters:
contextName - to lookup
Object - array to parameterize for the Tasks returned.
Returns:
List that match. null if none found or defined that relate to this type of object passed in.

getTasks

List<org.rhq.core.clientapi.descriptor.perspective.Task> getTasks(String contextName)
Get a list of Task items that are relative to the Context name passed in.

Parameters:
contextName - to lookup
Returns:
List that match. null if none found or defined that relate to this type of object passed in.


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.