|
|||||||||
| 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.portaluiinfrastructure.editor.ObjEditorModel
com.plumtree.portalpages.admin.editors.property.PropModel
public class PropModel
Model for property editor
| Field Summary | |
|---|---|
static java.lang.String |
STR_MVC_CLASS_NAME
Class name for PropModel |
| 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 |
|---|
isReadAccessAvailable, m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, m_bEnableCancelButton, m_bHideLeftNav, m_bIsEditorReadOnly, m_bUserHasAccessToEditor, m_nEditorType |
| Constructor Summary | |
|---|---|
PropModel()
Creates a new PropModel object. |
|
| 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 to perform tasks specific to Property Editor |
java.lang.String |
GetManagedPicklistValidationFunction()
Return pick list validation function |
java.lang.String |
GetName()
Returns the Class name. |
java.lang.String |
GetPickTable()
Returns name of database table used for pick table |
int |
GetPickType()
Returns pick table types (PT_PICKTABLE_TYPES) |
int |
GetPropertyType()
Returns property type (PT_PROPERTY_TYPES) |
int |
GetReferenceClass()
Returns reference class |
boolean |
IsAlwaysCardProperty()
Returns true if property is always a card property |
boolean |
IsCardProperty()
Returns true if property is a card property |
boolean |
IsMandatory()
Returns true if property is mandatory |
boolean |
IsMultiValued()
Returns true if property is multi-valued |
boolean |
IsReadOnly()
Returns true if property is read-only |
boolean |
IsSearchable()
Returns true if property is searchable |
boolean |
IsURL()
Returns true if property is an URL |
boolean |
IsVisible()
Returns true if property is visible |
protected int |
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 |
StartPickListValuesList()
Helper method to start the growable list for pick list values list. |
void |
StartPickTableColList(java.lang.Object[][] arPickTableColumns)
Helper method to start the multi-column list for pick table column 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, GetAccessToEditorPriviledges, GetCloseOnDone, GetCurrentRepostAction, GetDeleteOnCancel, GetEditorType, GetEnableApplyButton, GetEnableCancelButton, 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, GetEnableCancelButton, GetHideLeftNav, GetIsEditorReadOnly |
| Field Detail |
|---|
public static final java.lang.String STR_MVC_CLASS_NAME
| Constructor Detail |
|---|
public PropModel()
| Method Detail |
|---|
public java.lang.Object Create()
EditorModel
Create in interface IManagedObjectCreate in class EditorModelIManagedObject.Create()public void DoTaskAfterStore()
DoTaskAfterStore in class EditorModelpublic void DoTaskBeforeStore()
DoTaskBeforeStore in class EditorModelpublic void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor in class EditorModel_htFormData - public java.lang.String GetManagedPicklistValidationFunction()
GetManagedPicklistValidationFunction in interface IPropModelROpublic java.lang.String GetName()
GetName in interface IMVCObjectGetName in class EditorModelpublic java.lang.String GetPickTable()
GetPickTable in interface IPropModelROpublic int GetPickType()
GetPickType in interface IPropModelROpublic int GetPropertyType()
GetPropertyType in interface IPropModelROpublic int GetReferenceClass()
GetReferenceClass in interface IPropModelROpublic boolean IsAlwaysCardProperty()
IsAlwaysCardProperty in interface IPropModelROpublic boolean IsCardProperty()
IsCardProperty in interface IPropModelROpublic boolean IsMandatory()
IsMandatory in interface IPropModelROpublic boolean IsMultiValued()
IsMultiValued in interface IPropModelROpublic boolean IsSearchable()
IsSearchable in interface IPropModelROpublic boolean IsURL()
IsURL in interface IPropModelROpublic boolean IsVisible()
IsVisible in interface IPropModelROpublic boolean IsReadOnly()
IsReadOnly in interface IPropModelRO
public int SavePage(java.lang.String _sPageName,
XPHashtable _htFormData)
SavePage in interface IRepostModelSavePage in class ObjEditorModel_sPageName - _htFormData -
public void StartPickListValuesList()
public void StartPickTableColList(java.lang.Object[][] arPickTableColumns)
arPickTableColumns - Array of pick table columnsprotected int SaveMainPage(XPHashtable _htFormData)
_htFormData -
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||