C# Class StaffBrokerFunctions, AgapeConnect1

Summary description for StaffBrokerFunctions
Afficher le fichier Open project: AgapeEurope/AgapeConnect1 Class Usage Examples

Méthodes publiques

Méthode Description
AddProfileValue ( int PortalId, int staffId, string propertyName, string propertyValue, int Type ) : void
ChangeUsername ( string OldUsername, string NewUsername ) : void
CreateStaffMember ( int PortalId, DotNetNuke User1in, DotNetNuke User2in, short staffTypeIn ) : AP_StaffBroker_Staff
CreateStaffMember ( int PortalId, DotNetNuke User1in, short staffTypeIn = 1 ) : AP_StaffBroker_Staff
CreateStaffMember ( int PortalId, DotNetNuke User1in, string SpouseName, DateTime SpouseDOB, short staffTypeIn = 1 ) : AP_StaffBroker_Staff
CreateUniqueFileName ( IFolderInfo theFolder, string ext ) : string
CreateUser ( int PortalId, String GCXUsername, String FirstName, String LastName ) : DotNetNuke.Entities.Users.UserInfo
CurrencyConvert ( decimal amount, string fromCurrency, string toCurrency ) : decimal
GetDepartments ( int UserId ) : List
GetDeptGiveToURL ( int PortalId, int costCenter ) : String
GetFormattedCurrency ( int PortalId, string Value ) : string
GetLeaders ( int UserId, Boolean includeDelegates = true ) : List
GetLeadersDetailed ( int UserId, int PortalId ) : List
GetReportsTo ( int UserId ) : List
GetSetting ( string SettingName, int portalId ) : string
GetSpouseId ( int UserId ) : int
GetStaff ( ) : IQueryable
GetStaffExcl ( int PortalId ) : IQueryable
GetStaffIncl ( int PortalId ) : IQueryable
GetStaffJointPhoto ( int staffID ) : string
GetStaffMember ( int UserId ) : AP_StaffBroker_Staff
GetStaffProfileProperty ( AP_StaffBroker_Staff &Staffin, string propertyName ) : string
GetStaffProfileProperty ( int staffId, string propertyName ) : string
GetStaffbyStaffId ( int StaffId ) : AP_StaffBroker_Staff
GetTeam ( int LeaderId ) : List
GetTemplate ( string templateName, int PortalId ) : string
IsDept ( int PortalId, string costCenter ) : Boolean
SetSetting ( string SettingName, string value, int portalId ) : void
SetUserProfileProperty ( int PortalId, int UserId, String PropertyName, String PropertyValue, int DataType = 349 ) : void
StaffBrokerFunctions ( ) : System
ValidateAccountCode ( string AccountCode, int PortalId ) : String
ValidateCostCenter ( string CostCenter, int PortalId ) : String
VerifyAccountCode ( int PortalId, string AccountCode ) : Boolean
VerifyCostCenter ( int PortalId, string costCenter ) : Boolean

Method Details

AddProfileValue() public static méthode

public static AddProfileValue ( int PortalId, int staffId, string propertyName, string propertyValue, int Type ) : void
PortalId int
staffId int
propertyName string
propertyValue string
Type int
Résultat void

ChangeUsername() public static méthode

public static ChangeUsername ( string OldUsername, string NewUsername ) : void
OldUsername string
NewUsername string
Résultat void

CreateStaffMember() public static méthode

public static CreateStaffMember ( int PortalId, DotNetNuke User1in, DotNetNuke User2in, short staffTypeIn ) : AP_StaffBroker_Staff
PortalId int
User1in DotNetNuke
User2in DotNetNuke
staffTypeIn short
Résultat AP_StaffBroker_Staff

CreateStaffMember() public static méthode

public static CreateStaffMember ( int PortalId, DotNetNuke User1in, short staffTypeIn = 1 ) : AP_StaffBroker_Staff
PortalId int
User1in DotNetNuke
staffTypeIn short
Résultat AP_StaffBroker_Staff

CreateStaffMember() public static méthode

public static CreateStaffMember ( int PortalId, DotNetNuke User1in, string SpouseName, DateTime SpouseDOB, short staffTypeIn = 1 ) : AP_StaffBroker_Staff
PortalId int
User1in DotNetNuke
SpouseName string
SpouseDOB DateTime
staffTypeIn short
Résultat AP_StaffBroker_Staff

CreateUniqueFileName() public static méthode

public static CreateUniqueFileName ( IFolderInfo theFolder, string ext ) : string
theFolder IFolderInfo
ext string
Résultat string

