Skip navigation links


com.essbase.eas.essbase.ui
Class UsrGrpRequestHelper

java.lang.Object
  extended by com.essbase.eas.essbase.ui.UsrGrpRequestHelper


public class UsrGrpRequestHelper
extends java.lang.Object
Since:
6.2.0
Version:
6.5.4
Author:
Hyperion Solutions

Nested Class Summary
static class UsrGrpRequestHelper.MyComparator
           

 

Field Summary
static int CAN_CREATE
           
static int CAN_EDIT
           
static int CAN_PROPOGATE
           
static int CAN_RENAME
           
static int IS_SUPER
           

 

Method Summary
static void browseCAS(Server server)
           
static boolean checkAppDbAccess(Server currentServer, Application app, Database db)
           
static int determinePrivilege(Server server, User user)
           
static java.util.ArrayList getSecurityUserList(Application appName, Database dbName, boolean isUser, boolean allUsers)
          This method returns the list of all users or groups having prvilleges on a particular set of Application/Database
static java.util.ArrayList getSecurityUserList(Server server, java.lang.String appName, java.lang.String dbName, boolean isUser, boolean allUsers)
           
static boolean requestConfirmGroups(Group[] groups, java.lang.String confirmTitle, java.lang.String confirmMessage)
           
static boolean requestConfirmUsers(User[] users, java.lang.String confirmTitle, java.lang.String confirmMessage)
           
static boolean requestCopyGroup(Group group, Server destServer, java.lang.String newName, boolean replace)
           
static void requestCopyGroups(Group[] groups, boolean isSuperSession)
           
static boolean requestCopyUser(User user, Server destServer, boolean isInternal, java.lang.String password, java.lang.String newName, java.lang.String protocol, java.lang.String parameters, boolean replace)
           
static void requestCopyUsers(User[] users, boolean isSuperSession)
           
static void requestCreateGroup()
           
static boolean requestCreateGroup(Group group)
           
static void requestCreateGroup(Server server)
           
static void requestCreateUser()
           
static void requestCreateUser(Server server)
           
static boolean requestCreateUser(User user)
           
static boolean requestCreateUser(User user, boolean bTempUser)
           
static boolean requestDeleteGroup(java.lang.Object group, boolean bConfirm)
           
static boolean requestDeleteUser(java.lang.Object user)
           
static boolean requestDeleteUser(java.lang.Object user, boolean bConfirm)
           
static boolean requestDisableUser(User userObj)
           
static boolean requestEnableUser(java.lang.String server, java.lang.String username)
           
static boolean requestEnableUser(User userObj)
           
static boolean requestFindUserInGroup(java.lang.String servername, java.lang.String username, java.lang.String groupname)
           
static boolean requestGroupProperties(java.lang.Object obj, boolean refresh)
           
static boolean requestGroupProperties(java.lang.Object obj, boolean refresh, boolean skipAccess)
           
static boolean requestGroupSetProperties(Group groupObj, boolean skipUsers)
           
static java.util.List requestNonSupervisors(Server server, boolean isUser)
          Gets the list of non supervisor users for a server
static void requestPropagateDialog(java.lang.Object user)
           
static void requestRefreshGroups(Server server)
           
static void requestRefreshUsers(Server server, boolean skipAccessType)
           
static void requestRenameGroup(Group group)
           
static boolean requestRenameGroup(Group group, java.lang.String newName)
           
static void requestRenameUser(User user)
           
static boolean requestRenameUser(User user, java.lang.String newName)
           
static void requestServerGroupsFrame(java.lang.Object obj)
           
static void requestServerUsersFrame(java.lang.Object obj)
           
static java.util.ArrayList<UserApp> requestUserApplicationAccess(java.lang.String server, java.lang.String username, java.lang.String appname)
           
static java.util.ArrayList<AppAccess.DbAccess> requestUserDatabaseAccess(java.lang.String server, java.lang.String username, java.lang.String appname, java.lang.String dbname)
           
static java.util.ArrayList<AppAccess.DbAccess> requestUserDatabaseAccessEx(java.lang.String server, java.lang.String username, java.lang.String appname, java.lang.String dbname, boolean isUser)
           
static boolean requestUserProperties(java.lang.Object obj, boolean refresh)
           
static boolean requestUserProperties(java.lang.Object obj, boolean refresh, boolean skipAccess)
           
static boolean requestUserSetProperties(User userObj, boolean skipGroups, boolean skipUsers)
           
static java.util.ArrayList setAppList(Server server, java.util.ArrayList appAccessList, boolean isUser)
          Set the changed parameters for the changed rows in security list window.
static java.util.ArrayList setDbList(Server server, java.util.ArrayList appAccessList, boolean isUser)
          Set the changed parameters for the changed rows in security list window.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

CAN_EDIT

public static final int CAN_EDIT
See Also:
Constant Field Values

CAN_CREATE

public static final int CAN_CREATE
See Also:
Constant Field Values

CAN_RENAME

public static final int CAN_RENAME
See Also:
Constant Field Values

CAN_PROPOGATE

public static final int CAN_PROPOGATE
See Also:
Constant Field Values

IS_SUPER

public static final int IS_SUPER
See Also:
Constant Field Values

Method Detail

requestServerUsersFrame

public static void requestServerUsersFrame(java.lang.Object obj)

requestServerGroupsFrame

public static void requestServerGroupsFrame(java.lang.Object obj)

requestCreateUser

public static void requestCreateUser(Server server)

requestCreateUser

public static void requestCreateUser()

requestCreateUser

public static boolean requestCreateUser(User user)

requestCreateUser

public static boolean requestCreateUser(User user,
                                        boolean bTempUser)

requestCopyUsers

public static void requestCopyUsers(User[] users,
                                    boolean isSuperSession)

requestCopyGroups

public static void requestCopyGroups(Group[] groups,
                                     boolean isSuperSession)

requestCopyUser

public static boolean requestCopyUser(User user,
                                      Server destServer,
                                      boolean isInternal,
                                      java.lang.String password,
                                      java.lang.String newName,
                                      java.lang.String protocol,
                                      java.lang.String parameters,
                                      boolean replace)

requestCopyGroup

public static boolean requestCopyGroup(Group group,
                                       Server destServer,
                                       java.lang.String newName,
                                       boolean replace)

requestRenameUser

public static void requestRenameUser(User user)

requestRenameGroup

public static void requestRenameGroup(Group group)

requestRenameUser

public static boolean requestRenameUser(User user,
                                        java.lang.String newName)

requestRenameGroup

public static boolean requestRenameGroup(Group group,
                                         java.lang.String newName)

requestDeleteUser

public static boolean requestDeleteUser(java.lang.Object user)

requestRefreshUsers

public static void requestRefreshUsers(Server server,
                                       boolean skipAccessType)

requestRefreshGroups

public static void requestRefreshGroups(Server server)

requestConfirmGroups

public static boolean requestConfirmGroups(Group[] groups,
                                           java.lang.String confirmTitle,
                                           java.lang.String confirmMessage)

requestConfirmUsers

public static boolean requestConfirmUsers(User[] users,
                                          java.lang.String confirmTitle,
                                          java.lang.String confirmMessage)

requestDeleteUser

public static boolean requestDeleteUser(java.lang.Object user,
                                        boolean bConfirm)

requestPropagateDialog

public static void requestPropagateDialog(java.lang.Object user)

requestDeleteGroup

public static boolean requestDeleteGroup(java.lang.Object group,
                                         boolean bConfirm)

requestCreateGroup

public static void requestCreateGroup()

requestCreateGroup

public static void requestCreateGroup(Server server)

requestCreateGroup

public static boolean requestCreateGroup(Group group)

requestGroupProperties

public static boolean requestGroupProperties(java.lang.Object obj,
                                             boolean refresh)

requestGroupProperties

