Interface IWebDataRange
-
- All Known Implementing Classes:
de.uplanet.lucy.server.businesslogic.rtappservices.AbstractWebDataRange,WebDataRange,WebShapedTableRange
public interface IWebDataRange
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAppGuid()returns the application GUIDStringgetAttribute(String p_strName)returns an attribute's value by its name.IIxValuegetBinding(String p_strBinding)IIxValuegetBinding(String p_strBinding, Object p_default)de.uplanet.lucy.server.businesslogic.rtappservices.IWebRowDataCollectionContextIteratorgetContextRowIterator()Returns a context row iterator.StringgetDataGroupGuid()returns the data group GUIDDataRangeChildControlInfoListgetDataRangeControlInfo()Returns the child control infosStringgetDataRangeGuid()returns the GUID of the datarangeStringgetDatarangeName()returns the name of the datarangede.uplanet.lucy.server.businesslogic.rtappservices.IWebRecordDataCollectiongetDC()de.uplanet.lucy.server.businesslogic.util.DrSortItemListgetDrSortItems()StringgetParentId()returns the parent idList<?>getPreSelectControls()returns a list of lists that hold control informationStringgetPreSelectControlsStr()returns the String that is given by the request for evaluating preSelect controlsde.uplanet.lucy.server.businesslogic.rtappservices.IPropertiesMapgetPropertiesVH()<T> IValueHolder<T>getPropertyVH(String p_strGuidOrName)StringgetQuery()Returns the Query String that created the list.List<ResizerListItem>getResizerList()returns aListof values for the resizer controlList<ResizerListItem>getResizerList(int p_iMax)returns aListof values for the resizer controlList<IWebRowDataCollection>getRows()returns aListofIRowobjectsStringgetSysident()returns the sysident for this controlIIxValuegetSystemProperty(String p_strName)IIxValuegetSystemProperty(String p_strName, Object p_default)<T> IValueHolder<T>getSystemPropertyVH(String p_strName)IValueHolder<?>getSystemPropertyVH(String p_strName, Object p_default)intgetTotalCount()TimeZonegetUserTimeZone()returns theTimeZonebooleanhasPermission()Method hasPermission returns the value of the internal member.booleanhasSystemProperty(String p_strName)
-
-
-
Method Detail
-
getRows
List<IWebRowDataCollection> getRows()
returns aListofIRowobjects- Returns:
- a
ListofIRowobjects
-
getContextRowIterator
de.uplanet.lucy.server.businesslogic.rtappservices.IWebRowDataCollectionContextIterator getContextRowIterator()
Returns a context row iterator. Current binding context will be set to the current row. On finish the context will reset to the beginning state.
-
getDC
de.uplanet.lucy.server.businesslogic.rtappservices.IWebRecordDataCollection getDC()
- Returns:
- Returns the data collection of the page.
-
getDataRangeGuid
String getDataRangeGuid()
returns the GUID of the datarange- Returns:
- the GUID of the datarange
-
getDataGroupGuid
String getDataGroupGuid()
returns the data group GUID- Returns:
- the data group GUID
-
getDatarangeName
String getDatarangeName()
returns the name of the datarange- Returns:
- the name of the datarange as string
-
getParentId
String getParentId()
returns the parent id- Returns:
- the parent id as String
-
getAppGuid
String getAppGuid()
returns the application GUID- Returns:
- Returns the application GUID
-
getQuery
String getQuery()
Returns the Query String that created the list.- Returns:
- String
-
hasPermission
boolean hasPermission()
Method hasPermission returns the value of the internal member. This member is set by the setPermission method and represents the AppDgPermission.READ action.- Returns:
- boolean
-
getTotalCount
int getTotalCount()
- Returns:
- total number of all records within the datarange.
-
getAttribute
String getAttribute(String p_strName)
returns an attribute's value by its name. Attributes are part of the datarange header and footer.- Parameters:
p_strName- an attribute name- Returns:
- a String containing the value for the given attribute
-
getPreSelectControlsStr
String getPreSelectControlsStr()
returns the String that is given by the request for evaluating preSelect controls- Returns:
- a String representing the request parameter
-
getPreSelectControls
List<?> getPreSelectControls()
returns a list of lists that hold control information- Returns:
- a
List
-
getResizerList
List<ResizerListItem> getResizerList()
returns aListof values for the resizer control- Returns:
- a
Listof ResizerListItem's values
-
getResizerList
List<ResizerListItem> getResizerList(int p_iMax)
returns aListof values for the resizer control- Parameters:
p_iMax- Maximum number in the resizer list.- Returns:
- a
Listof ResizerListItem's values
-
getDataRangeControlInfo
DataRangeChildControlInfoList getDataRangeControlInfo()
Returns the child control infos- Returns:
- p_childControlList a
DataRangeChildControlInfo
-
getSysident
String getSysident()
returns the sysident for this control- Returns:
- the sysident for this control
-
getPropertyVH
<T> IValueHolder<T> getPropertyVH(String p_strGuidOrName)
-
getPropertiesVH
de.uplanet.lucy.server.businesslogic.rtappservices.IPropertiesMap getPropertiesVH()
-
getDrSortItems
de.uplanet.lucy.server.businesslogic.util.DrSortItemList getDrSortItems()
- Returns:
- A sorted copy of the DrSortItemList
-
getBinding
IIxValue getBinding(String p_strBinding)
- Parameters:
p_strBinding- The binding string- Returns:
- The binding or
nullif no value found for the binding. - Throws:
IllegalArgumentException- will thrown if an invalid binding is set.
-
getBinding
IIxValue getBinding(String p_strBinding, Object p_default)
- Parameters:
p_strBinding- The binding stringp_default- Will returned if no binding found. If the type is not an IIxValue instance, A IIxValue instance will created withIxValueFactory#create(p_default)and returned.- Returns:
- The binding or the given default value.
- Throws:
IllegalArgumentException- will thrown if an invalid binding is set.
-
getSystemProperty
IIxValue getSystemProperty(String p_strName)
- Parameters:
p_strName- The system data group field name- Returns:
- Returns the property of the the system data group or
nullif not exists. - Throws:
IllegalArgumentException- if no system property found, with the given name.
-
getSystemProperty
IIxValue getSystemProperty(String p_strName, Object p_default)
- Parameters:
p_strName- The system data group field namep_default- Will returned if no binding found. If the type is not an IIxValue instance, A IIxValue instance will created withIxValueFactory#create(p_default)and returned.- Returns:
- Returns the property of the the system data group or
nullif not exists. - Throws:
IllegalArgumentException- if no system property found, with the given name.
-
getSystemPropertyVH
<T> IValueHolder<T> getSystemPropertyVH(String p_strName)
- Parameters:
p_strName- The system data group field name- Returns:
- Returns the property of the the system data group or
nullif not exists. - Throws:
IllegalArgumentException- if no system property found, with the given name.
-
getSystemPropertyVH
IValueHolder<?> getSystemPropertyVH(String p_strName, Object p_default)
- Parameters:
p_strName- The system data group field namep_default- Will returned if no binding found. If the type is not an IIxValue instance, A IIxValue instance will created withIxValueFactory#create(p_default)and returned.- Returns:
- Returns the property of the the system data group or
nullif not exists. - Throws:
IllegalArgumentException- if no system property found, with the given name.
-
hasSystemProperty
boolean hasSystemProperty(String p_strName)
- Parameters:
p_strName- The system property name- Returns:
- Returns
trueif a system property with the given name exists orfalseif not. (Checks only the existing, not if a value is present or not)
-
-