|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.bryansaunders.jee6divelog.util.AccountUtils
public final class AccountUtils
User Account Utilities.
Method Summary | ||
---|---|---|
static UserAccount |
createCleanUserAccount(Identity identity)
Generates a Cleaned UserAccount Object for the Current Identity. |
|
static UserAccount |
createUserAccount(Identity identity)
Generates a UserAccount Object for the Current Identity. |
|
static
|
getCleanEntity(T entity)
Clears the Dates on any DiveLogEntity. |
|
static UserAccount |
getCleanUserAccount(UserAccount userAccount)
Clears the Dates & Password on any UserAccount. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static UserAccount createUserAccount(Identity identity)
identity
- Identity to Copy
public static UserAccount createCleanUserAccount(Identity identity)
identity
- Identity to Copy
public static <T extends DiveLogEntity> T getCleanEntity(T entity)
T
- Generic Typeentity
- Entity to Clear Dates on
public static UserAccount getCleanUserAccount(UserAccount userAccount)
userAccount
- UserAccount to Clear
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |