com.plumtree.portalpages.admin.editors.invitation
Class InvitationModel

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

public class InvitationModel
extends ObjEditorModel
implements IInvitationModelRO


Field Summary
static java.lang.String m_sProfileSubspaceKey
           
static java.lang.String STR_MVC_CLASS_NAME
           
 
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
InvitationModel()
           
 
Method Summary
 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()
          Code executed before the object is stored.
 void DoTaskOnStartEditor(XPHashtable _htFormData)
          Code executed when the Editor is starting.
 java.lang.String GetAccessEdit()
          Returns the User TreeSpace ID.
 ASURL GetASURLToSubEditor()
          Return the ASURL object going to the Profile Editor as a sub Editor.
 int GetDefaultProfileID()
          Returns the Default Profile ID.
 java.lang.String GetName()
          Returns the Class name.
 IASQueryResult GetProfiles()
          Get Profiles
 java.lang.String GetUserFolderName()
          Returns the User Folder ID.
 java.lang.Object GetUserGroups()
          Returns the User Groups Object.
 java.lang.String GetUserTreeSpaceID()
          Returns the User TreeSpace ID.
 int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
          Calls the right save function according to the page name passed in argument.
 void SetDefaultProfileID(int _nDefaultProfileID)
          Sets the new Default Profile ID in a member variable.
 void SetUserFolderID(int _nUserFolderID)
          Sets the new User Folder ID in a member variable.
 void SetUserFolderOnRepost()
          Sets the new User Folder ID in a member variable.
 void SetUserGroups(java.lang.Object[] _objUserGroups)
          Sets the new User Groups Object in a member variable.
 void SetUserTreeSpaceID(java.lang.String _sUserTreeSpaceID)
          Sets the new User TreeSpace ID in a member variable.
 void StartSelectPTObject()
          Helper method to start the Select PTObject List.
 
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorModel
CheckEditorAccess, CheckEditorAccessAndStart, CheckFolderType, DisableSecurity, DoTaskOnComeBackFromSubEditor, Finish, 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
Cancel, 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
See Also:
Constant Field Values

m_sProfileSubspaceKey

public static final java.lang.String m_sProfileSubspaceKey
See Also:
Constant Field Values
Constructor Detail

InvitationModel

public InvitationModel()
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()

DoTaskAfterStore

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

Overrides:
DoTaskAfterStore in class EditorModel

DoTaskBeforeStore

public void DoTaskBeforeStore()
Code executed before the object is stored.

Overrides:
DoTaskBeforeStore in class EditorModel

DoTaskOnStartEditor

public void DoTaskOnStartEditor(XPHashtable _htFormData)
Code executed when the Editor is starting.

Overrides:
DoTaskOnStartEditor in class EditorModel
Parameters:
_htFormData -

GetAccessEdit

public java.lang.String GetAccessEdit()
Returns the User TreeSpace ID.

Specified by:
GetAccessEdit in interface IInvitationModelRO
Returns:
String

GetDefaultProfileID

public int GetDefaultProfileID()
Returns the Default Profile ID.

Specified by:
GetDefaultProfileID in interface IInvitationModelRO
Returns:
int

GetName

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

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

GetProfiles

public IASQueryResult GetProfiles()
Get Profiles

Specified by:
GetProfiles in interface IInvitationModelRO
Returns:
IASQueryResult

GetUserFolderName

public java.lang.String GetUserFolderName()
Returns the User Folder ID.

Specified by:
GetUserFolderName in interface IInvitationModelRO
Returns:
String

GetUserGroups

public java.lang.Object GetUserGroups()
Returns the User Groups Object.

Specified by:
GetUserGroups in interface IInvitationModelRO
Returns:
int

GetUserTreeSpaceID

public java.lang.String GetUserTreeSpaceID()
Returns the User TreeSpace ID.

Specified by:
GetUserTreeSpaceID in interface IInvitationModelRO
Returns:
int

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

SetDefaultProfileID

public void SetDefaultProfileID(int _nDefaultProfileID)
Sets the new Default Profile ID in a member variable.

Parameters:
_nDefaultProfileID -

SetUserFolderID

public void SetUserFolderID(int _nUserFolderID)
Sets the new User Folder ID in a member variable.

Parameters:
_nUserFolderID -

SetUserFolderOnRepost

public void SetUserFolderOnRepost()
Sets the new User Folder ID in a member variable.

Parameters:
_nUserFolderID -

SetUserGroups

public void SetUserGroups(java.lang.Object[] _objUserGroups)
Sets the new User Groups Object in a member variable.

Parameters:
_nUserFolderID -

SetUserTreeSpaceID

public void SetUserTreeSpaceID(java.lang.String _sUserTreeSpaceID)
Sets the new User TreeSpace ID in a member variable.

Parameters:
_sUserTreeSpaceID -

StartSelectPTObject

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


GetASURLToSubEditor

public ASURL GetASURLToSubEditor()
Return the ASURL object going to the Profile Editor as a sub Editor.

Specified by:
GetASURLToSubEditor in interface IInvitationModelRO
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



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