com.plumtree.portalpages.admin.editors.subportal
Class SubPortalModel

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorModel
      extended by com.plumtree.portaluiinfrastructure.editor.ObjEditorModel
          extended by com.plumtree.portalpages.admin.editors.subportal.SubPortalModel
All Implemented Interfaces:
ISubPortalModelRO, IDescriptionModelRO, IMigrationModelRO, IObjEditorModelRO, IManagedObject, IModel, IModelRO, IMVCObject, IEditorModelRO, IRepostModel

public class SubPortalModel
extends ObjEditorModel
implements ISubPortalModelRO

This class contains the IPTSubPortal server object, as well as the set and get methods on that object. This class is called by the SubPortalRepostControl class to perform the changes on the Object and by the Section classes to display the latest values on the page.

Author:
JohnH

Field Summary
static int NO_MANDATORY_LINKS
          Default value for mandatory links ID.
static java.lang.String STR_MVC_CLASS_NAME
          Unique identifier for this class
 
Fields inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel
EDITOR_CLASSID_UNKNOWN, EDITOR_FOLDERID_UNKNOWN, EDITOR_OBJECTID_UNKNOWN, EDITOR_QS_BOL_QS_FORCESAVEINFOLDER, EDITOR_QS_INT_CLASS_ID, EDITOR_QS_INT_QS_FOLDER_ID, EDITOR_QS_INT_QS_OBJECT_ID, m_bDisableDescription, m_bDisableSecurity, m_bForceSavedInSuppliedFolder, m_bIsSysAdmin, m_nClassID, m_nFolderID, m_nFolderType, m_nObjectID, m_ptObject, m_Session, m_sFolderName, OBJECT_NAME_TRUNCATE
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorModel
m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType
 
Constructor Summary
SubPortalModel()
           
 
Method Summary
 void Cancel()
          Implement some code to execute when the user clicks on "Cancel".
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 void DoTaskAfterStore()
          Code executed after the object is stored.
 void DoTaskBeforeStore()
          Initializes IPTSubPortal with the member variables just before we store the object in the DB.
 void DoTaskOnComeBackFromSubEditor()
          This method will be called when you come back to the main Editor from a sub Editor.
 void DoTaskOnStartEditor(XPHashtable _htFormData)
          Initializes the property type member variable with the one from IPTProperty in Edit mode and the default value in create mode.
 void Finish()
          That method is called by the EditorFinishControl.
 int GetAccessType()
          Returns the The type of subportal access (MyPages, Communities, Knowledge Directory) supported by this subportal.
 ASURL GetASURLToAdminFolder(java.lang.String _sSubSpaceKey)
          Return the ASURL object going to the Folder Editor as a sub Editor.
 ASURL GetASURLToCommunity(java.lang.String _sSubSpaceKey)
          Return the ASURL object going to the Community Editor as a sub Editor.
 ASURL GetASURLToFolder(java.lang.String _sSubSpaceKey)
          Return the ASURL object going to the Folder Editor as a sub Editor.
 java.lang.String GetCommSubSpaceID()
          Returns the subspace ID used by the Community tree control.
