|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MemberAccount
MemberAccount defines common variables and methods used to create differing account types
Copyright ©Zphinx Software Solutions
| Field Summary | |
|---|---|
static int |
ACCOUNT_30_DAYS
30 day account type |
static int |
ACCOUNT_NO_EXPIRE
Unlimited account type |
static int |
ACCOUNT_ONE_DAY
One day account type |
static int |
ACCOUNT_ONE_WEEK
1 week account type |
static int |
ACCOUNT_ONE_YEAR
1 year account type |
static int |
ACCOUNT_THREE_DAYS
3 day account type |
static int |
ACCOUNT_VARIABLE
A variable account type |
| Method Summary | |
|---|---|
void |
changeDetails(AccountTypeBean accountType,
long expire)
Amend the properties of this account with the given parameters |
Date |
getAccountExpirationDate()
Gets the expiration dtae of this account |
AccountTypeBean |
getAccountType()
Gets the type of account we are creating |
long |
getId()
Gets the id of this account |
boolean |
isAccountTypeChanged()
Checks for changes in the users accountType |
boolean |
isInitialized()
Returns true if this object has been fully initialized |
void |
setAccountExpirationDate(Date accountExpirationDate)
Sets the expiration dtae of this account |
void |
setAccountType(AccountTypeBean accountType)
Sets the type of account we are creating |
void |
setId(long accountId)
Sets the id of this account |
| Field Detail |
|---|
static final int ACCOUNT_ONE_DAY
static final int ACCOUNT_THREE_DAYS
static final int ACCOUNT_ONE_WEEK
static final int ACCOUNT_30_DAYS
static final int ACCOUNT_ONE_YEAR
static final int ACCOUNT_VARIABLE
static final int ACCOUNT_NO_EXPIRE
| Method Detail |
|---|
Date getAccountExpirationDate()
void setAccountExpirationDate(Date accountExpirationDate)
throws SpineApplicationException
accountExpirationDate - The accountExpirationDate to set.
SpineApplicationExceptionlong getId()
void setId(long accountId)
accountId - The accountId to set.AccountTypeBean getAccountType()
void setAccountType(AccountTypeBean accountType)
accountType - The accountType to set.boolean isInitialized()
void changeDetails(AccountTypeBean accountType,
long expire)
throws SpineApplicationException
accountType - The type of account details object we are creatingexpire - The time in milliseconds when this account will expire
SpineApplicationExceptionboolean isAccountTypeChanged()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||