Method | Description | |
---|---|---|
AddGodmotherShift ( string fairyGodmotherID, string shiftID, string roleID ) : void |
Adds a godmother to a shift.
|
|
AllSeamstresses ( ) : string |
Retrieves all FG's that are seamstresses
|
|
CheckInSearch ( string fname, string lname, string organization ) : string |
Used with text box inputs to parse the data, returning results for the check-in list.
|
|
CheckOutSearch ( string fname, string lname, string organization ) : string |
Search for Check Out Form. Used in populating the DGV according to search parameters
|
|
CinderellaCurrentStatus ( int id ) : int |
Gives a cinderella's current status
|
|
CinderellaHistory ( int cinID ) : string | ||
Cinderellas ( int currentStatus ) : string |
Finds cinderellas with a certain status
|
|
Cinderellas ( int currentStatus1, int currentStatus2 ) : string |
Finds Cinderellas that have a currentStatus between two options
|
|
CinderellasInAlteration ( ) : string |
displays the cinderellas that are currently in alterations (status of 6) and their end time of their alterations is null, indicating that the dress has not been completed in alterations. (currently being worked on or if more time is needed.)
|
|
CinderellasList ( int count, int currentStatus ) : string |
Finds cinderellas with a certain status and displays the top number of them
|
|
CinderellasUndoList ( ) : string |
Used to show cinderellas that are waiting or paired. Used for when we have to undo the Cinderella's check-in because of accidental check-in
|
|
CindyBracelet ( int fgID ) : string | ||
CindyDressColor ( int fgID ) : string | ||
CindyDressSize ( int fgID ) : int | ||
CindyEarrings ( int fgID ) : string | ||
CindyHeadpiece ( int fgID ) : string | ||
CindyNecklace ( int fgID ) : string | ||
CindyRing ( int fgID ) : string | ||
CindyShoeColor ( int fgID ) : string | ||
CindyShoeSize ( int fgID ) : string | ||
DressesNotFinished ( ) : string | ||
EndShift ( ) : void | ||
FGCurrentStatus ( int id ) : int |
Gives a FG's current status
|
|
FGLeavesCinderella ( int cinID ) : void |
Sets the Cinderella's FairyGodmother to be unavailable if the Cinderella is the last known paired Cinderella for the FairyGodmother and the FairyGodmother is currently shopping
|
|
FGMaxID ( ) : string | ||
FGQuickSearch ( int fgID ) : string | ||
FGcount ( ) : string | ||
FairyGodmotherHistory ( int fgID ) : string | ||
MasterSearch ( string cinFirstName, string cinLastName, string cinOrganization, string FGFirstName, string FGLastName, int SeamstressID, int hadAlterations, string dressColor, int maxDressSize, int minDressSize, bool hasShoes, string shoeColor, double maxShoeSize, double minShoeSize, int ring, int headpiece, int bracelet, int earring, int necklace ) : string |
Used to search for anything needed in the program.
|
|
MaxID ( ) : string | ||
NewCinderella ( string fname, string lname, string date, string time, int referralID ) : string |
Inserts into the Cinderella Table the new Cinderella to be added
|
|
NewGodMother ( string fname, string lname, string address, string city, string emailAddress, string phoneNumber, string state, string zip ) : string |
Adds a new Godmother to the database. Since the godmother id's are automatically assigned this method will return their ID so that you can use that in the rest of the program logic like adding the godmother to shifts.
|
|
NumberOfCinderellasHelped ( ) : int |
Used to find the number of cinderellas that have gone through. (based on the number that have been paired
|
|
NumberOfCinderellasHelpedByFG ( ) : string |
USed to find the number of cinderellas that have been helped by a certain FG
|
|
NumberOfDressesAlteredByFG ( ) : string |
Used to find the number of dresses a fairy godmother has altered
|
|
NumberOfDressesTakenByColor ( string color ) : int |
USed to find the number of dresses that have been picked of a certain color
|
|
NumberOfDressesTakenByColorAndSize ( string color, int size ) : int |
USed to find the number of dresses that have been picked of a certain color and size
|
|
NumberOfDressesTakenBySize ( int size ) : int |
USed to find the number of dresses that have been picked of a certain size
|
|
NumberOfFGsByShift ( int shift ) : int |
Used to find the number of FG's that worked a certain shift
|
|
NumberOfFGsByShiftAndRole ( int shift, int role ) : int |
Used to find the number of FG's that worked a certain shift with a certain role
|
|
PackageBracelet ( int id ) : bool |
Used when a Cinderella's checkout information is saved, but she is not set as 'Checked Out'
|
|
PackageCheckOutNotes ( int id ) : string |
Used when a Cinderella's checkout information is saved, but she is not set as 'Checked Out'
|
|
PackageEarrings ( int id ) : bool |
Used when a Cinderella's checkout information is saved, but she is not set as 'Checked Out'
|
|
PackageHeadpiece ( int id ) : bool |
Used when a Cinderella's checkout information is saved, but she is not set as 'Checked Out'
|
|
PackageNecklace ( int id ) : bool |
Used when a Cinderella's checkout information is saved, but she is not set as 'Checked Out'
|
|
PackageOther ( int id ) : string |
Used when a Cinderella's checkout information is saved, but she is not set as 'Checked Out'
|
|
PackageRing ( int id ) : bool |
Used when a Cinderella's checkout information is saved, but she is not set as 'Checked Out'
|
|
PackageShoeColor ( int id ) : string |
Used when a Cinderella's checkout information is saved, but she is not set as 'Checked Out'
|
|
PackageShoeSize ( int id ) : double |
Used when a Cinderella's checkout information is saved, but she is not set as 'Checked Out'
|
|
PairedPersonalShoppers ( int cinderellaID ) : string |
finds fairy godmother's ID# that are paired w/ a cinderella
|
|
PersonalShoppers ( int currentStatus ) : string |
returns FG's that are personal shoppers and have the specified current status
|
|
PersonalShoppers ( int currentStatus1, int currentStatus2 ) : string |
Finds Personal shoppers that have a currentStatus between two options
|
|
PersonalShoppersList ( int count, int currentStatus ) : string |
Returns a certain number of Personal Shoppers w/ a specified status
|
|
PrintCinderellaName ( string ID ) : string | ||
PrintFGIDGrid ( ) : string | ||
PrintFGName ( string ID ) : string | ||
PrintFirstCinderellaName ( string ID ) : string | ||
PrintFirstFGName ( string ID ) : string | ||
PrintIDGrid ( ) : string | ||
PrintLastCinderellaName ( string ID ) : string | ||
PrintLastFGName ( string ID ) : string | ||
RetrievedDress ( int cinID ) : void |
Tells the DB that the cinderella got the dress back from alterations
|
|
SQL_Queries ( ) : System | ||
ShiftWorkerRole ( int fgID, int shiftID ) : int | ||
addAlterations ( string cindID ) : void |
Adds a Cinderella into Alterations
|
|
addCinderellaAndReferral ( string refName, string refOrg, string cindFirstName, string cindLastName, string apptDate, string apptTime, string notes ) : void |
Adds a Cinderella and new referral to respective tables
|
|
addUser ( string loginName, string password, string firstName, string lastName, int roleID ) : void | ||
alterationCompleted ( ) : string |
Views cinderellas that have been completely through alterations
|
|
checkAlterations ( string id ) : string |
USed to check if a Cinderella is in Alterations
|
|
checkInList ( ) : string |
Query for retrieving Cinderella's with a status of 'Pending' (Approved to come to Cinderella's Closet but not yet checked in)
|
|
checkOutList ( ) : string | ||
checkOutList ( int count ) : string |
Displays the list of Cinderellas that are ready for checkout. (They are shopping or are in alterations).
|
|
checkOutUpdate ( int cinderellaID, int dressSize, string dressColor ) : void | ||
checkOutUpdate ( int cinderellaID, int dressSize, string dressColor, double shoeSize, string shoeColor, string checkoutNotes, bool necklace, bool ring, bool bracelet, bool headpiece, bool earrings, string other ) : void |
Updates a cinderella's package with all necesary information
|
|
checkedOutCinderellas ( ) : string | ||
cinderellaCheckIn ( ) : |
||
clearCinderellaFairyGodmotherID ( int id ) : void | ||
count ( ) : string | ||
deleteCinderellas ( ) : void |
Deletes everything from Cinderellas table
|
|
deleteFGs ( ) : void |
Deletes everything from FG table
|
|
dressColor ( int id ) : string |
Used when a Cinderella's checkout information is saved, but she is not set as 'Checked Out'
|
|
dressSize ( int id ) : int |
Used when a Cinderella's checkout information is saved, but she is not set as 'Checked Out'
|
|
dressesDone ( ) : string |
Returns the data for the DGV for Cinderellas dresses that are done in Alterations.
|
|
fairyGodmotherCheckIn ( ) : string | ||
fgList ( ) : string |
USed to find all info on FG's
|
|
fgListCheckedIn ( ) : string |
USed to find FG's that are checked in
|
|
fgListRole ( string roleID ) : string |
Used to find FG's with a certain role
|
|
fgListRoleCheckedIn ( string roleID ) : string |
Used to find FG's that have a certain role and are 'Available'
|
|
fgListRoleManagement ( int roleID ) : string |
Used to find a FG that is paired with a Cinderella and has a certain role id
|
|
fgListRoleManagement ( string roleID ) : string |
Used to find FG & Cinderella's first and last names that are paired.
|
|
fgListRoleManagement ( string roleID, int currentStatus ) : string |
USed to find a FG that has a certain role and status
|
|
fgListShort ( ) : string |
Used tp find basic FG info
|
|
fgListStatus ( string status ) : string |
Used to find info on all FG's according to their status
|
|
fgListStatus ( string status, string shift ) : string |
used to find all info on FG's according to their status and shift
|
|
fglistSearch ( string fname, string lname ) : string | ||
fglistSearch ( string fname, string lname, int currentStatus ) : string |
USed to search the FG list
|
|
getCinderellaPaired ( int id ) : string |
Used to find a Cinderella's id that is paired with a certain FG
|
|
getCinderellaStatus ( int id ) : string | ||
getCindyIDFomFG ( int idFG ) : int | ||
getCurrentlyShopping ( ) : |
Retrieves a dataset of those who are currently shopping.
|
|
getDate ( ) : string |
Retrieves the current date and time from the database server.
|
|
getDressInfo ( string id ) : string | ||
getFGShiftInfo ( string fgID ) : string |
Used to find what shift and role a FG has when they work
|
|
getFGStatus ( string fgID ) : string | ||
getFgPaired ( int id ) : string |
Used to find the FG that is paired with a Cinderella
|
|
getMaxCinderellaID ( ) : string |
|
|
getPackageInfo ( string id ) : string |
Returns all data from Package table for a certain Cinderella
|
|
getReferrals ( ) : string |
Used to retrieve the list of referrals
|
|
getSetting ( string settingName ) : string | ||
getTime ( int id ) : string | ||
newFGShiftWorker ( string firstName, string lastName, int shiftID, int roleID ) : void |
Used to add a FG to a shift
|
|
pairCinderella ( int cinderellaID, int fg_id ) : void |
Used to manually pair a cinderella
|
|
resetDB ( ) : void |
Soft reset of the Database
|
|
setCinderellaStatus ( string ID, int status ) : void |
Sets the status of a cinderella or godmother.
|
|
setDefaultSetting ( string settingName, string defaultValue ) : void | ||
setFGStatus ( string ID, int status ) : void | ||
setFGStatusScan ( string ID, int status, int shift ) : void |
Used to set a FG to a certain status (Available, Unavailable, Paired, Shopping)
|
|
setSettingValue ( string settingName, string settingValue ) : void | ||
showFairyGodmothers ( int shift, int status ) : string | ||
sqlSelect ( string keyword ) : |
This method houses all of the basic "Select" statements.
|
|
sqlStatment ( string mysql ) : int |
Will execute a non-query sql statment.
|
|
statusList ( int statusID ) : string |
Used to get a cinderella's status, along with their name and their FG's name
|
|
undoCinderellaPairFromFGID ( int fgID ) : void |
Used to undo a FG's pairing with a cinderella
|
|
undoCinderellaStatus ( int id, int status ) : void |
Undos the status change of the given status for the Cinderella if that status is the last known status The CinDeleteStatusTrigger will update to the correct currentStatus |
|
undoCinderellaUntilThisStatus ( int cinID, int status ) : void |
Undos the status changes until the given status for the Cinderella The CinDeleteStatusTrigger will update to the correct currentStatus |
|
undoFGPairFromCinderellaID ( int cinID ) : void |
Used to undo a Cinderella's pairing with a FG
|
|
undoFGStatus ( int id, int status ) : void |
Undos the status changes of the given status for the FairyGodmother fi that status is the last known status The FGDeleteStatusTrigger will update to the correct currentStatus |
|
undoFGUntilThisStatus ( int fgID, int status ) : void |
Undos the status changes until the given status for the FairyGodmother The FGDeleteStatusTrigger will update to the correct currentStatus |
|
updateAlterations ( string cindID, string notes, int straps, int darts, int zipper, int mending, int takeIn, int bust, int hem, string fgID ) : void |
Used to give alterations to a Cinderella
|
|
updateAlterationsNotFinished ( string cindID, string notes, int straps, int darts, int zipper, int mending, int takeIn, int bust, int hem, string fgID ) : void |
used to give alterations to a Cinderella (This is used when their alterations will not be completed onsite)
|
|
updateCinderella ( int id, string firstName, string lastName, string date, string time ) : string |
Used to update a cinderella's information. This is used if the Cinderella's information was incorrect and needed to be fixed, or if the appointment time and date needs to be changed
|
|
updateCinderellaAppt ( int id ) : void |
Used to change a cinderella's appointment time when the current date and time button is clicked
|
|
updateCinderellaAppt ( int id, string date, string time ) : void |
Used to change a cinderella's appointment time when a manually entered date and time are needed
|
|
updateFairyGodmother ( string fgID, string firstName, string lastName, string emailAddress, string phoneNumber, string city, string state, string zip, string address ) : string |
Updates FG's info
|
|
validateLogin ( string username, string password ) : int |
Used to validate the login of a user
|
Method | Description | |
---|---|---|
MasterCheckOutSearchBox ( string item ) : string | ||
MasterSearchBox ( string item ) : string |
public AddGodmotherShift ( string fairyGodmotherID, string shiftID, string roleID ) : void | ||
fairyGodmotherID | string | |
shiftID | string | |
roleID | string | |
return | void |
public CheckInSearch ( string fname, string lname, string organization ) : string | ||
fname | string | Cinderella's First Name |
lname | string | Cinderella's Last Name |
organization | string | Cinderella's Referrat Organization |
return | string |
public CheckOutSearch ( string fname, string lname, string organization ) : string | ||
fname | string | Cinderella First Name |
lname | string | Cinderella Last Name |
organization | string | Cinderella's Organization (pulled from Referral table in DB according to a Cinderella's referralID) |
return | string |
public CinderellaCurrentStatus ( int id ) : int | ||
id | int | Cinderella's current ID# |
return | int |
public CinderellaHistory ( int cinID ) : string | ||
cinID | int | |
return | string |
public Cinderellas ( int currentStatus ) : string | ||
currentStatus | int | cinderella's current statud desired |
return | string |
public Cinderellas ( int currentStatus1, int currentStatus2 ) : string | ||
currentStatus1 | int | one status # |
currentStatus2 | int | the other status # |
return | string |
public CinderellasList ( int count, int currentStatus ) : string | ||
count | int | number of cinderellas to display |
currentStatus | int | cinderella's current status desired |
return | string |
public FGLeavesCinderella ( int cinID ) : void | ||
cinID | int | Cinderellas given id |
return | void |
public FairyGodmotherHistory ( int fgID ) : string | ||
fgID | int | |
return | string |
public MasterSearch ( string cinFirstName, string cinLastName, string cinOrganization, string FGFirstName, string FGLastName, int SeamstressID, int hadAlterations, string dressColor, int maxDressSize, int minDressSize, bool hasShoes, string shoeColor, double maxShoeSize, double minShoeSize, int ring, int headpiece, int bracelet, int earring, int necklace ) : string | ||
cinFirstName | string | Cinderellas First Name |
cinLastName | string | Cinderella's Last Name |
cinOrganization | string | Cinderella's Organization |
FGFirstName | string | FG's First Name |
FGLastName | string | FG's last name |
SeamstressID | int | ID# of a seamstress |
hadAlterations | int | int for if a cinderella has had alterations |
dressColor | string | Dress Color |
maxDressSize | int | Maximum Dress Size (int) |
minDressSize | int | minimum Dress Size (int) |
hasShoes | bool | If the cinderella wanted shoes or not |
shoeColor | string | shoe color |
maxShoeSize | double | Maximum Shoe Size (int) |
minShoeSize | double | minimum Shoe Size (int) |
ring | int | Ring int (for bool) |
headpiece | int | headpiece int (for bool) |
bracelet | int | bracelet int (for bool) |
earring | int | earring int (for bool) |
necklace | int | necklace int (for bool) |
return | string |
public NewCinderella ( string fname, string lname, string date, string time, int referralID ) : string | ||
fname | string | Cinderellas First Name |
lname | string | Cinderellas Last Name |
date | string | Cinderellas Appt Date |
time | string | Cinderellas Appt Time |
referralID | int | |
return | string |
public NewGodMother ( string fname, string lname, string address, string city, string emailAddress, string phoneNumber, string state, string zip ) : string | ||
fname | string | Godmothers First Name |
lname | string | Godmothers Last Name |
address | string | |
city | string | |
emailAddress | string | |
phoneNumber | string | |
state | string | |
zip | string | |
return | string |
public NumberOfCinderellasHelpedByFG ( ) : string | ||
return | string |
public NumberOfDressesAlteredByFG ( ) : string | ||
return | string |
public NumberOfDressesTakenByColor ( string color ) : int | ||
color | string | The dress color |
return | int |
public NumberOfDressesTakenByColorAndSize ( string color, int size ) : int | ||
color | string | The dress color |
size | int | The dress size |
return | int |
public NumberOfDressesTakenBySize ( int size ) : int | ||
size | int | The dress size |
return | int |
public NumberOfFGsByShift ( int shift ) : int | ||
shift | int | the shift # |
return | int |
public NumberOfFGsByShiftAndRole ( int shift, int role ) : int | ||
shift | int | the shift # |
role | int | the role number |
return | int |
public PackageBracelet ( int id ) : bool | ||
id | int | Cinderella's ID# |
return | bool |
public PackageCheckOutNotes ( int id ) : string | ||
id | int | Cinderella's ID# |
return | string |
public PackageEarrings ( int id ) : bool | ||
id | int | Cinderella's ID# |
return | bool |
public PackageHeadpiece ( int id ) : bool | ||
id | int | Cinderella's ID# |
return | bool |
public PackageNecklace ( int id ) : bool | ||
id | int | Cinderella's ID# |
return | bool |
public PackageOther ( int id ) : string | ||
id | int | Cinderella's ID# |
return | string |
public PackageRing ( int id ) : bool | ||
id | int | Cinderella's ID# |
return | bool |
public PackageShoeColor ( int id ) : string | ||
id | int | Cinderella's ID# |
return | string |
public PackageShoeSize ( int id ) : double | ||
id | int | Cinderella's ID# |
return | double |
public PairedPersonalShoppers ( int cinderellaID ) : string | ||
cinderellaID | int | cinderellas ID# |
return | string |
public PersonalShoppers ( int currentStatus ) : string | ||
currentStatus | int | status # |
return | string |
public PersonalShoppers ( int currentStatus1, int currentStatus2 ) : string | ||
currentStatus1 | int | one status # |
currentStatus2 | int | the other status # |
return | string |
public PersonalShoppersList ( int count, int currentStatus ) : string | ||
count | int | number of Fg's to be shown |
currentStatus | int | the desired status # |
return | string |
public PrintCinderellaName ( string ID ) : string | ||
ID | string | |
return | string |
public PrintFirstCinderellaName ( string ID ) : string | ||
ID | string | |
return | string |
public PrintFirstFGName ( string ID ) : string | ||
ID | string | |
return | string |
public PrintLastCinderellaName ( string ID ) : string | ||
ID | string | |
return | string |
public PrintLastFGName ( string ID ) : string | ||
ID | string | |
return | string |
public RetrievedDress ( int cinID ) : void | ||
cinID | int | Cinderella's ID# |
return | void |
public ShiftWorkerRole ( int fgID, int shiftID ) : int | ||
fgID | int | |
shiftID | int | |
return | int |
public addAlterations ( string cindID ) : void | ||
cindID | string | Cinderella's ID# |
return | void |
public addCinderellaAndReferral ( string refName, string refOrg, string cindFirstName, string cindLastName, string apptDate, string apptTime, string notes ) : void | ||
refName | string | Referral Name |
refOrg | string | Referral Organization |
cindFirstName | string | Cinderella's First Name |
cindLastName | string | Cinderella's Last Name |
apptDate | string | Appointment Date |
apptTime | string | Appointment Time |
notes | string | any notes |
return | void |
public addUser ( string loginName, string password, string firstName, string lastName, int roleID ) : void | ||
loginName | string | |
password | string | |
firstName | string | |
lastName | string | |
roleID | int | |
return | void |
public checkAlterations ( string id ) : string | ||
id | string | Cinderella's ID |
return | string |
public checkOutList ( int count ) : string | ||
count | int | Specifies the number of cinderellas to be displayed. |
return | string |
public checkOutUpdate ( int cinderellaID, int dressSize, string dressColor ) : void | ||
cinderellaID | int | |
dressSize | int | |
dressColor | string | |
return | void |
public checkOutUpdate ( int cinderellaID, int dressSize, string dressColor, double shoeSize, string shoeColor, string checkoutNotes, bool necklace, bool ring, bool bracelet, bool headpiece, bool earrings, string other ) : void | ||
cinderellaID | int | Cinderella's ID |
dressSize | int | Dress Size |
dressColor | string | Dress Color |
shoeSize | double | Shoe Size |
shoeColor | string | Shoe Color |
checkoutNotes | string | Checkout Notes (Can Be Null) |
necklace | bool | Necklace Bool |
ring | bool | Ring Bool |
bracelet | bool | Bracelet Bool |
headpiece | bool | Headpiece Bool |
earrings | bool | Earrings Bool |
other | string | Other accessories (Can Be Null) |
return | void |
public clearCinderellaFairyGodmotherID ( int id ) : void | ||
id | int | |
return | void |
public dressColor ( int id ) : string | ||
id | int | Cinderella's ID# |
return | string |
public fgListRole ( string roleID ) : string | ||
roleID | string | Role ID |
return | string |
public fgListRoleCheckedIn ( string roleID ) : string | ||
roleID | string | Role ID# |
return | string |
public fgListRoleManagement ( int roleID ) : string | ||
roleID | int | Role id |
return | string |
public fgListRoleManagement ( string roleID ) : string | ||
roleID | string | Role ID# |
return | string |
public fgListRoleManagement ( string roleID, int currentStatus ) : string | ||
roleID | string | Role ID |
currentStatus | int | Current Status |
return | string |
public fgListStatus ( string status ) : string | ||
status | string | status name |
return | string |
public fgListStatus ( string status, string shift ) : string | ||
status | string | status name |
shift | string | shift name |
return | string |
public fglistSearch ( string fname, string lname ) : string | ||
fname | string | |
lname | string | |
return | string |
public fglistSearch ( string fname, string lname, int currentStatus ) : string | ||
fname | string | FG's first name |
lname | string | FG's last name |
currentStatus | int | FG's current status |
return | string |
public getCinderellaPaired ( int id ) : string | ||
id | int | FG's ID# |
return | string |
public getCinderellaStatus ( int id ) : string | ||
id | int | |
return | string |
public getCurrentlyShopping ( ) : |
||
return |
public getFGShiftInfo ( string fgID ) : string | ||
fgID | string | FG ID# |
return | string |
public getFgPaired ( int id ) : string | ||
id | int | Cinderella's ID |
return | string |
public getPackageInfo ( string id ) : string | ||
id | string | Cinderella ID |
return | string |
public getSetting ( string settingName ) : string | ||
settingName | string | |
return | string |
public newFGShiftWorker ( string firstName, string lastName, int shiftID, int roleID ) : void | ||
firstName | string | FG first name |
lastName | string | FG last name |
shiftID | int | fg shift ID# |
roleID | int | FG role ID# |
return | void |
public pairCinderella ( int cinderellaID, int fg_id ) : void | ||
cinderellaID | int | Cinderella's ID# |
fg_id | int | FG's ID# |
return | void |
public setCinderellaStatus ( string ID, int status ) : void | ||
ID | string | Id of the Cinderella or Godmother |
status | int | Status that you would like to set. |
return | void |
public setDefaultSetting ( string settingName, string defaultValue ) : void | ||
settingName | string | |
defaultValue | string | |
return | void |
public setFGStatus ( string ID, int status ) : void | ||
ID | string | |
status | int | |
return | void |
public setFGStatusScan ( string ID, int status, int shift ) : void | ||
ID | string | |
status | int | |
shift | int | |
return | void |
public setSettingValue ( string settingName, string settingValue ) : void | ||
settingName | string | |
settingValue | string | |
return | void |
public showFairyGodmothers ( int shift, int status ) : string | ||
shift | int | |
status | int | |
return | string |
public sqlSelect ( string keyword ) : |
||
keyword | string | Keyword identifying the select statment in the switch. |
return |
public sqlStatment ( string mysql ) : int | ||
mysql | string | SQL statement to be executed. |
return | int |
public undoCinderellaPairFromFGID ( int fgID ) : void | ||
fgID | int | Fairy Godmother's ID |
return | void |
public undoCinderellaStatus ( int id, int status ) : void | ||
id | int | |
status | int | status to delete |
return | void |
public undoCinderellaUntilThisStatus ( int cinID, int status ) : void | ||
cinID | int | Cinderellas given id |
status | int | status to undo to |
return | void |
public undoFGPairFromCinderellaID ( int cinID ) : void | ||
cinID | int | Cinderella's ID |
return | void |
public undoFGStatus ( int id, int status ) : void | ||
id | int | |
status | int | status to delete |
return | void |
public undoFGUntilThisStatus ( int fgID, int status ) : void | ||
fgID | int | FairyGodmother given id |
status | int | status to undo to |
return | void |
public updateAlterations ( string cindID, string notes, int straps, int darts, int zipper, int mending, int takeIn, int bust, int hem, string fgID ) : void | ||
cindID | string | Cinderella's ID |
notes | string | notes |
straps | int | Straps (Int used for bool value in DB) |
darts | int | darts (Int used for bool value in DB) |
zipper | int | zipper (Int used for bool value in DB) |
mending | int | mending (Int used for bool value in DB) |
takeIn | int | takeIn (Int used for bool value in DB) |
bust | int | bust (Int used for bool value in DB) |
hem | int | hem (Int used for bool value in DB) |
fgID | string | Seamstress ID# |
return | void |
public updateAlterationsNotFinished ( string cindID, string notes, int straps, int darts, int zipper, int mending, int takeIn, int bust, int hem, string fgID ) : void | ||
cindID | string | Cinderella's ID |
notes | string | notes |
straps | int | Straps (Int used for bool value in DB) |
darts | int | darts (Int used for bool value in DB) |
zipper | int | zipper (Int used for bool value in DB) |
mending | int | mending (Int used for bool value in DB) |
takeIn | int | takeIn (Int used for bool value in DB) |
bust | int | bust (Int used for bool value in DB) |
hem | int | hem (Int used for bool value in DB) |
fgID | string | Seamstress ID# |
return | void |
public updateCinderella ( int id, string firstName, string lastName, string date, string time ) : string | ||
id | int | Cinderella's ID# |
firstName | string | Cinderella's First Name |
lastName | string | Cinderella's Last Name |
date | string | Cinderella's appointment date |
time | string | Cinderella's appointment time |
return | string |
public updateCinderellaAppt ( int id ) : void | ||
id | int | Cinderella's ID# |
return | void |
public updateCinderellaAppt ( int id, string date, string time ) : void | ||
id | int | Cinderella's ID# |
date | string | Cinderella's new appt date |
time | string | Cinderella's new appt time |
return | void |
public updateFairyGodmother ( string fgID, string firstName, string lastName, string emailAddress, string phoneNumber, string city, string state, string zip, string address ) : string | ||
fgID | string | FG ID# |
firstName | string | FG First Name |
lastName | string | FG Last Name |
emailAddress | string | FG Email |
phoneNumber | string | FG Phone# |
city | string | FG's city |
state | string | FG's state |
zip | string | FG's zip |
address | string | FG's Address |
return | string |
public validateLogin ( string username, string password ) : int | ||
username | string | Username |
password | string | Password |
return | int |