com.bea.ales.management
Class IdentityQueryContainer

java.lang.Object
  |
  +--com.bea.ales.management.IdentityQueryContainer

public class IdentityQueryContainer
extends java.lang.Object

This class is the place holder for both the UserQueryResult and GroupQueryResult. Certain queries like get group membership return both users and groups in one response. This class will hold both the UserQueryResult and GroupQueryResult that are returned as a response.


Method Summary
 void close()
          Close the container object.
 GroupQueryResult getGroupResult()
          Get the group query result in the container.
 UserQueryResult getUserResult()
          Get the user query result in the container.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getGroupResult

public GroupQueryResult getGroupResult()
Get the group query result in the container.

Returns:
the group query result.

getUserResult

public UserQueryResult getUserResult()
Get the user query result in the container.

Returns:
the user query result.

close

public void close()
           throws ManagementException
Close the container object. The group query result and user query result in the contain are closed too.

Throws:
ManagementException - if the operation fails.


Copyright © 2004-2008, Oracle and/or its affiliates. All rights reserved.