public static boolean requestGroupProperties(java.lang.Object obj,
                                             boolean refresh,
                                             boolean skipAccess)

requestFindUserInGroup

public static boolean requestFindUserInGroup(java.lang.String servername,
                                             java.lang.String username,
                                             java.lang.String groupname)

requestUserProperties

public static boolean requestUserProperties(java.lang.Object obj,
                                            boolean refresh)

requestUserProperties

public static boolean requestUserProperties(java.lang.Object obj,
                                            boolean refresh,
                                            boolean skipAccess)

requestUserSetProperties

public static boolean requestUserSetProperties(User userObj,
                                               boolean skipGroups,
                                               boolean skipUsers)

requestGroupSetProperties

public static boolean requestGroupSetProperties(Group groupObj,
                                                boolean skipUsers)

requestEnableUser

public static boolean requestEnableUser(java.lang.String server,
                                        java.lang.String username)

requestEnableUser

public static boolean requestEnableUser(User userObj)

requestDisableUser

public static boolean requestDisableUser(User userObj)

requestUserDatabaseAccess

public static java.util.ArrayList<AppAccess.DbAccess> requestUserDatabaseAccess(java.lang.String server,
                                                                                java.lang.String username,
                                                                                java.lang.String appname,
                                                                                java.lang.String dbname)

requestUserDatabaseAccessEx

public static java.util.ArrayList<AppAccess.DbAccess> requestUserDatabaseAccessEx(java.lang.String server,
                                                                                  java.lang.String username,
                                                                                  java.lang.String appname,
                                                                                  java.lang.String dbname,
                                                                                  boolean isUser)

requestNonSupervisors

public static java.util.List requestNonSupervisors(Server server,
                                                   boolean isUser)
Gets the list of non supervisor users for a server

requestUserApplicationAccess

public static java.util.ArrayList<UserApp> requestUserApplicationAccess(java.lang.String server,
                                                                        java.lang.String username,
                                                                        java.lang.String appname)

getSecurityUserList

public static java.util.ArrayList getSecurityUserList(Application appName,
                                                      Database dbName,
                                                      boolean isUser,
                                                      boolean allUsers)
This method returns the list of all users or groups having prvilleges on a particular set of Application/Database
Parameters:
appName - The application name for the list is to be fetched
dbName - Name of the database for the list is to be fetched
isUser - Is the list for user or group. true if its a user ...false for groups
allUsers - Is the list to be fetched for all users, irrespective of their rights. true for list of all users, false for filtered users list
Returns:
list of users/groups

getSecurityUserList

public static java.util.ArrayList getSecurityUserList(Server server,
                                                      java.lang.String appName,
                                                      java.lang.String dbName,
                                                      boolean isUser,
                                                      boolean allUsers)

checkAppDbAccess

public static boolean checkAppDbAccess(Server currentServer,
                                       Application app,
                                       Database db)

setAppList

public static java.util.ArrayList setAppList(Server server,
                                             java.util.ArrayList appAccessList,
                                             boolean isUser)
Set the changed parameters for the changed rows in security list window. appAccessList will contain the list of only changed rows. UserProperties are fetched and set for only these changed rows. Calling method takes care that only changed rows are passed to this method for optimization.
Parameters:
server - Server
appAccessList - This is list of AppAccess classes corresponding only to the changed rows.
isUser - This variable is true for users and false for groups
Returns:
true if success

setDbList

public static java.util.ArrayList setDbList(Server server,
                                            java.util.ArrayList appAccessList,
                                            boolean isUser)
Set the changed parameters for the changed rows in security list window. appAccessList will contain the list of only changed rows. UserProperties are fetched and set for only these changed rows. Calling method takes care that only changed rows are passed to this method for optimization.
Parameters:
server - Server
appAccessList - This is list of AppAccess classes corresponding only to the changed rows.
isUser - This variable is true for users and false for groups
Returns:
true if success

determinePrivilege

public static int determinePrivilege(Server server,
                                     User user)

browseCAS

public static void browseCAS(Server server)

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.