|
|||||||||
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.PreviewCommunityBarModel
public class PreviewCommunityBarModel
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 |
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 | |
---|---|
PreviewCommunityBarModel()
|
Method Summary | |
---|---|
void |
AddCommunity()
Method addCommunity - adds the user into the community's membership list as a free member |
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. |
boolean |
CommunityJoinFailed()
Is Error Page |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
java.lang.String |
GetCommunityDescription()
Get community description |
int |
GetCommunityID()
Set to use Preview Header |
int |
GetCommunityIndex()
Get to use for preview from selection page |
java.lang.String |
GetCommunityName()
Get community Name |
java.lang.String |
GetCommunityURL()
Get invited or preview community URL |
java.lang.String |
GetDefaultCommunityURL()
Get User's default community URL |
java.lang.String |
GetDescriptionURL()
|
java.lang.String |
GetJoinCommunityJavaScriptOverride()
Get Join Community Javascript override. |
java.lang.String |
GetJoinURL()
|
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 |
boolean |
IsCommunityInvitePage()
Is Community Invite Page |
boolean |
IsCommunityMember()
|
boolean |
IsCommunityOpened()
Get to check if community exist |
boolean |
IsCommunityPreviewPage()
Is Community Preview Page |
boolean |
IsCommunitySelectionPreviewPage()
Is Community Selection Preview Page |
void |
SetCommunityChecked(boolean bCommunityChecked)
Set community as selected |
void |
SetCommunityIDAndOpen(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 |
SetErrorPage(boolean bErrorPage)
Set to use Preview Header |
void |
SetJoinCommunityJavaScriptOverride(java.lang.String _strOverride)
Set the Join Community Javascript override. |
boolean |
UserHasReadAccess()
Set to use Preview Header |
boolean |
UserHasSelectAccess()
Set to use Preview Header |
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 java.lang.String m_strJavascriptOverride
Constructor Detail |
---|
public PreviewCommunityBarModel()
Method Detail |
---|
public void CleanupTempData()
IModel
CleanupTempData
in interface IModel
public void CleanupAllData()
IModel
CleanupAllData
in interface IModel
public void AddCommunity()
HTMLException
public java.lang.Object Create()
IManagedObject
Create
in interface IManagedObject
IManagedObject.Create()
public java.lang.String GetCommunityDescription()
public int GetCommunityID()
GetCommunityID
in interface IJoinPreviewCommunityModel
public int GetCommunityIndex()
public java.lang.String GetCommunityName()
GetCommunityName
in interface IJoinPreviewCommunityModel
public java.lang.String GetCommunityURL()
GetCommunityURL
in interface IJoinPreviewCommunityModel
public java.lang.String GetDefaultCommunityURL()
GetDefaultCommunityURL
in interface IJoinPreviewCommunityModel
public java.lang.String GetDescriptionURL()
com.plumtree.portalpages.browsing.myportal.IMyPortalModelRO#GetDescriptionURL()
public java.lang.String GetJoinURL()
com.plumtree.portalpages.browsing.myportal.IMyPortalModelRO#GetJoinURL()
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 IsCommunityOpened()
public boolean IsCommunityChecked()
public boolean IsCommunityInvitePage()
public boolean IsCommunityMember()
public boolean IsCommunityPreviewPage()
public boolean IsCommunitySelectionPreviewPage()
public boolean CommunityJoinFailed()
CommunityJoinFailed
in interface IJoinPreviewCommunityModel
public void SetCommunityChecked(boolean bCommunityChecked)
public void SetCommunityIDAndOpen(int nCommunityID)
public void SetCommunityIndex(int nCommunityIndex)
public void SetCommunityToInvitePage()
public void SetCommunityToPreviewPage()
public void SetCommunityToSelectionPreviewPage()
public void SetErrorPage(boolean bErrorPage)
public boolean UserHasReadAccess()
public boolean UserHasSelectAccess()
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 |