CreateUser() public static méthode

public static CreateUser ( int PortalId, String GCXUsername, String FirstName, String LastName ) : DotNetNuke.Entities.Users.UserInfo
PortalId int
GCXUsername String
FirstName String
LastName String
Résultat DotNetNuke.Entities.Users.UserInfo

CurrencyConvert() public static méthode

public static CurrencyConvert ( decimal amount, string fromCurrency, string toCurrency ) : decimal
amount decimal
fromCurrency string
toCurrency string
Résultat decimal

GetDepartments() public static méthode

public static GetDepartments ( int UserId ) : List
UserId int
Résultat List

GetDeptGiveToURL() public static méthode

public static GetDeptGiveToURL ( int PortalId, int costCenter ) : String
PortalId int
costCenter int
Résultat String

GetFormattedCurrency() public static méthode

public static GetFormattedCurrency ( int PortalId, string Value ) : string
PortalId int
Value string
Résultat string

GetLeaders() public static méthode

public static GetLeaders ( int UserId, Boolean includeDelegates = true ) : List
UserId int
includeDelegates Boolean
Résultat List

GetLeadersDetailed() public static méthode

public static GetLeadersDetailed ( int UserId, int PortalId ) : List
UserId int
PortalId int
Résultat List

GetReportsTo() public static méthode

public static GetReportsTo ( int UserId ) : List
UserId int
Résultat List

GetSetting() public static méthode

public static GetSetting ( string SettingName, int portalId ) : string
SettingName string
portalId int
Résultat string

GetSpouseId() public static méthode

public static GetSpouseId ( int UserId ) : int
UserId int
Résultat int

GetStaff() public static méthode

public static GetStaff ( ) : IQueryable
Résultat IQueryable

GetStaffExcl() public static méthode

public static GetStaffExcl ( int PortalId ) : IQueryable
PortalId int
Résultat IQueryable

GetStaffIncl() public static méthode

public static GetStaffIncl ( int PortalId ) : IQueryable
PortalId int
Résultat IQueryable

GetStaffJointPhoto() public static méthode

public static GetStaffJointPhoto ( int staffID ) : string
staffID int
Résultat string

GetStaffMember() public static méthode

public static GetStaffMember ( int UserId ) : AP_StaffBroker_Staff
UserId int
Résultat AP_StaffBroker_Staff

GetStaffProfileProperty() public static méthode

public static GetStaffProfileProperty ( AP_StaffBroker_Staff &Staffin, string propertyName ) : string
Staffin AP_StaffBroker_Staff
propertyName string
Résultat string

GetStaffProfileProperty() public static méthode

public static GetStaffProfileProperty ( int staffId, string propertyName ) : string
staffId int
propertyName string
Résultat string

GetStaffbyStaffId() public static méthode

public static GetStaffbyStaffId ( int StaffId ) : AP_StaffBroker_Staff
StaffId int
Résultat AP_StaffBroker_Staff

GetTeam() public static méthode

public static GetTeam ( int LeaderId ) : List
LeaderId int
Résultat List

GetTemplate() public static méthode

public static GetTemplate ( string templateName, int PortalId ) : string
templateName string
PortalId int
Résultat string

IsDept() public static méthode

public static IsDept ( int PortalId, string costCenter ) : Boolean
PortalId int
costCenter string
Résultat Boolean

SetSetting() public static méthode

public static SetSetting ( string SettingName, string value, int portalId ) : void
SettingName string
value string
portalId int
Résultat void

SetUserProfileProperty() public static méthode

public static SetUserProfileProperty ( int PortalId, int UserId, String PropertyName, String PropertyValue, int DataType = 349 ) : void
PortalId int
UserId int
PropertyName String
PropertyValue String
DataType int
Résultat void

StaffBrokerFunctions() public méthode

public StaffBrokerFunctions ( ) : System
Résultat System

ValidateAccountCode() public static méthode

public static ValidateAccountCode ( string AccountCode, int PortalId ) : String
AccountCode string
PortalId int
Résultat String

ValidateCostCenter() public static méthode

public static ValidateCostCenter ( string CostCenter, int PortalId ) : String
CostCenter string
PortalId int
Résultat String

VerifyAccountCode() public static méthode

public static VerifyAccountCode ( int PortalId, string AccountCode ) : Boolean
PortalId int
AccountCode string
Résultat Boolean

VerifyCostCenter() public static méthode

public static VerifyCostCenter ( int PortalId, string costCenter ) : Boolean
PortalId int
costCenter string
Résultat Boolean