Skip navigation links


com.essbase.eas.essbase.defs
Class UsrGrpProperties

java.lang.Object
  extended by com.essbase.eas.essbase.defs.UsrGrpProperties

Direct Known Subclasses:
GroupProperties, UserProperties

public class UsrGrpProperties
extends java.lang.Object

Field Summary
protected  short access
          access is specific to this user/group.
protected  java.lang.String authProtocol
           
protected  java.lang.String connParameter
           
protected  short maxAccess
          maxAccess is the maximum access privileges granted to this user/group.

 

Constructor Summary
UsrGrpProperties()
           

 

Method Summary
 short getAccess()
           
 AppAccess getApp(java.lang.String appName)
           
 AppAccess[] getAppAccessArray()
           
 java.lang.String getAppName()
           
 java.util.ArrayList<AppAccess> getApps()
           
 boolean getCreateDeleteApps()
          getCreateDeleteApps returns true if this user/group has the app create property set.
 boolean getCreateDeleteUsersGroups()
          getCreateDeleteUsersGroups returns true if this user/group has the user/group create property set.
 java.util.ArrayList getDbAccessList()
           
 long getDbConnectTime()
           
 java.lang.String getDbName()
           
 java.util.ArrayList<AppAccess.DbAccess> getDbs(java.lang.String appname)
           
 AppAccess[] getDecAppAccessArray()
           
 java.lang.String getDescription()
           
 short getDomainAccess()
           
 java.lang.String getEMailId()
           
 AppAccess[] getEncAppAccessArray()
           
 short getExpiration()
           
 short getFailCount()
           
 long getLastLogin()
           
 boolean getLockedOut()
           
 boolean getLogin()
           
 long getLoginId()
           
 short getMaxAccess()
          maxAccess is set by the EssBase server and represents the maximum access granted in all groups in which the user has membership.
 java.lang.String getName()
           
 java.lang.String getParameter()
           
 java.lang.String getProtocol()
           
 java.lang.String getProviderName()
           
 boolean getPwdChgNow()
           
 short getType()
           
 boolean isDisabled()
           
 boolean isSupervisor()
          isSupervisor returns true if this user/group has the access property set to supervisor.
 boolean isUser()
           
 boolean matches(UsrGrpProperties anGroupProp)
           
 void setAccess(short access)
           
 void setApp(AppAccess appAcc)
           
 void setAppAccessArray(AppAccess[] appAccessArray)
           
 void setAppName(java.lang.String appName)
           
 void setApps(java.util.ArrayList<AppAccess> val)
           
 void setCreateDeleteApps(boolean canCreate)
          setCreateDeleteApps sets the app create status for this specific user/group.
 void setCreateDeleteUsersGroups(boolean canCreate)
          setCreateDeleteUsersGroups sets the user create status for this specific user/group.
 void setDbAccessList(java.util.ArrayList val)
           
 void setDbConnectTime(long dbConnectTime)
           
 void setDbName(java.lang.String dbName)
           
 void setDbs(java.lang.String appname, java.util.ArrayList<AppAccess.DbAccess> dbList)
           
 void setDescription(java.lang.String desc)
           
 void setDisabled(boolean value)
           
 void setDomainAccess(short da)
           
 void setEMailId(java.lang.String eMailId)
           
 void setExpiration(short expiration)
           
 void setFailCount(short failCount)
           
 void setIsUser(boolean value)
           
 void setLastLogin(long lastLogin)
           
 void setLockedOut(boolean lockedOut)
           
 void setLogin(boolean login)
           
 void setLoginId(long loginId)
           
 void setMaxAccess(short maxAccess)
          maxAccess is not and should not be set by the client.
 void setName(java.lang.String name)
           
 void setParameter(java.lang.String parameter)
           
 void setProtocol(java.lang.String protocol)
           
 void setProviderName(java.lang.String providerName)
           
 void setPwdChgNow(boolean pwdChgNow)
           
 void setSupervisor(boolean supervisor)
          setSupervisor sets the supervisor status for this specific user/group.
 void setType(short type)
           
 java.lang.String toString()
           

 

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

 

Field Detail

authProtocol

protected java.lang.String authProtocol

connParameter

protected java.lang.String connParameter

access

protected short access
access is specific to this user/group.

maxAccess

protected short maxAccess
maxAccess is the maximum access privileges granted to this user/group. A user may have more extensive privileges than his specific access as a member of a group

Constructor Detail

UsrGrpProperties

public UsrGrpProperties()

Method Detail

getAppAccessArray

public AppAccess[] getAppAccessArray()

setAppAccessArray

public void setAppAccessArray(AppAccess[] appAccessArray)

setApps

public void setApps(java.util.ArrayList<AppAccess> val)

setApp

public void setApp(AppAccess appAcc)

getApps

public java.util.ArrayList<AppAccess> getApps()

getApp

public AppAccess getApp(java.lang.String appName)

setDbAccessList

public void setDbAccessList(java.util.ArrayList val)

getDbAccessList

public java.util.ArrayList getDbAccessList()

getDbs

public java.util.ArrayList<AppAccess.DbAccess> getDbs(java.lang.String appname)

setDbs

public void setDbs(java.lang.String appname,
                   java.util.ArrayList<AppAccess.DbAccess> dbList)

setSupervisor

public void setSupervisor(boolean supervisor)
setSupervisor sets the supervisor status for this specific user/group. Even if this individual access is not set to supervisor a user may still have supervisor status as a member of a supervisor group. See UserProperties.hasSupervisorStatus.

isSupervisor

public boolean isSupervisor()
isSupervisor returns true if this user/group has the access property set to supervisor. Even if this individual access is not set to supervisor a user may still have supervisor status as a member of a supervisor group. See UserProperties.hasSupervisorStatus.

setCreateDeleteUsersGroups

public void setCreateDeleteUsersGroups(boolean canCreate)
setCreateDeleteUsersGroups sets the user create status for this specific user/group. Even if this individual user/group create access is not set a user may still have user/group create status as a member of a group that permits user/group creation. See UserProperties.canCreateDeleteUsersGroups.

getCreateDeleteUsersGroups

public boolean getCreateDeleteUsersGroups()
getCreateDeleteUsersGroups returns true if this user/group has the user/group create property set. Even if this individual access is not set to user/group create a user may still have user/group create status as a member of a user/group create group. See UserProperties.canCreateDeleteUsersGroups.

setCreateDeleteApps

public void setCreateDeleteApps(boolean canCreate)
setCreateDeleteApps sets the app create status for this specific user/group. Even if this individual app create access is not set a user may still have app create status as a member of a group that permits app creation. See UserProperties.canCreateDeleteApps

getCreateDeleteApps

public boolean getCreateDeleteApps()
getCreateDeleteApps returns true if this user/group has the app create property set. Even if this individual access is not set to app create a user may still have app create status as a member of a app create group. See UserProperties.canCreateDeleteApps

setAccess

public void setAccess(short access)

getAccess

public short getAccess()

setMaxAccess

public void setMaxAccess(short maxAccess)
maxAccess is not and should not be set by the client. It is set by the EssBase server and represents the maximum access granted in all groups in which the user has membership. setMaxAccess here is called by server routines as properties are retrieved.

getMaxAccess

public short getMaxAccess()
maxAccess is set by the EssBase server and represents the maximum access granted in all groups in which the user has membership.

setDescription

public void setDescription(java.lang.String desc)

getDescription

public java.lang.String getDescription()

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

setAppName

public void setAppName(java.lang.String appName)

getAppName

public java.lang.String getAppName()

setDbName

public void setDbName(java.lang.String dbName)

getDbName

public java.lang.String getDbName()

setLogin

public void setLogin(boolean login)

getLogin

public boolean getLogin()

setType

public void setType(short type)

getType

public short getType()

setExpiration

public void setExpiration(short expiration)

getExpiration

public short getExpiration()

setLastLogin

public void setLastLogin(long lastLogin)

getLastLogin

public long getLastLogin()

setDbConnectTime

public void setDbConnectTime(long dbConnectTime)

getDbConnectTime

public long getDbConnectTime()

setFailCount

public void setFailCount(short failCount)

getFailCount

public short getFailCount()

setLoginId

public void setLoginId(long loginId)

getLoginId

public long getLoginId()

setEMailId

public void setEMailId(java.lang.String eMailId)

getEMailId

public java.lang.String getEMailId()

setLockedOut

public void setLockedOut(boolean lockedOut)

getLockedOut

public boolean getLockedOut()

setDisabled

public void setDisabled(boolean value)

isDisabled

public boolean isDisabled()

setPwdChgNow

public void setPwdChgNow(boolean pwdChgNow)

getPwdChgNow

public boolean getPwdChgNow()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

matches

public boolean matches(UsrGrpProperties anGroupProp)

setDomainAccess

public void setDomainAccess(short da)

getDomainAccess

public short getDomainAccess()

isUser

public boolean isUser()

setIsUser

public void setIsUser(boolean value)

getProviderName

public java.lang.String getProviderName()

setProviderName

public void setProviderName(java.lang.String providerName)

setProtocol

public void setProtocol(java.lang.String protocol)

getProtocol

public java.lang.String getProtocol()

setParameter

public void setParameter(java.lang.String parameter)

getParameter

public java.lang.String getParameter()

getEncAppAccessArray

public AppAccess[] getEncAppAccessArray()

getDecAppAccessArray

public AppAccess[] getDecAppAccessArray()

Skip navigation links


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