|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.uiinfrastructure.editor.EditorHelperModel
com.plumtree.uiinfrastructure.expandablelist.ExpListModel
com.plumtree.portalpages.admin.sendinvitation.InvCodesListModel
public class InvCodesListModel
| Field Summary | |
|---|---|
static java.lang.String |
CONTROLARGUMENT_OBJECTID
|
static int |
INVEXPLIST_COL_CODE
|
static int |
INVEXPLIST_COL_EXPR
|
static int |
INVEXPLIST_COL_MAX
|
static int |
INVEXPLIST_COL_NAME
|
static int |
INVEXPLIST_COL_NUMOFINV
|
static int |
INVEXPLIST_DEFAULT_INITIAL_SIZE
Default initial size for the sorted array. |
protected boolean |
m_bInvObj
|
protected PTImageType |
m_imgRowIcon
Icon to display on each row, just before the input text. |
protected int |
m_nInvitationID
|
protected int |
m_nInvNoi
|
protected IPTInvitation |
m_objInv
|
protected java.lang.String |
m_strCurrentInvCode
|
protected java.lang.String |
m_strInvName
|
static java.lang.String |
STR_MVC_CLASS_NAME
|
| Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
|---|
m_asOwner |
| Constructor Summary | |
|---|---|
InvCodesListModel()
|
|
| Method Summary | |
|---|---|
void |
AddRows()
Creates a new Invitation Code |
void |
AddRowsOnRepost(XPHashtable _htFormData)
Will be called each time the add action is performed. |
java.lang.String |
AddRowsOnRepost(XPHashtable _htFormData,
int _nDummy)
Will be called each time the add action is performed. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
boolean |
CreateNewInvLink(java.lang.String _strInvName,
int _nInvNoi,
XPDateTime _dInvExpr)
Creates a new Invitation Code |
JSDatePickerMgr |
GetDatePickerControlManager()
Get the Date picker control manager |
java.lang.String |
GetInvitationCode()
Gets the invitation ID to the invitation wanted |
java.lang.String |
GetInvitationCodeName()
Returns the m_strInvName. |
int |
GetInvitationID()
Gets the invitation ID to the invitation wanted |
boolean |
GetInvObjectStatus()
Returns the Status of the Invitation Object. |
java.lang.String |
GetName()
Returns the Class name. |
java.lang.String |
GetNumberOfInvitations()
Returns the m_nInvNoi as a String. |
PTImageType |
GetRowIcon()
Returns the icon to display on each row before the input text. |
void |
Init(AActivitySpace parent)
Inits the Model with the IPTSession. |
void |
InitializeDatePickerMgrs()
This function initializes the manager objects (Page and datetime) for the date pickers |
void |
InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
Will be called when this class is initalized. |
void |
InitInvitationExpList(java.lang.String _sSectionTitle,
java.lang.String _sSectionSubTitle1,
java.lang.String _sSectionSubTitle2,
java.lang.String _sSectionSubTitle3,
PTImageType _imgAddIcon,
java.lang.String _sAddLabel,
int _nListKey)
Initializes the expandable list. |
protected int |
SaveRow(PTGrowableSortedArrayWrapper _saData,
int _nRowIndex,
XPHashtable _htFormData)
Will be called each ime there is a repost to save the data on the list. |
int |
SaveSection(XPHashtable _htFormData)
Saves the data when a repost occurs. |
void |
SetInvitationCode(java.lang.String _invCode)
Sets the invitation ID to the invitation wanted |
void |
SetInvitationID(int _nInvitationID)
Sets the invitation ID to the invitation wanted |
void |
SetRowIcon(PTImageType _imgRowIcon)
Sets the icon to display on each row before the input text. |
| Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
|---|
CleanupAllData, CleanupTempData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.plumtree.uiinfrastructure.expandablelist.IExpListModelRO |
|---|
GetAddIcon, GetAddIconAlt, GetAddLabel, GetAlertMessageForEmptyList, GetArrExpListColInfo, GetDeleteIcon, GetDeleteIconAlt, GetDelRowConfirmMsg, GetEmptyListInstructions, GetEmptyListMainMessage, GetEnableMoveRowActions, GetIsListReadOnly, GetListKey, GetMainColumnSort, GetMainColumnSortDirection, GetModelStorageName, GetReadOnlyItems, GetSectionTitle, GetTableInstructions, GetUniqueInt, GetUniqueString, GetUnusedProperties, GetWrapColumnHeaders, IsAddButtonDisabled, IsCheckBoxesDisabled, IsPaginationEnabled |
| Methods inherited from interface com.plumtree.uiinfrastructure.form.pagination.IPaginationModelRO |
|---|
GetCurrentLowerObjectCount, GetCurrentUpperObjectCount, GetNumObjects, GetPaginationSize |
| Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IModel |
|---|
CleanupAllData, CleanupTempData |
| Field Detail |
|---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final int INVEXPLIST_COL_MAX
public static final int INVEXPLIST_COL_NAME
public static final int INVEXPLIST_COL_NUMOFINV
public static final int INVEXPLIST_COL_EXPR
public static final int INVEXPLIST_COL_CODE
public static final java.lang.String CONTROLARGUMENT_OBJECTID
public static final int INVEXPLIST_DEFAULT_INITIAL_SIZE
protected IPTInvitation m_objInv
protected java.lang.String m_strInvName
protected int m_nInvNoi
protected PTImageType m_imgRowIcon
protected java.lang.String m_strCurrentInvCode
protected boolean m_bInvObj
protected int m_nInvitationID
| Constructor Detail |
|---|
public InvCodesListModel()
| Method Detail |
|---|
public void AddRows()
public void AddRowsOnRepost(XPHashtable _htFormData)
AddRowsOnRepost in class ExpListModel_htFormData - Form data
public java.lang.String AddRowsOnRepost(XPHashtable _htFormData,
int _nDummy)
_htFormData - Form datapublic java.lang.Object Create()
EditorHelperModel
Create in interface IManagedObjectCreate in class EditorHelperModelIManagedObject.Create()
public boolean CreateNewInvLink(java.lang.String _strInvName,
int _nInvNoi,
XPDateTime _dInvExpr)
_strInvName - _nInvNoi - _dInvExpr - public boolean GetInvObjectStatus()
GetInvObjectStatus in interface IInvCodeListModelROpublic java.lang.String GetInvitationCode()
GetInvitationCode in interface IInvCodeListModelROpublic int GetInvitationID()
public java.lang.String GetName()
GetName in interface IMVCObjectGetName in class EditorHelperModelpublic PTImageType GetRowIcon()
public void Init(AActivitySpace parent)
Init in interface IModelInit in class EditorHelperModelparent - public void InitializeDatePickerMgrs()
public void InitInvitationExpList(java.lang.String _sSectionTitle,
java.lang.String _sSectionSubTitle1,
java.lang.String _sSectionSubTitle2,
java.lang.String _sSectionSubTitle3,
PTImageType _imgAddIcon,
java.lang.String _sAddLabel,
int _nListKey)
_sSectionTitle - Main title._sSectionSubTitle - Sub title_imgAddIcon - Icon for the add action._sAddLabel - Text to display next to the add icon._nListKey - In case you have multiple Expandable Lists on
the same DP, they should have a different key (otherwise, just set it to 1).public void InitializeSortedArray(PTGrowableSortedArrayWrapper _saData)
InitializeSortedArray in class ExpListModel_saData - public int SaveSection(XPHashtable _htFormData)
SaveSection in class ExpListModel_htFormData -
public void SetInvitationCode(java.lang.String _invCode)
_invCode - public void SetInvitationID(int _nInvitationID)
__nInvitationID - public void SetRowIcon(PTImageType _imgRowIcon)
_imgRowIcon -
protected int SaveRow(PTGrowableSortedArrayWrapper _saData,
int _nRowIndex,
XPHashtable _htFormData)
SaveRow in class ExpListModel_saData - _nRowIndex - _htFormData - _nListKey -
public java.lang.String GetNumberOfInvitations()
GetNumberOfInvitations in interface IInvCodeListModelROpublic java.lang.String GetInvitationCodeName()
GetInvitationCodeName in interface IInvCodeListModelROpublic JSDatePickerMgr GetDatePickerControlManager()
GetDatePickerControlManager in interface IInvCodeListModelRO
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||