|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorModel com.plumtree.uiinfrastructure.approval.AApprovalModel com.plumtree.portalpages.admin.approval.document.DocumentApprovalModel
public class DocumentApprovalModel
Field Summary | |
---|---|
static java.lang.String |
STR_MVC_CLASS_NAME
|
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 | |
---|---|
DocumentApprovalModel()
|
Method Summary | |
---|---|
void |
ActionOnRepost()
Modifies the object name on repost. |
boolean |
AddColumnsHeaderForEachItem()
|
boolean |
CheckEditorAccessAndStart(XPHashtable _htFormData)
Implements some actions to perform on start. |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
boolean |
DisplayDescriptionImmediatelyUnderTitle()
|
boolean |
DisplayItemComment()
|
boolean |
DisplayItemTypeHeaderAboveActionbar()
|
boolean |
DisplayViewItems()
|
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. |
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.Object[] |
GetFilterByIDs()
|
java.lang.String |
GetName()
Concrete subclasses must implement this method to return the name of the model. |
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()
|
void |
ModifyCardFolders(int CardID,
int[] FolderIDs)
|
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 |
SetFilterByIDs(java.lang.Object[] _filterByIDs)
|
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorModel |
---|
Cancel, CleanupAllData, DoTaskAfterStore, DoTaskBeforeStore, DoTaskOnChangePage, DoTaskOnComeBackFromSubEditor, DoTaskOnStartEditor, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, 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, GetHideLeftNav, GetIsEditorReadOnly |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
Constructor Detail |
---|
public DocumentApprovalModel()
Method Detail |
---|
public void ActionOnRepost()
public boolean GetDisplaySelectAllButton()
GetDisplaySelectAllButton
in interface IApprovalModelRO
GetDisplaySelectAllButton
in class AApprovalModel
public boolean AddColumnsHeaderForEachItem()
AddColumnsHeaderForEachItem
in interface IApprovalModelRO
AddColumnsHeaderForEachItem
in class AApprovalModel
public boolean CheckEditorAccessAndStart(XPHashtable _htFormData)
CheckEditorAccessAndStart
in class EditorModel
_htFormData
-
public java.lang.Object Create()
EditorModel
Create
in interface IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public boolean DisplayDescriptionImmediatelyUnderTitle()
DisplayDescriptionImmediatelyUnderTitle
in interface IApprovalModelRO
DisplayDescriptionImmediatelyUnderTitle
in class AApprovalModel
public boolean DisplayItemTypeHeaderAboveActionbar()
DisplayItemTypeHeaderAboveActionbar
in interface IApprovalModelRO
DisplayItemTypeHeaderAboveActionbar
in class AApprovalModel
public void Finish()
Finish
in interface IRepostModel
Finish
in class EditorModel
public boolean GetAllowClearingOfApprovalRequests()
GetAllowClearingOfApprovalRequests
in interface IApprovalModelRO
GetAllowClearingOfApprovalRequests
in class AApprovalModel
public boolean GetAllowClearingOfItem(AItemDescriptor item)
GetAllowClearingOfItem
in interface IApprovalModelRO
GetAllowClearingOfItem
in class AApprovalModel
item
-
public ApprovalItemType GetDefaultItemType()
AApprovalModel
GetDefaultItemType
in interface IApprovalModelRO
GetDefaultItemType
in class AApprovalModel
public boolean GetDisableRadioSelection()
GetDisableRadioSelection
in interface IApprovalModelRO
GetDisableRadioSelection
in class AApprovalModel
public boolean GetDisplayHeadersForItemTypesWithNoItems()
GetDisplayHeadersForItemTypesWithNoItems
in interface IApprovalModelRO
GetDisplayHeadersForItemTypesWithNoItems
in class AApprovalModel
public boolean GetDisplayInstances(ApprovalItemType type)
AApprovalModel
GetDisplayInstances
in interface IApprovalModelRO
GetDisplayInstances
in class AApprovalModel
type
-
public boolean GetDisplayStatusColumn()
GetDisplayStatusColumn
in interface IApprovalModelRO
GetDisplayStatusColumn
in class AApprovalModel
public boolean GetDisplayTypeHeader(ApprovalItemType type)
AApprovalModel
GetDisplayTypeHeader
in interface IApprovalModelRO
GetDisplayTypeHeader
in class AApprovalModel
type
-
public java.lang.String GetEmptyTypeSectionSubTitle(ApprovalItemType type)
AApprovalModel
GetEmptyTypeSectionSubTitle
in interface IApprovalModelRO
GetEmptyTypeSectionSubTitle
in class AApprovalModel
type
-
public java.lang.String GetName()
AApprovalModel
GetName
in interface IMVCObject
GetName
in class AApprovalModel
public java.lang.String GetSubTitle()
AApprovalModel
GetSubTitle
in interface IApprovalModelRO
GetSubTitle
in class AApprovalModel
public XPArrayList GetSupportedItemTypes()
AApprovalModel
GetSupportedItemTypes
in interface IApprovalModelRO
GetSupportedItemTypes
in class AApprovalModel
public java.lang.Object[] GetFilterByIDs()
public void SetFilterByIDs(java.lang.Object[] _filterByIDs)
public void ModifyCardFolders(int CardID, int[] FolderIDs)
public java.lang.String GetTitle()
AApprovalModel
GetTitle
in interface IApprovalModelRO
GetTitle
in class AApprovalModel
public XPArrayList InternalGetItemDescriptors(ApprovalItemType type, int iLow, int iHigh)
AApprovalModel
InternalGetItemDescriptors
in class AApprovalModel
type
-
public int InternalGetTypeCount(ApprovalItemType type)
AApprovalModel
InternalGetTypeCount
in class AApprovalModel
type
-
public boolean IsDateSortable()
IsDateSortable
in interface IApprovalModelRO
IsDateSortable
in class AApprovalModel
public boolean IsDescriptionEditable()
IsDescriptionEditable
in interface IApprovalModelRO
IsDescriptionEditable
in class AApprovalModel
public boolean IsNameSortable()
IsNameSortable
in interface IApprovalModelRO
IsNameSortable
in class AApprovalModel
public boolean IsSubmittedBySortable()
IsSubmittedBySortable
in interface IApprovalModelRO
IsSubmittedBySortable
in class AApprovalModel
public boolean IsTitleEditable()
IsTitleEditable
in interface IApprovalModelRO
IsTitleEditable
in class AApprovalModel
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
in class EditorModel
_sPageName
- _htFormData
-
protected void SaveMainPage(XPHashtable _htFormData)
_htFormData
- public boolean DisplayItemComment()
DisplayItemComment
in interface IApprovalModelRO
DisplayItemComment
in class AApprovalModel
public boolean DisplayViewItems()
DisplayViewItems
in interface IApprovalModelRO
DisplayViewItems
in class AApprovalModel
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |