com.plumtree.portalpages.browsing.editors.dircommon.editdocumentproperty
Interface IEditCardPropModelRO

All Superinterfaces:
IExpListModelRO, IExpListPropModelRO, IModelRO, IMVCObject, IPaginationModelRO
All Known Implementing Classes:
EditCardPropModel

public interface IEditCardPropModelRO
extends IExpListPropModelRO

This interface is implemented by the Model. It contains all the read-only mothods of the Model accessed by the Views.

Author:
stephenc

Method Summary
 boolean CheckPickValuesAreValid(int _nRowIndex)
          If a property has a pick tree or pick list, check that the pick values can be successfully retrieved.
 boolean CheckRowIsMultiValued(int _nRowIndex)
          Checks to see if the property is multivalued
 boolean CheckRowIsReadOnly(int _nRowIndex)
          Checks to see if the property is read-only
 int GetNewlySelectedPropertyID()
           
 int GetNumProperties()
           
 java.lang.Object[][] GetPickListValues(int _nPropertyID)
          Return pick list values for the property
 int GetPickType(int nRowIndex)
          Return the pick type for the property.
 PTImageType GetRowIcon()
           
 java.lang.String GetStringFromObjectValue(java.lang.Object oValue, int nPropertyType)
          Returns string representation of property value
 XPSortedDictionary GetUnusedProperties()
           
 
Methods inherited from interface com.plumtree.portaluiinfrastructure.expandablelist.properties.IExpListPropModelRO
GetDateTimePickerControlManager, GetRowName, GetRowPropertyID, GetRowStatus, GetRowType, GetRowValue, GetUniqueDateTimePickerKey
 
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, 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.IMVCObject
GetName
 

Method Detail

GetNewlySelectedPropertyID

int GetNewlySelectedPropertyID()
Returns:

GetNumProperties

int GetNumProperties()
Returns:

GetRowIcon

PTImageType GetRowIcon()
Returns:

GetUnusedProperties

XPSortedDictionary GetUnusedProperties()
Specified by:
GetUnusedProperties in interface IExpListModelRO
Returns:

CheckPickValuesAreValid

boolean CheckPickValuesAreValid(int _nRowIndex)
If a property has a pick tree or pick list, check that the pick values can be successfully retrieved.

Parameters:
_nRowIndex - Row index
Returns:
True if pick values can be successfully retrieved.

GetStringFromObjectValue

java.lang.String GetStringFromObjectValue(java.lang.Object oValue,
                                          int nPropertyType)
Returns string representation of property value

Parameters:
oValue - Property value as Object
nPropertyType - Property type
Returns:
Property value as string

GetPickListValues

java.lang.Object[][] GetPickListValues(int _nPropertyID)
Return pick list values for the property

Parameters:
_nPropertyID - Property ID
Returns:
Pick list values

GetPickType

int GetPickType(int nRowIndex)
Return the pick type for the property.

Parameters:
_nRowIndex - Row index
Returns:
Pick type

CheckRowIsMultiValued

boolean CheckRowIsMultiValued(int _nRowIndex)
Checks to see if the property is multivalued

Parameters:
_nRowIndex - Current row index
Returns:
Returns true if multivalued. Otherwise returns false.

CheckRowIsReadOnly

boolean CheckRowIsReadOnly(int _nRowIndex)
Checks to see if the property is read-only

Parameters:
_nRowIndex - Current row index
Returns:
Returns true if read-only. Otherwise returns false.



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.