protected  java.lang.String GetCommunityThemesURL()
           
 int GetDefaultFirstPage()
          Returns the default object ID based on the page type specified.
 int GetDefaultFirstPageType()
          Returns which page the users will see upon logging in to the subportal: a MyPage, a Community, or a Directory page.
 int GetDefaultSSOVendor()
          Return the default SSO Vendor setting from PTConfig.xml.
 java.lang.String GetFolderSubSpaceID()
          Returns the subspace ID used by the Folder tree control.
 boolean GetFolderUnclassified()
          Returns whether a newly created folder resides in the unclassified area of the object admin hierarchy
 int GetFooterID()
          Returns the Footer ID.
 boolean GetGuestRedirectToLogin()
          Returns the Guest Redirect To Login setting.
 java.lang.String GetGuestTreeSubSpaceID()
          Returns the subspace ID used by the guest tree.
 int GetGuestUserID()
          Returns the Guest User ID.
 java.lang.String GetGuestUserName()
          Returns the Guest Login name.
 int GetHeaderID()
          Returns the header ID.
 boolean GetHomeCommunityError()
          Returns whether there was an error initializing the Home Community.
 int GetHomeCommunityID()
          Returns the home Community ID.
 java.lang.String GetHomeCommunityName()
          Returns the home Community Name.
 int GetHomeFolderID()
          Returns the home Folder ID.
 java.lang.String GetHomeFolderName()
          Returns the home Folder Name.
 boolean GetIsNewGuestLogin()
          Returns true if the subportal has a PTGuestLogin associated to it, or false otherwise.
 boolean GetLayoutEnabled()
           
 java.lang.String GetLayoutOptions()
           
 java.lang.String GetName()
          Returns the Class name.
 int GetNavigationScheme()
          Returns the Navigation scheme for the subportal.
 boolean GetRedirectOnLogout()
          Returns the Redirect On Logout setting.
 int GetRelatedResourcesAccessTypes()
          Returns what related resources are accessible to users of this subportal.
 int GetSSOVendor()
          Returns the SSO Vendor setting of the subportal if it exists or the default SSO Vendor setting from PTConfig.xml if the subportal has no SSO Vendor setting set.
 java.lang.String GetStyleSheet()
          Returns the Stylesheet name.
 IXPDictionary GetStyleSheetOptions()
          Returns the available Stylesheet names.
 void InitializeGuestLoginPlugIn()
          Helper method to initialize the plug-in section for Login Settings (the Guest Login object of this subportal)
 void InitializeSiteMapPlugIn()
          Helper method to initialize the plug-in section for navigation link creation
 void RefreshItemFromTree(int intObjectType)
          This method gets the selected items from the tree, setting member variables for ObjectID and name of the object selected.
 void RefreshSelectedGuestFromTree()
          This method gets the selected guest from the tree, setting member variables for ObjectID and name of the guest selected.
protected  int SaveBannerPage(XPHashtable _htFormData)
          Saves the data on the Choose Header & Footer page.
protected  int SaveFeaturesPage(XPHashtable _htFormData)
          Saves the data on the SubPortal Features page.
protected  int SaveLayoutSettingsPage(XPHashtable _htFormData)
          Saves the data on the Adaptive Layout Settings page.
protected  int SaveLoginSettingsPage(XPHashtable _htFormData)
          Saves the data on the Login Settings page.
