|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.cesar.quitesleep.operations.MailOperations
public class MailOperations
Constructor Summary | |
---|---|
MailOperations()
|
Method Summary | |
---|---|
static boolean |
saveMailServiceState(boolean mailServiceState)
Function that save the mailService sending state, in both, the Settings object in the ddbb and the static variable for more fast access later. |
static boolean |
saveMailSettings(java.lang.String user,
java.lang.String passwd,
java.lang.String subject,
java.lang.String body)
Function that save the mail settings into Settings object from the ddbb, if the Settings object doesn't exists we create it, and if it exists, update one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MailOperations()
Method Detail |
---|
public static boolean saveMailSettings(java.lang.String user, java.lang.String passwd, java.lang.String subject, java.lang.String body)
user
- passwd
- subject
- body
-
boolean
public static boolean saveMailServiceState(boolean mailServiceState)
mailServiceState
-
boolean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |