public class UserRightScript
extends com.accela.aa.emse.dom.service.BaseAAScript
implements com.accela.aa.emse.dom.service.UserRightScriptService
Accela Automation File: UserRightScript.java Accela, Inc. Copyright (C): 2001-2014 Description: Notes: Revision History: 2002-09-15 ,johnny.zhou, Initial Version. 08-27-2004, Sunny Wu Added method getUserRight(...) 10-20-2004, Cathy Xiao Added method getUserProfileValue(...), updateUserProfileValue(...) 11/01/2006 Michael Mao cache service object.
| Constructor and Description |
|---|
UserRightScript()
Constructor for UserRightScript.
|
UserRightScript(java.lang.String serviceProviderCode,
java.lang.String auditID,
com.accela.aa.emse.dom.service.CachedService cachedService)
Constructor for UserRightScript.
|
| Modifier and Type | Method and Description |
|---|---|
ScriptResult |
getUserProfileValue(java.lang.String userName,
java.lang.String constantName)
Method getUserProfileValue.
|
ScriptResult |
getUserRight(java.lang.String currentModule,
java.lang.String userID)
Get user right.
|
ScriptResult |
isSupervisor(java.lang.String user,
java.lang.String modulename,
java.lang.String fid)
To check if the user have a supervisor role.
|
ScriptResult |
updateUserProfileValue(java.lang.String userName,
java.lang.String constantName,
java.lang.String constantValue,
java.lang.String caller)
Method updateUserProfileValue.
|
public UserRightScript(java.lang.String serviceProviderCode,
java.lang.String auditID,
com.accela.aa.emse.dom.service.CachedService cachedService)
throws com.accela.aa.exception.AAException
serviceProviderCode - agency codeauditID - the audit idcom.accela.aa.exception.AAException - the AA exceptionpublic UserRightScript()
throws com.accela.aa.exception.AAException
com.accela.aa.exception.AAException - the AA exceptionpublic ScriptResult isSupervisor(java.lang.String user, java.lang.String modulename, java.lang.String fid)
com.accela.aa.emse.dom.service.UserRightScriptServiceisSupervisor in interface com.accela.aa.emse.dom.service.UserRightScriptServiceuser - the user namemodulename - the module namefid - fidpublic ScriptResult getUserRight(java.lang.String currentModule, java.lang.String userID)
com.accela.aa.emse.dom.service.UserRightScriptServicegetUserRight in interface com.accela.aa.emse.dom.service.UserRightScriptServicecurrentModule - the current moduleuserID - the user idpublic ScriptResult getUserProfileValue(java.lang.String userName, java.lang.String constantName)
com.accela.aa.emse.dom.service.UserRightScriptServicegetUserProfileValue in interface com.accela.aa.emse.dom.service.UserRightScriptServiceuserName - the user nameconstantName - the constant namepublic ScriptResult updateUserProfileValue(java.lang.String userName, java.lang.String constantName, java.lang.String constantValue, java.lang.String caller)
com.accela.aa.emse.dom.service.UserRightScriptServiceupdateUserProfileValue in interface com.accela.aa.emse.dom.service.UserRightScriptServiceuserName - the user nameconstantName - the constant nameconstantValue - the constant valuecaller - the caller