BEA Systems, Inc.

ALES Entitlement Query API Reference

com.bea.ales.EntitlementQuery
Class EntitlementQueryFactory

java.lang.Object
  |
  +--com.bea.ales.EntitlementQuery.EntitlementQueryFactory

public class EntitlementQueryFactory
extends java.lang.Object

Factory class for Querying the entitlement information This factory produces Query objects for:

  • Users
  • Groups
  • Identity information changes

    Author:
    Copyright © 2007 BEA Systems, Inc. All Rights Reserved.

    Method Summary
     ChangeQuery getChangeQuery()
              Factory method that should be used to create an instance of ChangeQuery interface.
     GroupQuery getGroupQuery()
              Factory method that should be used to create an instance of GroupQuery interface.
    static EntitlementQueryFactory getInstance()
              Factory method to get singleton instance of EntitlementQueryFactory class
     UserQuery getUserQuery()
              Factory method that should be used to create an instance of UserQuery interface.
    static void initialize(java.util.Properties properties)
              Initilize the factory with kodo properites.
     
    Methods inherited from class java.lang.Object
    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Method Detail

    initialize

    public static void initialize(java.util.Properties properties)
                           throws QueryException
    Initilize the factory with kodo properites.

    Parameters:
    properties - properties used by kodo to connect database. The properties should include all from file ALES-ADMIN/config/database.properites and include "javax.jdo.option.ConnectionPassword" to indicate the password for database
    Throws:
    QueryException -  

    getUserQuery

    public UserQuery getUserQuery()
                           throws QueryException
    Factory method that should be used to create an instance of UserQuery interface.

    Returns:
    an instance of the UserQuery
    Throws:
    QueryException -  
    See Also:
    UserQuery

    getGroupQuery

    public GroupQuery getGroupQuery()
                             throws QueryException
    Factory method that should be used to create an instance of GroupQuery interface.

    Returns:
    an instance of the GroupQuery
    Throws:
    QueryException -  
    See Also:
    GroupQuery

    getChangeQuery

    public ChangeQuery getChangeQuery()
                               throws QueryException
    Factory method that should be used to create an instance of ChangeQuery interface.

    Returns:
    an instance of the ChangeQuery
    Throws:
    QueryException -  
    See Also:
    ChangeQuery

    getInstance

    public static EntitlementQueryFactory getInstance()
                                               throws QueryException
    Factory method to get singleton instance of EntitlementQueryFactory class

    Returns:
    an instance of the EntitlementQueryFactory class
    Throws:
    QueryException -  

    Documentation is available at
    http://edocs.bea.com/ales/docs26