protected  int SaveNavPage(XPHashtable _htFormData)
          Saves the data on the Choose Navigation Design page.
 int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
          Calls the right save function according to the page name passed in argument.
 void SetAccessType(int _intAccessType)
          Sets the The type of subportal access (MyPages, Communities, Knowledge Directory) supported by this subportal.
 void SetCommSubSpaceID(java.lang.String _strCommSubSpaceID)
          Returns the subspace ID used by the Community tree control.
 void SetDefaultFirstPage(int _intDefaultFirstPage)
          Sets the default object ID based on the page type specified.
 void SetDefaultFirstPageType(int _intDefaultFirstPageType)
          Sets which page the users will see upon logging in to the subportal: a MyPage, a Community, or a Directory page.
 void SetFolderSubSpaceID(java.lang.String _strFolderSubSpaceID)
          Returns the subspace ID used by the Folder tree control.
 void SetFolderUnclassified(boolean bFolderUnclassified)
          Returns whether a newly created folder resides in the unclassified area of the object admin hierarchy * @param bFolderUnclassified The bFolderUnclassified to set
 void SetFooterID(int _intFooterID)
          Sets the Footer ID.
 void SetGuestTreeSubSpaceID(java.lang.String subspaceID)
          Sets the subspace ID used by the guest tree.
 void SetHeaderID(int _intHeaderID)
          Sets the header ID.
 void SetHomeCommunityError(boolean _bHomeCommunityError)
          Sets the home Community Error.
 void SetHomeCommunityID(int homeCommunityID)
          Sets the home Community ID.
 void SetHomeCommunityName(java.lang.String homeCommunityName)
          Sets the home Community Name.
 void SetHomeFolderID(int homeFolderID)
          Sets the home Folder ID.
 void SetHomeFolderName(java.lang.String homeFolderName)
          Sets the home Folder Name.
 void SetLayoutEnabled(boolean _bLayoutEnabled)
          Sets whether or not adaptive layouts are enabled for this subportal.
 void SetLayoutOptions(java.lang.String _strOptions)
           
 void SetNavigationScheme(int _intNavigationScheme)
          Sets the Navigation scheme for the subportal.
 void SetRelatedResourcesAccessTypes(int _intRelatedResourcesAccessTypes)
          Sets what related resources are accessible to users of this subportal.
 void StartSelectPTFolder()
          Helper method to start the Select PTObject List.
 void StartSelectPTFooter()
          Helper method to start the Select PTObject List.
 void StartSelectPTHeader()
          Helper method to start the Select PTObject List.
 
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel
CheckEditorAccess, CheckEditorAccessAndStart, CheckFolderType, DisableSecurity, ForceSaveInFolder, GetClassID, GetFolderID, GetFolderName, GetIsSysAdmin, GetMigrationStatus, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession, Init, InitIsSysAdminFlag, InitPTObject, IsDescriptionDisabled, IsMigrationApproved, SaveMigrationStatus, SetDisableDescription, SetEditorToReadOnly, SetMemberVariablesFromQS, SetMigrationStatus, StartKeywords, StartLocNamesList, StartMigrationHistory, StartObjectProp, StartSecurityList, StoreObject
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel
CleanupAllData, CleanupTempData, DoTaskOnChangePage, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetHideLeftNav, GetIsEditorReadOnly, GetRedirectAfterFinish, GetUserHasAccessToEditor, SetCloseOnDone, SetDeleteOnCancel, SetEditorType, SetEnableApplyButton, SetHideLeftNav, SetPageStatus, SetUserHasAccessToEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.plumtree.portaluiinfrastructure.editor.IObjEditorModelRO
GetClassID, GetObject, GetObjectDescription, GetObjectID, GetObjectName, GetParentFolderPath, GetPTSession
 
Methods inherited from interface com.plumtree.uiinfrastructure.editor.IEditorModelRO
GetEditorType, GetEnableApplyButton, GetHideLeftNav, GetIsEditorReadOnly
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
Unique identifier for this class

See Also:
Constant Field Values

NO_MANDATORY_LINKS

public static final int NO_MANDATORY_LINKS
Default value for mandatory links ID. This value is used when there are no mandatory links

See Also:
Constant Field Values
Constructor Detail

SubPortalModel

public SubPortalModel()
Method Detail

Create

public java.lang.Object Create()
Description copied from class: EditorModel
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Specified by:
Create in class EditorModel
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

DoTaskOnStartEditor

public void DoTaskOnStartEditor(XPHashtable _htFormData)
Initializes the property type member variable with the one from IPTProperty in Edit mode and the default value in create mode.

Overrides:
DoTaskOnStartEditor in class EditorModel
Parameters:
_htFormData -
Throws:
XPException

Finish

public void Finish()
Description copied from class: ObjEditorModel
That method is called by the EditorFinishControl. It takes care of storing the IPTObject in the DB when the user finishes the Editor.

Specified by:
Finish in interface IRepostModel
Overrides:
Finish in class ObjEditorModel
See Also:
EditorModel.Finish()

DoTaskBeforeStore

public void DoTaskBeforeStore()
Initializes IPTSubPortal with the member variables just before we store the object in the DB.

Overrides:
DoTaskBeforeStore in class EditorModel
Throws:
XPException

DoTaskAfterStore

