|
|||||||||
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.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 |
---|
m_asOwner, m_bCloseOnDone, m_bDeleteOnCancel, m_bEnableApplyButton, 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, 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 |
---|
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 IManagedObject
Create
in class EditorModel
IManagedObject.Create()
public void DoTaskAfterStore()
DoTaskAfterStore
in class EditorModel
public void DoTaskBeforeStore()
DoTaskBeforeStore
in class EditorModel
public void DoTaskOnStartEditor(XPHashtable _htFormData)
DoTaskOnStartEditor
in class EditorModel
_htFormData
- public java.lang.String GetManagedPicklistValidationFunction()
GetManagedPicklistValidationFunction
in interface IPropModelRO
public java.lang.String GetName()
GetName
in interface IMVCObject
GetName
in class EditorModel
public java.lang.String GetPickTable()
GetPickTable
in interface IPropModelRO
public int GetPickType()
GetPickType
in interface IPropModelRO
public int GetPropertyType()
GetPropertyType
in interface IPropModelRO
public int GetReferenceClass()
GetReferenceClass
in interface IPropModelRO
public boolean IsAlwaysCardProperty()
IsAlwaysCardProperty
in interface IPropModelRO
public boolean IsCardProperty()
IsCardProperty
in interface IPropModelRO
public boolean IsMandatory()
IsMandatory
in interface IPropModelRO
public boolean IsMultiValued()
IsMultiValued
in interface IPropModelRO
public boolean IsSearchable()
IsSearchable
in interface IPropModelRO
public boolean IsURL()
IsURL
in interface IPropModelRO
public boolean IsVisible()
IsVisible
in interface IPropModelRO
public boolean IsReadOnly()
IsReadOnly
in interface IPropModelRO
public int SavePage(java.lang.String _sPageName, XPHashtable _htFormData)
SavePage
in interface IRepostModel
SavePage
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 |