|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portalpages.browsing.myportal.communities.PreviewCommunityModel
public class PreviewCommunityModel
File: CommunityInvitationModelHelper.java ----------------------------------------- ModelHelper for Community Preview/Invitations This is necessary because we don't need this for all MyPortal Pages, yet we want it on the MyPortal Model.
Field Summary | |
---|---|
static int |
INVITEHEADER
Constant: Invite Header Bar |
int |
m_nPreviewStatus
Which bar is being used |
java.lang.String |
m_strJavascriptOverride
Join Community Javascript override |
static int |
NOPREVIEWHEADER
Constant: No Preview Header Bar |
static int |
PREVIEWHEADER
Constant: Preview Header Bar for preview only (as in Community Editor) |
static int |
SELECTIONPREVIEWHEADER
Constant: Preview Header Bar for Selection Page |
static java.lang.String |
STR_MVC_CLASS_NAME
|
Constructor Summary | |
---|---|
PreviewCommunityModel()
|
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. |
int |
GetCommunityID()
Set to use Preview Header |
int |
GetCommunityIndex()
Get to use for preview from selection page |
java.lang.String |
GetJoinCommunityJavaScriptOverride()
Get Join Community Javascript override. |
java.lang.String |
GetName()
Return the name of the MVC object. |
void |
Init(AActivitySpace parent)
This method initializes the model. |
boolean |
IsCommunityChecked()
Get to check for selected community |
void |
SetCommunityChecked(boolean bCommunityChecked)
Set community as selected |
void |
SetCommunityID(int nCommunityID)
Set to use Preview Header |
void |
SetCommunityIndex(int nCommunityIndex)
Set to use selection page |
void |
SetCommunityToInvitePage()
Set to use Invite Header |
void |
SetCommunityToPreviewPage()
Set to use Preview Header |
void |
SetCommunityToSelectionPreviewPage()
Set to use Selection Preview Header |
void |
SetJoinCommunityJavaScriptOverride(java.lang.String _strOverride)
Set the Join Community Javascript override. |
boolean |
UserHasCommunityAccess()
|
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
public static final int NOPREVIEWHEADER
public static final int SELECTIONPREVIEWHEADER
public static final int INVITEHEADER
public static final int PREVIEWHEADER
public int m_nPreviewStatus
public java.lang.String m_strJavascriptOverride
Constructor Detail |
---|
public PreviewCommunityModel()
Method Detail |
---|
public void CleanupTempData()
IModel
CleanupTempData
in interface IModel
IModel.CleanupTempData()
public void CleanupAllData()
IModel
CleanupAllData
in interface IModel
IModel.CleanupAllData()
public java.lang.Object Create()
IManagedObject
Create
in interface IManagedObject
IManagedObject.Create()
public int GetCommunityID()
public int GetCommunityIndex()
public java.lang.String GetName()
IMVCObject
GetName
in interface IMVCObject
com.plumtree.xpshared.activityspace.IModelRO#GetName()
public void Init(AActivitySpace parent)
IModel
Init
in interface IModel
parent
- the parent Activity Spacecom.plumtree.xpshared.activityspace.IModel#Init()
public boolean IsCommunityChecked()
public void SetCommunityChecked(boolean bCommunityChecked)
public void SetCommunityID(int nCommunityID)
public void SetCommunityIndex(int nCommunityIndex)
public void SetCommunityToInvitePage()
public void SetCommunityToPreviewPage()
public void SetCommunityToSelectionPreviewPage()
public boolean UserHasCommunityAccess()
public java.lang.String GetJoinCommunityJavaScriptOverride()
public void SetJoinCommunityJavaScriptOverride(java.lang.String _strOverride)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |