C# Class CmsData.API.APIOrganization

Datei anzeigen Open project: bvcms/bvcms Class Usage Examples

Public Methods

Method Description
APIOrganization ( CMSDataContext Db ) : System
AddDivToOrg ( int orgid, int divid ) : string
AddEditExtraValue ( int orgid, string field, string value ) : string
AddOrgMember ( int OrgId, int PeopleId, string MemberType, bool pending ) : string
ChildOrgMembers ( int id ) : string
ChildOrgs ( int id, string extravalue1, string extravalue2 ) : string
CreateProgramDivision ( string program, string division ) : string
DeleteExtraValue ( int orgid, string field ) : string
DropOrgMember ( int OrgId, int PeopleId ) : string
ExtraValues ( int orgid, string fields ) : string
GetOrganization ( int id ) : Organization
MessageReplacements ( CMSDataContext db, Person p, string divisionName, int orgId, string organizationName, string location, string message ) : string
NewOrganization ( int divId, string name, string location, int parentOrgId, int campusId, int orgtype, int leadertype, int securitytype, string securityrole ) : string
OrgMembers ( int orgid, string search ) : string
OrgMembers2 ( int orgid, string search ) : string
OrgMembersData ( int orgid ) : List
OrganizationsForDiv ( int divid ) : string
ParentOrgs ( int id, string extravalue1, string extravalue2 ) : string
RemoveDivFromOrg ( int orgid, int divid ) : string
SendEventReminders ( System.Guid id ) : void
SendEventReminders ( int id ) : void
SendVolunteerReminders ( int id, bool sendall ) : void
UpdateOrgMember ( int orgid, int peopleid, string MemberType, System.DateTime EnrollDate, string InactiveDate, bool pending ) : string
UpdateOrganization ( int orgid, string name, string campusid, string active, string location, string description, int orgtype, int leadertype, int securitytype, string securityrole, int parentorg ) : string

Private Methods

Method Description
SerializeOrgs ( IQueryable q, string root, string OrgElement, string MembersElement ) : string

Method Details

APIOrganization() public method

public APIOrganization ( CMSDataContext Db ) : System
Db CMSDataContext
return System

AddDivToOrg() public method

public AddDivToOrg ( int orgid, int divid ) : string
orgid int
divid int
return string

AddEditExtraValue() public method

public AddEditExtraValue ( int orgid, string field, string value ) : string
orgid int
field string
value string
return string

AddOrgMember() public method

public AddOrgMember ( int OrgId, int PeopleId, string MemberType, bool pending ) : string
OrgId int
PeopleId int
MemberType string
pending bool
return string

ChildOrgMembers() public method

public ChildOrgMembers ( int id ) : string
id int
return string

ChildOrgs() public method

public ChildOrgs ( int id, string extravalue1, string extravalue2 ) : string
id int
extravalue1 string
extravalue2 string
return string

CreateProgramDivision() public method

public CreateProgramDivision ( string program, string division ) : string
program string
division string
return string

DeleteExtraValue() public method

public DeleteExtraValue ( int orgid, string field ) : string
orgid int
field string
return string

DropOrgMember() public method

public DropOrgMember ( int OrgId, int PeopleId ) : string
OrgId int
PeopleId int
return string

ExtraValues() public method

public ExtraValues ( int orgid, string fields ) : string
orgid int
fields string
return string

GetOrganization() public method

public GetOrganization ( int id ) : Organization
id int
return Organization

MessageReplacements() public static method

public static MessageReplacements ( CMSDataContext db, Person p, string divisionName, int orgId, string organizationName, string location, string message ) : string
db CMSDataContext
p Person
divisionName string
orgId int
organizationName string
location string
message string
return string

NewOrganization() public method

public NewOrganization ( int divId, string name, string location, int parentOrgId, int campusId, int orgtype, int leadertype, int securitytype, string securityrole ) : string
divId int
name string
location string
parentOrgId int
campusId int
orgtype int
leadertype int
securitytype int
securityrole string
return string

OrgMembers() public method

public OrgMembers ( int orgid, string search ) : string
orgid int
search string
return string

OrgMembers2() public method

public OrgMembers2 ( int orgid, string search ) : string
orgid int
search string
return string

OrgMembersData() public method

public OrgMembersData ( int orgid ) : List
orgid int
return List

OrganizationsForDiv() public method

public OrganizationsForDiv ( int divid ) : string
divid int
return string

ParentOrgs() public method

public ParentOrgs ( int id, string extravalue1, string extravalue2 ) : string
id int
extravalue1 string
extravalue2 string
return string

RemoveDivFromOrg() public method

public RemoveDivFromOrg ( int orgid, int divid ) : string
orgid int
divid int
return string

SendEventReminders() public method

public SendEventReminders ( System.Guid id ) : void
id System.Guid
return void

SendEventReminders() public method

public SendEventReminders ( int id ) : void
id int
return void

SendVolunteerReminders() public method

public SendVolunteerReminders ( int id, bool sendall ) : void
id int
sendall bool
return void

UpdateOrgMember() public method

public UpdateOrgMember ( int orgid, int peopleid, string MemberType, System.DateTime EnrollDate, string InactiveDate, bool pending ) : string
orgid int
peopleid int
MemberType string
EnrollDate System.DateTime
InactiveDate string
pending bool
return string

UpdateOrganization() public method

public UpdateOrganization ( int orgid, string name, string campusid, string active, string location, string description, int orgtype, int leadertype, int securitytype, string securityrole, int parentorg ) : string
orgid int
name string
campusid string
active string
location string
description string
orgtype int
leadertype int
securitytype int
securityrole string
parentorg int
return string