public void DoTaskAfterStore()
Code executed after the object is stored.

Overrides:
DoTaskAfterStore in class EditorModel

Cancel

public void Cancel()
Description copied from class: EditorModel
Implement some code to execute when the user clicks on "Cancel".

Overrides:
Cancel in class EditorModel
See Also:
EditorModel.Cancel()

DoTaskOnComeBackFromSubEditor

public void DoTaskOnComeBackFromSubEditor()
This method will be called when you come back to the main Editor from a sub Editor.

Overrides:
DoTaskOnComeBackFromSubEditor in class ObjEditorModel

GetASURLToCommunity

public ASURL GetASURLToCommunity(java.lang.String _sSubSpaceKey)
Return the ASURL object going to the Community Editor as a sub Editor.

Specified by:
GetASURLToCommunity in interface ISubPortalModelRO
Parameters:
_sSubSpaceKey - Key for the sub Editor. If we are going to a new sub Editor, the key can be null and we will just pass in the default key. If we are going back to an existing sub Editor, it should be the sub Editor key.
Returns:
ASURL

GetASURLToFolder

public ASURL GetASURLToFolder(java.lang.String _sSubSpaceKey)
Return the ASURL object going to the Folder Editor as a sub Editor.

Specified by:
GetASURLToFolder in interface ISubPortalModelRO
Parameters:
_sSubSpaceKey - Key for the sub Editor. If we are going to a new sub Editor, the key can be null and we will just pass in the default key. If we are going back to an existing sub Editor, it should be the sub Editor key.
Returns:
ASURL

GetASURLToAdminFolder

public ASURL GetASURLToAdminFolder(java.lang.String _sSubSpaceKey)
Return the ASURL object going to the Folder Editor as a sub Editor.

Specified by:
GetASURLToAdminFolder in interface ISubPortalModelRO
Parameters:
_sSubSpaceKey - Key for the sub Editor. If we are going to a new sub Editor, the key can be null and we will just pass in the default key. If we are going back to an existing sub Editor, it should be the sub Editor key.
Returns:
ASURL

RefreshItemFromTree

public void RefreshItemFromTree(int intObjectType)
This method gets the selected items from the tree, setting member variables for ObjectID and name of the object selected. It is called on repost.

Parameters:
intObjectType - intObjectType - 0 for Community, 1 for Folders

RefreshSelectedGuestFromTree

public void RefreshSelectedGuestFromTree()
This method gets the selected guest from the tree, setting member variables for ObjectID and name of the guest selected. It is called on repost.


StartSelectPTFolder

public void StartSelectPTFolder()
Helper method to start the Select PTObject List.


StartSelectPTFooter

public void StartSelectPTFooter()
Helper method to start the Select PTObject List.


StartSelectPTHeader

public void StartSelectPTHeader()
Helper method to start the Select PTObject List.


InitializeSiteMapPlugIn

public void InitializeSiteMapPlugIn()
Helper method to initialize the plug-in section for navigation link creation


InitializeGuestLoginPlugIn

public void InitializeGuestLoginPlugIn()
Helper method to initialize the plug-in section for Login Settings (the Guest Login object of this subportal)


SavePage

public int SavePage(java.lang.String _sPageName,
                    XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument.

Specified by:
SavePage in interface IRepostModel
Overrides:
SavePage in class ObjEditorModel
Parameters:
_sPageName -
_htFormData -
Returns:
int Page status for server side validation

SaveFeaturesPage

protected int SaveFeaturesPage(XPHashtable _htFormData)
Saves the data on the SubPortal Features page.

Parameters:
_htFormData -
Returns:
int Page status for server side validation

SaveBannerPage

protected int SaveBannerPage(XPHashtable _htFormData)
Saves the data on the Choose Header & Footer page.

Parameters:
_htFormData -
Returns:

SaveNavPage

protected int SaveNavPage(XPHashtable _htFormData)
Saves the data on the Choose Navigation Design page.

Parameters:
_htFormData -
Returns:

SaveLoginSettingsPage

protected int SaveLoginSettingsPage(XPHashtable _htFormData)
Saves the data on the Login Settings page.

Parameters:
_htFormData -
Returns:

SaveLayoutSettingsPage

protected int SaveLayoutSettingsPage(XPHashtable _htFormData)
Saves the data on the Adaptive Layout Settings page.

Parameters:
_htFormData -
Returns:

SetAccessType

public void SetAccessType(int _intAccessType)
Sets the The type of subportal access (MyPages, Communities, Knowledge Directory) supported by this subportal. Valid values are any mask combination of PT_SUBPORTAL_ACCESSTYPES Defaults to communities

Parameters:
_intAccessType -

SetCommSubSpaceID

public void SetCommSubSpaceID(java.lang.String _strCommSubSpaceID)
Returns the subspace ID used by the Community tree control. This is used to ensure that trees that already exist in memory are reused instead of recreated.

Parameters:
_strCommSubSpaceID -

SetDefaultFirstPage

public void SetDefaultFirstPage(int _intDefaultFirstPage)
Sets the default object ID based on the page type specified. If the page type is PT_SUBPORTAL_COMMUNITIES_ACCESS, then the first page ID will be the Community ID that is set to appear as default. An analogous result will occur with Directory. In the case MyPages, this function will throw an error, because the Users will aldways be referred to their main MyPage

Parameters:
_intDefaultFirstPage -

SetDefaultFirstPageType

public void SetDefaultFirstPageType(int _intDefaultFirstPageType)
Sets which page the users will see upon logging in to the subportal: a MyPage, a Community, or a Directory page. Valid values are enumerated in PT_SUBPORTAL_ACCESS_TYPES.

Parameters:
_intDefaultFirstPageType -

SetFolderSubSpaceID

public void SetFolderSubSpaceID(java.lang.String _strFolderSubSpaceID)
Returns the subspace ID used by the Folder tree control. This is used to ensure that trees that already exist in memory are reused instead of recreated.

Parameters:
_strFolderSubSpaceID -

SetFooterID

public void SetFooterID(int _intFooterID)
Sets the Footer ID. If the specified Footer ID doesn't exist, the UI will revert to the default banner, which cannot be deleted.

Parameters:
_intFooterID -

SetHeaderID

public void SetHeaderID(int _intHeaderID)
Sets the header ID. If the specified Header ID doesn't exist, the UI will revert to the default banner, which cannot be deleted.

Parameters:
_intHeaderID -

SetNavigationScheme

public void SetNavigationScheme(int _intNavigationScheme)
Sets the Navigation scheme for the subportal. Valid values are enumerated in NavTypes.xml.

Parameters:
_intNavigationScheme -

SetRelatedResourcesAccessTypes

public void SetRelatedResourcesAccessTypes(int _intRelatedResourcesAccessTypes)
Sets what related resources are accessible to users of this subportal. The value is any mask combination of PT_RELATED_RESOURCES_ACCESS_TYPES.

Parameters:
_intRelatedResourcesAccessTypes -

SetLayoutEnabled

public void SetLayoutEnabled(boolean _bLayoutEnabled)
Sets whether or not adaptive layouts are enabled for this subportal.

Parameters:
_bLayoutEnabled - whether or not layouts are enabled.

SetHomeCommunityError

public void SetHomeCommunityError(boolean _bHomeCommunityError)
Sets the home Community Error.

Parameters:
_bHomeCommunityError - The boolean to set Home Community Error to.

GetLayoutOptions

public java.lang.String GetLayoutOptions()
Specified by:
GetLayoutOptions in interface ISubPortalModelRO
Returns:
the m_strLayoutOptions

SetLayoutOptions

public void SetLayoutOptions(java.lang.String _strOptions)
Parameters:
_strOptions - the m_strLayoutOptions to set

GetHomeCommunityError

public boolean GetHomeCommunityError()
Returns whether there was an error initializing the Home Community.

Returns:
boolean

GetHomeCommunityID

public int GetHomeCommunityID()
Returns the home Community ID.

Specified by:
GetHomeCommunityID in interface ISubPortalModelRO
Returns:
int

SetHomeCommunityID

public void SetHomeCommunityID(int homeCommunityID)
Sets the home Community ID.

Parameters:
homeCommunityID - The home Community ID to set

SetHomeCommunityName

public void SetHomeCommunityName(java.lang.String homeCommunityName)
Sets the home Community Name.

Parameters:
homeCommunityName - The home Community Name to set

GetHomeCommunityName

public java.lang.String GetHomeCommunityName()
Returns the home Community Name.

Specified by:
GetHomeCommunityName in interface ISubPortalModelRO
Returns:
String

SetHomeFolderID

public void SetHomeFolderID(int homeFolderID)
Sets the home Folder ID.

Parameters:
homeFolderID - The homeFolderID to set

GetHomeFolderID

public int GetHomeFolderID()
Returns the home Folder ID.

Specified by:
GetHomeFolderID in interface ISubPortalModelRO
Returns:
int

SetHomeFolderName

public void SetHomeFolderName(java.lang.String homeFolderName)
Sets the home Folder Name.

Parameters:
homeFolderName - The home Folder Name to set

GetHomeFolderName

public java.lang.String GetHomeFolderName()
Returns the home Folder Name.

Specified by:
GetHomeFolderName in interface ISubPortalModelRO
Returns:
String

GetAccessType

public int GetAccessType()
Returns the The type of subportal access (MyPages, Communities, Knowledge Directory) supported by this subportal. Valid values are any mask combination of PT_SUBPORTAL_ACCESSTYPES Defaults to communities

Specified by:
GetAccessType in interface ISubPortalModelRO
Returns:
int

GetCommSubSpaceID

public java.lang.String GetCommSubSpaceID()
Returns the subspace ID used by the Community tree control. This is used to ensure that trees that already exist in memory are reused instead of recreated.

Specified by:
GetCommSubSpaceID in interface ISubPortalModelRO
Returns:
String

GetDefaultFirstPage

public int GetDefaultFirstPage()
Returns the default object ID based on the page type specified. If the page type is PT_SUBPORTAL_COMMUNITIES_ACCESS, then the first page ID will be the Community ID that is set to appear as default. An analogous result will occur with Directory. In the case MyPages, this function will throw an error, because the Users will always be referred to their main MyPage

Specified by:
GetDefaultFirstPage in interface ISubPortalModelRO
Returns:
int

GetDefaultFirstPageType

public int GetDefaultFirstPageType()
Returns which page the users will see upon logging in to the subportal: a MyPage, a Community, or a Directory page. Valid values are enumerated in PT_SUBPORTAL_ACCESS_TYPES.

Specified by:
GetDefaultFirstPageType in interface ISubPortalModelRO
Returns:
int

GetFolderSubSpaceID

public java.lang.String GetFolderSubSpaceID()
Returns the subspace ID used by the Folder tree control. This is used to ensure that trees that already exist in memory are reused instead of recreated.

Specified by:
GetFolderSubSpaceID in interface ISubPortalModelRO
Returns:
String

GetFooterID

public int GetFooterID()
Returns the Footer ID. If the specified Footer ID doesn't exist, the UI will revert to the default banner, which cannot be deleted.

Specified by:
GetFooterID in interface ISubPortalModelRO
Returns:
int

GetHeaderID

public int GetHeaderID()
Returns the header ID. If the specified Header ID doesn't exist, the UI will revert to the default banner, which cannot be deleted.

Specified by:
GetHeaderID in interface ISubPortalModelRO
Returns:
int

GetStyleSheet

public java.lang.String GetStyleSheet()
Returns the Stylesheet name.

Specified by:
GetStyleSheet in interface ISubPortalModelRO
Returns:
String

GetStyleSheetOptions

public IXPDictionary GetStyleSheetOptions()
Returns the available Stylesheet names.

Specified by:
GetStyleSheetOptions in interface ISubPortalModelRO
Returns:
IXPDictionary

GetIsNewGuestLogin

public boolean GetIsNewGuestLogin()
Returns true if the subportal has a PTGuestLogin associated to it, or false otherwise.

Specified by:
GetIsNewGuestLogin in interface ISubPortalModelRO
Returns:
boolean

GetGuestUserName

public java.lang.String GetGuestUserName()
Returns the Guest Login name.

Specified by:
GetGuestUserName in interface ISubPortalModelRO
Returns:
String

GetGuestUserID

public int GetGuestUserID()
Returns the Guest User ID.

Specified by:
GetGuestUserID in interface ISubPortalModelRO
Returns:
int

GetGuestTreeSubSpaceID

public java.lang.String GetGuestTreeSubSpaceID()
Returns the subspace ID used by the guest tree. This is used to ensure that trees that already exist in memory are reused instead of recreated.

Specified by:
GetGuestTreeSubSpaceID in interface ISubPortalModelRO
Returns:
String

SetGuestTreeSubSpaceID

public void SetGuestTreeSubSpaceID(java.lang.String subspaceID)
Sets the subspace ID used by the guest tree. This is used to ensure that trees that already exist in memory are reused instead of recreated.


GetGuestRedirectToLogin

public boolean GetGuestRedirectToLogin()
Returns the Guest Redirect To Login setting.

Specified by:
GetGuestRedirectToLogin in interface ISubPortalModelRO
Returns:
boolean

GetRedirectOnLogout

public boolean GetRedirectOnLogout()
Returns the Redirect On Logout setting.

Specified by:
GetRedirectOnLogout in interface ISubPortalModelRO
Returns:
boolean

GetSSOVendor

public int GetSSOVendor()
Returns the SSO Vendor setting of the subportal if it exists or the default SSO Vendor setting from PTConfig.xml if the subportal has no SSO Vendor setting set.

Specified by:
GetSSOVendor in interface ISubPortalModelRO
Returns:
int

GetDefaultSSOVendor

public int GetDefaultSSOVendor()
Return the default SSO Vendor setting from PTConfig.xml.

Specified by:
GetDefaultSSOVendor in interface ISubPortalModelRO
Returns:

GetName

public java.lang.String GetName()
Returns the Class name.

Specified by:
GetName in interface ISubPortalModelRO
Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class EditorModel
Returns:
String

GetNavigationScheme

public int GetNavigationScheme()
Returns the Navigation scheme for the subportal. Valid values are enumerated in NavTypes.xml.

Specified by:
GetNavigationScheme in interface ISubPortalModelRO
Returns:
int

GetRelatedResourcesAccessTypes

public int GetRelatedResourcesAccessTypes()
Returns what related resources are accessible to users of this subportal. The value is any mask combination of PT_RELATED_RESOURCES_ACCESS_TYPES.

Specified by:
GetRelatedResourcesAccessTypes in interface ISubPortalModelRO
Returns:
int

GetLayoutEnabled

public boolean GetLayoutEnabled()
Specified by:
GetLayoutEnabled in interface ISubPortalModelRO
Returns:
Whether or not adaptive layouts are enabled for this subportal.

GetFolderUnclassified

public boolean GetFolderUnclassified()
Returns whether a newly created folder resides in the unclassified area of the object admin hierarchy

Specified by:
GetFolderUnclassified in interface ISubPortalModelRO
Returns:
boolean

SetFolderUnclassified

public void SetFolderUnclassified(boolean bFolderUnclassified)
Returns whether a newly created folder resides in the unclassified area of the object admin hierarchy * @param bFolderUnclassified The bFolderUnclassified to set


GetCommunityThemesURL

protected java.lang.String GetCommunityThemesURL()



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.