|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.uiinfrastructure.editor.EditorModel
com.plumtree.uiinfrastructure.approval.AApprovalModel
com.plumtree.portalpages.common.objectapproval.ObjectApprovalModel
public class ObjectApprovalModel
| Field Summary | |
|---|---|
static java.lang.String |
STR_MVC_CLASS_NAME
Logging |
| Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
|---|
isReadAccessAvailable, m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bEnableCancelButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType |
| Constructor Summary | |
|---|---|
ObjectApprovalModel()
|
|
| Method Summary | |
|---|---|
void |
ActionOnRepost()
Modifies the object name on repost. |
boolean |
AddColumnsHeaderForEachItem()
|
boolean |
CheckEditorAccessAndStart(XPHashtable _htFormData)
Implements some actions to perform on start. |
void |
ClearCache()
|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
boolean |
DisplayDescriptionImmediatelyUnderTitle()
|
boolean |
DisplayItemTypeHeaderAboveActionbar()
|
void |
Finish()
Implement some code to execute when the user clicks on "Finish". |
boolean |
GetAllowClearingOfApprovalRequests()
|
boolean |
GetAllowClearingOfItem(AItemDescriptor item)
|
ApprovalItemType |
GetDefaultItemType()
Call this method to determine the default ApprovalItemType displayed by the view. |
static ApprovalItemType |
GetDefaultItemTypeStatic()
|
boolean |
GetDisableRadioSelection()
|
boolean |
GetDisplayHeadersForItemTypesWithNoItems()
|
boolean |
GetDisplayInstances(ApprovalItemType type)
Concrete subclasses must implement this method to return a boolean value indicating whether instance information is displayed for the specified type. |
boolean |
GetDisplaySelectAllButton()
|
boolean |
GetDisplayStatusColumn()
|
boolean |
GetDisplayTypeHeader(ApprovalItemType type)
Concrete subclasses must implement this method to return a boolean indicating whether or not a header banner should be displayed for the specified type. |
java.lang.String |
GetEmptyTypeSectionSubTitle(ApprovalItemType type)
Concrete subclasses must implement this method to return a string that is displayed in sections containg no items awaiting approval. |
java.lang.String |
GetMenuOptionText(ApprovalItemType type)
|
java.lang.String |
GetName()
Concrete subclasses must implement this method to return the name of the model. |
java.lang.String |
GetStatusPageMenuOptionText(ApprovalItemType type)
|
java.lang.String |
GetSubTitle()
Concrete subclasses must implement this method to return the subtitle. |
XPArrayList |
GetSupportedItemTypes()
Concrete subclasses must implement this method to return an XPArrayList of those ItemTypes that are supporeted by the model. |
java.lang.String |
GetTitle()
Concrete subclasses must implement this method to return the title. |
XPArrayList |
InternalGetItemDescriptors(ApprovalItemType type,
int iLow,
int iHigh)
Concrete subclasses must implement this method to return an XPArrayList of AItemDescriptor objects. |
int |
InternalGetTypeCount(ApprovalItemType type)
Concrete subclasses must implement this method to return the count of specified ApprovalItemType. |
boolean |
IsDateSortable()
|
boolean |
IsDescriptionEditable()
|
boolean |
IsNameSortable()
|
boolean |
IsSubmittedBySortable()
|
boolean |
IsTitleEditable()
|
protected void |
SaveMainPage(XPHashtable _htFormData)
Saves the data on the Main page. |
int |
SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
Calls the right save function according to the page name passed in argument. |
void |
SetDisplaySelectAllButton(boolean b)
|
void |
SetDisplayStatusForRequestor(boolean b)
|
| Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
|---|
Cancel, CleanupAllData, DoTaskAfterStore, DoTaskBeforeStore, DoTaskOnChangePage, DoTaskOnComeBackFromSubEditor, DoTaskOnStartEditor, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly, GetRedirectAfterFinish, GetUserHasAccessToEditor, Init, 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.uiinfrastructure.activityspace.IModel |
|---|
CleanupAllData, Init |
| Methods inherited from interface com.plumtree.uiinfrastructure.editor.IEditorModelRO |
|---|
GetEditorType, GetEnableApplyButton, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly |
| Field Detail |
|---|
public static final java.lang.String STR_MVC_CLASS_NAME
| Constructor Detail |
|---|
public ObjectApprovalModel()
| Method Detail |
|---|
public void ActionOnRepost()
public boolean AddColumnsHeaderForEachItem()
AddColumnsHeaderForEachItem in interface IApprovalModelROAddColumnsHeaderForEachItem in class AApprovalModelpublic boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
CheckEditorAccessAndStart in class EditorModel_htFormData -
public void ClearCache()
ClearCache in class AApprovalModelpublic java.lang.Object Create()
EditorModel
Create in interface IManagedObjectCreate in class EditorModelIManagedObject.Create()public boolean DisplayDescriptionImmediatelyUnderTitle()
DisplayDescriptionImmediatelyUnderTitle in interface IApprovalModelRODisplayDescriptionImmediatelyUnderTitle in class AApprovalModelpublic void Finish()
Finish in interface IRepostModelFinish in class EditorModelpublic boolean GetAllowClearingOfApprovalRequests()
GetAllowClearingOfApprovalRequests in interface IApprovalModelROGetAllowClearingOfApprovalRequests in class AApprovalModelpublic boolean GetAllowClearingOfItem(AItemDescriptor item)
GetAllowClearingOfItem in interface IApprovalModelROGetAllowClearingOfItem in class AApprovalModelitem -
public ApprovalItemType GetDefaultItemType()
AApprovalModel
GetDefaultItemType in interface IApprovalModelROGetDefaultItemType in class AApprovalModelpublic static ApprovalItemType GetDefaultItemTypeStatic()
public boolean GetDisableRadioSelection()
GetDisableRadioSelection in interface IApprovalModelROGetDisableRadioSelection in class AApprovalModelpublic boolean GetDisplayHeadersForItemTypesWithNoItems()
GetDisplayHeadersForItemTypesWithNoItems in interface IApprovalModelROGetDisplayHeadersForItemTypesWithNoItems in class AApprovalModelpublic boolean GetDisplayInstances(ApprovalItemType type)
AApprovalModel
GetDisplayInstances in interface IApprovalModelROGetDisplayInstances in class AApprovalModeltype -
public boolean GetDisplayStatusColumn()
GetDisplayStatusColumn in interface IApprovalModelROGetDisplayStatusColumn in class AApprovalModelpublic boolean GetDisplaySelectAllButton()
GetDisplaySelectAllButton in interface IApprovalModelROGetDisplaySelectAllButton in class AApprovalModelpublic void SetDisplaySelectAllButton(boolean b)
public boolean GetDisplayTypeHeader(ApprovalItemType type)
AApprovalModel
GetDisplayTypeHeader in interface IApprovalModelROGetDisplayTypeHeader in class AApprovalModeltype -
public boolean DisplayItemTypeHeaderAboveActionbar()
DisplayItemTypeHeaderAboveActionbar in interface IApprovalModelRODisplayItemTypeHeaderAboveActionbar in class AApprovalModelpublic java.lang.String GetEmptyTypeSectionSubTitle(ApprovalItemType type)
AApprovalModel
GetEmptyTypeSectionSubTitle in interface IApprovalModelROGetEmptyTypeSectionSubTitle in class AApprovalModeltype -
public java.lang.String GetMenuOptionText(ApprovalItemType type)
type -
public java.lang.String GetStatusPageMenuOptionText(ApprovalItemType type)
type -
public java.lang.String GetName()
AApprovalModel
GetName in interface IMVCObjectGetName in class AApprovalModelpublic java.lang.String GetSubTitle()
AApprovalModel
GetSubTitle in interface IApprovalModelROGetSubTitle in class AApprovalModelpublic XPArrayList GetSupportedItemTypes()
AApprovalModel
GetSupportedItemTypes in interface IApprovalModelROGetSupportedItemTypes in class AApprovalModelpublic java.lang.String GetTitle()
AApprovalModel
GetTitle in interface IApprovalModelROGetTitle in class AApprovalModel
public XPArrayList InternalGetItemDescriptors(ApprovalItemType type,
int iLow,
int iHigh)
AApprovalModel
InternalGetItemDescriptors in class AApprovalModeltype - iLow - iHigh -
public int InternalGetTypeCount(ApprovalItemType type)
AApprovalModel
InternalGetTypeCount in class AApprovalModeltype -
public boolean IsDateSortable()
IsDateSortable in interface IApprovalModelROIsDateSortable in class AApprovalModelpublic boolean IsDescriptionEditable()
IsDescriptionEditable in interface IApprovalModelROIsDescriptionEditable in class AApprovalModelpublic boolean IsNameSortable()
IsNameSortable in interface IApprovalModelROIsNameSortable in class AApprovalModelpublic boolean IsSubmittedBySortable()
IsSubmittedBySortable in interface IApprovalModelROIsSubmittedBySortable in class AApprovalModelpublic boolean IsTitleEditable()
IsTitleEditable in interface IApprovalModelROIsTitleEditable in class AApprovalModel
public int SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
SavePage in interface IRepostModelSavePage in class EditorModel_sPageName - _htFormData -
public void SetDisplayStatusForRequestor(boolean b)
b - protected void SaveMainPage(XPHashtable _htFormData)
_htFormData -
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||