|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portalpages.browsing.login.createaccount.CreateAccountModel
public class CreateAccountModel
Creates a new user account. Used by "CreateAccount" linkas well as portal invite.
Field Summary | |
---|---|
protected AActivitySpace |
m_asOwner
|
static java.lang.String |
STR_MVC_CLASS_NAME
The unique name for the class |
Constructor Summary | |
---|---|
CreateAccountModel()
|
Method Summary | |
---|---|
void |
CleanupAllData()
This method is called when an ActivitySpace is removed from the cache. |
void |
CleanupTempData()
This method is called at the end of every HTTP request by the Interpreter. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
Redirect |
DoCreateAccount(IXPRequest request,
IWebData webData)
Implement the account creation |
boolean |
DoGetSession()
|
java.lang.String |
GetCreateUserInviteToken()
Uses the server setting to generate the crypto token for create account invite TODO: Generate one based on date, so it will expire rapidly |
java.lang.String |
GetInviteCode()
|
java.lang.String |
GetName()
Return the name of the MVC object. |
IPTSession |
GetSession()
|
java.lang.String |
GetUserName()
|
java.lang.String |
GetUserPass()
|
void |
Init(AActivitySpace parent)
Inits the Model with the Activity Space. |
void |
SetInviteCode(java.lang.String s)
|
void |
SetUserName(java.lang.String s)
|
void |
SetUserPass(java.lang.String s)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
protected AActivitySpace m_asOwner
Constructor Detail |
---|
public CreateAccountModel()
Method Detail |
---|
public void CleanupTempData()
IModel
CleanupTempData
in interface IModel
IModel.CleanupTempData()
public java.lang.Object Create()
IManagedObject
Create
in interface IManagedObject
IManagedObject.Create()
public Redirect DoCreateAccount(IXPRequest request, IWebData webData)
public boolean DoGetSession()
public IPTSession GetSession()
public java.lang.String GetInviteCode()
public java.lang.String GetName()
IMVCObject
GetName
in interface IMVCObject
com.plumtree.xpshared.activityspace.IModel#GetName()
public java.lang.String GetUserName()
public java.lang.String GetUserPass()
public void Init(AActivitySpace parent)
Init
in interface IModel
parent
- public void SetInviteCode(java.lang.String s)
s
- public void SetUserName(java.lang.String s)
s
- public void SetUserPass(java.lang.String s)
s
- public java.lang.String GetCreateUserInviteToken()
public void CleanupAllData()
IModel
CleanupAllData
in interface IModel
IModel.CleanupAllData()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |