C# Class gov.va.medora.mdo.dao.vista.VistaUserDao

Inheritance: IUserDao
Mostra file Open project: OSEHRA/mdo Class Usage Examples

Public Methods

Method Description
VistaUserDao ( AbstractConnection cxn ) : System
addPermission ( string duz, AbstractPermission p ) : AbstractPermission
addSecurityKey ( string duz, AbstractPermission p ) : AbstractPermission
addSecurityKeyForContext ( string duz, string context ) : string
addVisitorInfo ( AbstractCredentials credentials ) : void
getPermissions ( PermissionType type, string duz ) : AbstractPermission>.Dictionary
getProviderClass ( string ien ) : string
getSecurityKeyForContext ( string context ) : string
getUser ( string duz ) : gov.va.medora.mdo.User
getUserId ( string>.KeyValuePair param ) : string
getUserInfo ( string duz ) : gov.va.medora.mdo.User
getUserService ( string ien ) : Service
getUserTitle ( string ien ) : string
getUsersWithOption ( string optionName ) : OrderedDictionary

Get all the users with a certain option Currently this is from the Standing Sentry project and only gets users with option AMOJ VL APPTFL. Should be generalized.

hasPermission ( string duz, AbstractPermission p ) : bool
isUser ( string duz ) : bool
isValidEsig ( string esig ) : bool
isVisitorAccount ( string duz ) : bool
providerLookup ( string>.KeyValuePair param ) : gov.va.medora.mdo.User[]
removeDelegatedOption ( string duz, AbstractPermission p ) : void
removePermission ( string duz, AbstractPermission p ) : void
removeSecurityKey ( string duz, AbstractPermission p ) : void
setContext ( string context ) : void
setLoginSiteProperties ( gov.va.medora.mdo.User user ) : void
setNewPassword ( string oldVerifyCode, string newVerifyCode ) : string
setUserInfo ( gov.va.medora.mdo.User user ) : void
setUserInfoAtLogin ( gov.va.medora.mdo.User user ) : void
userLookup ( string>.KeyValuePair param ) : gov.va.medora.mdo.User[]

Lookup a user. Supported lookups: Name SSN DUZ Specify the lookup type by the param.Key. For example: userLookup(new KeyValuePair("NAME", "SMITH,JOHN"))

userLookup ( string>.KeyValuePair param, string maxrex ) : gov.va.medora.mdo.User[]
validateLocalAccount ( string duz ) : void

Private Methods

Method Description
addDelegatedOption ( string duz, AbstractPermission p ) : string
addMenuOption ( string duz, AbstractPermission p ) : string
addOption ( string file, string context, string duz ) : string
addOptionFields ( VistaOption opt ) : void
addSecurityKeyByName ( string securityKeyName, string duz ) : string
buildAddOptionQuery ( string file, string optionIen, string duz ) : DdrFiler
buildAddSecurityKeyByNameQuery ( string securityKeyName, string duz ) : DdrLister
buildGetOptionsQuery ( string file, string uid ) : DdrLister
buildGetSecurityKeysQuery ( string duz ) : DdrLister
buildGetUserQuery ( string duz ) : DdrLister
buildGetUsersWithOptionRequest ( string optionName ) : MdoQuery
buildHasSecurityKeyRequest ( string duz, string key ) : MdoQuery
buildHasVisitorAliasQuery ( string duz ) : DdrLister
buildIsValidEsigRequest ( string esig ) : MdoQuery
buildProviderLookup ( string target ) : MdoQuery
buildRemoveOptionQuery ( string file, string optNum, string duz ) : DdrFiler
buildRemoveSecurityKeyByIenQuery ( string securityKeyIen, string duz ) : DdrFiler
buildSetContextRequest ( string context ) : MdoQuery
buildUserLookupByNameQuery ( string target, string maxRex ) : DdrLister
buildUserLookupQueryByDuz ( string duz ) : DdrLister
buildUserLookupQueryBySsn ( string ssn ) : DdrLister
extractSecurityKey ( string response ) : string
getDelegatedOptions ( string duz ) : AbstractPermission>.Dictionary
getException ( string result ) : Exception
getMenuOptions ( string duz ) : AbstractPermission>.Dictionary
getOptionIen ( string optionName ) : string
getOptions ( string file, string uid ) : AbstractPermission>.Dictionary
getPrimaryMenuOption ( string duz ) : AbstractPermission
getSecurityKeyDescriptiveName ( string ien ) : string
getSecurityKeyIen ( string securityKeyName ) : string
getSecurityKeys ( string duz ) : AbstractPermission>.Dictionary
getUserIdBySsn ( string ssn ) : string
hasDelegatedOption ( string duz, AbstractPermission p ) : bool
hasMenuOption ( string duz, AbstractPermission p ) : bool
hasOption ( string duz, string optionName, string fieldNum ) : bool
hasSecurityKey ( AbstractPermission p ) : bool
hasSecurityKey ( string duz, AbstractPermission p ) : bool
hasVisitorAlias ( string duz ) : bool
isTrueCapriUser ( SecurityKey>.Dictionary keys ) : bool
parseOptionNumber ( String rtn ) : string
providerLookupByName ( string target ) : gov.va.medora.mdo.User[]
removeMenuOption ( string duz, AbstractPermission p ) : void
removeOption ( string file, string optNum, string duz ) : string
setUserProperties ( gov.va.medora.mdo.User user, string response ) : void
toAddOptionResult ( string response ) : string
toOption ( string response ) : MenuOption
toOptions ( string response ) : AbstractPermission>.Dictionary
toRemoveOptionResult ( string response ) : string
toUser ( string response ) : gov.va.medora.mdo.User
toUserFromGetUser ( string response ) : gov.va.medora.mdo.User
toUserFromLogin ( string response, gov.va.medora.mdo.User user ) : void
toUserSecurityKeys ( string response ) : AbstractPermission>.Dictionary
toUsers ( String rtn ) : gov.va.medora.mdo.User[]
toUsers ( string response ) : gov.va.medora.mdo.User[]
toUsersWithOption ( string response ) : OrderedDictionary
userLookupByDuz ( string duz ) : gov.va.medora.mdo.User
userLookupByName ( string target, string maxRex ) : gov.va.medora.mdo.User[]
userLookupBySsn ( string ssn ) : gov.va.medora.mdo.User

Method Details

VistaUserDao() public method

public VistaUserDao ( AbstractConnection cxn ) : System
cxn AbstractConnection
return System

addPermission() public method

public addPermission ( string duz, AbstractPermission p ) : AbstractPermission
duz string
p AbstractPermission
return AbstractPermission

addSecurityKey() public method

public addSecurityKey ( string duz, AbstractPermission p ) : AbstractPermission
duz string
p AbstractPermission
return AbstractPermission

addSecurityKeyForContext() public method

public addSecurityKeyForContext ( string duz, string context ) : string
duz string
context string
return string

addVisitorInfo() public method

public addVisitorInfo ( AbstractCredentials credentials ) : void
credentials AbstractCredentials
return void

getPermissions() public method

public getPermissions ( PermissionType type, string duz ) : AbstractPermission>.Dictionary
type PermissionType
duz string
return AbstractPermission>.Dictionary

getProviderClass() public method

public getProviderClass ( string ien ) : string
ien string
return string

getSecurityKeyForContext() public method

public getSecurityKeyForContext ( string context ) : string
context string
return string

getUser() public method

public getUser ( string duz ) : gov.va.medora.mdo.User
duz string
return gov.va.medora.mdo.User

getUserId() public method

public getUserId ( string>.KeyValuePair param ) : string
param string>.KeyValuePair
return string

getUserInfo() public method

public getUserInfo ( string duz ) : gov.va.medora.mdo.User
duz string
return gov.va.medora.mdo.User

getUserService() public method

public getUserService ( string ien ) : Service
ien string
return gov.va.medora.mdo.Service

getUserTitle() public method

public getUserTitle ( string ien ) : string
ien string
return string

getUsersWithOption() public method

Get all the users with a certain option Currently this is from the Standing Sentry project and only gets users with option AMOJ VL APPTFL. Should be generalized.
public getUsersWithOption ( string optionName ) : OrderedDictionary
optionName string
return System.Collections.Specialized.OrderedDictionary

hasPermission() public method

public hasPermission ( string duz, AbstractPermission p ) : bool
duz string
p AbstractPermission
return bool

isUser() public method

public isUser ( string duz ) : bool
duz string
return bool

isValidEsig() public method

public isValidEsig ( string esig ) : bool
esig string
return bool

isVisitorAccount() public method

public isVisitorAccount ( string duz ) : bool
duz string
return bool

providerLookup() public method

public providerLookup ( string>.KeyValuePair param ) : gov.va.medora.mdo.User[]
param string>.KeyValuePair
return gov.va.medora.mdo.User[]

removeDelegatedOption() public method

public removeDelegatedOption ( string duz, AbstractPermission p ) : void
duz string
p AbstractPermission
return void

removePermission() public method

public removePermission ( string duz, AbstractPermission p ) : void
duz string
p AbstractPermission
return void

removeSecurityKey() public method

public removeSecurityKey ( string duz, AbstractPermission p ) : void
duz string
p AbstractPermission
return void

setContext() public method

public setContext ( string context ) : void
context string
return void

setLoginSiteProperties() public method

public setLoginSiteProperties ( gov.va.medora.mdo.User user ) : void
user gov.va.medora.mdo.User
return void

setNewPassword() public method

public setNewPassword ( string oldVerifyCode, string newVerifyCode ) : string
oldVerifyCode string
newVerifyCode string
return string

setUserInfo() public method

public setUserInfo ( gov.va.medora.mdo.User user ) : void
user gov.va.medora.mdo.User
return void

setUserInfoAtLogin() public method

public setUserInfoAtLogin ( gov.va.medora.mdo.User user ) : void
user gov.va.medora.mdo.User
return void

userLookup() public method

Lookup a user. Supported lookups: Name SSN DUZ Specify the lookup type by the param.Key. For example: userLookup(new KeyValuePair("NAME", "SMITH,JOHN"))
public userLookup ( string>.KeyValuePair param ) : gov.va.medora.mdo.User[]
param string>.KeyValuePair
return gov.va.medora.mdo.User[]

userLookup() public method

public userLookup ( string>.KeyValuePair param, string maxrex ) : gov.va.medora.mdo.User[]
param string>.KeyValuePair
maxrex string
return gov.va.medora.mdo.User[]

validateLocalAccount() public method

public validateLocalAccount ( string duz ) : void
duz string
return void