|
AdventNet Web NMS 4 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.nms.fe.common.ViewData
A class which holds the data to be viewed. This contains the data Vector to be sent to the client, and info. related to that data like viewlength, totallength, fromindex, primarykeys available etc.
Serializable, Serialized Form| Constructor Summary | |
ViewData()
|
|
| Method Summary | |
java.lang.Object |
clone()
|
java.util.Properties |
getAdditionalCriteria()
Get the criteria that were applied while getData. |
java.util.Properties |
getCriteriaProperties()
Get the criteria set to this custom view. |
java.util.Vector |
getData()
Get the value of data (a Vector of Properties). |
int |
getEndIndex()
Get the value of endIndex. |
int |
getEventUpdateThreshold()
|
int |
getFromIndex()
Get the value of fromIndex. |
java.util.Vector |
getKeys()
Returns the list of primary keys for the Objects corresponding to the properties present in the data vector corresponding list of keys for the objects present in the data vector |
java.lang.String |
getOrderBy()
Get the value of orderBy. |
java.util.Properties[] |
getScopeCriteria()
|
boolean |
getSortFieldType()
Deprecated. since the type can be of any primitive java data type. |
int |
getTotalLength()
Get the value of totalLength. |
long |
getUniqueIdForUpdate()
Get the value of uniqueIdForUpdate. |
int |
getViewLength()
Get the value of viewLength. |
boolean |
isAppendCriteria()
Returns whether the customview's criteria was also applied in addition to criteriaProperties. |
boolean |
isAscendingOrder()
Returns whether the data should be sorted by ascending order based on orderByColumn. |
boolean |
isEnableNext()
Get the value of enableNext. |
boolean |
isEnablePrevious()
Get the value of enablePrevious. |
boolean |
isPerformOR()
Returns whether the operation performed between different criteria specified in additionalCriteria is OR. |
boolean |
isTopEdge()
Returns whether the data returned is at the top edge. |
void |
setAdditionalCriteria(java.util.Properties v)
Set the value of additionalCriteria. |
void |
setAppendCriteria(boolean v)
Sets whether the customview's criteria was also applied in addition to criteriaProperties. |
void |
setAscendingOrder(boolean ascending)
Specifies whether the data should be sorted by ascending order based on orderByColumn. |
void |
setCriteriaProperties(java.util.Properties v)
Set the value of custom view's criteria. |
void |
setData(java.util.Vector v)
Set the value of data. |
void |
setEnableNext(boolean v)
Set the value of enableNext. |
void |
setEnablePrevious(boolean v)
Set the value of enablePrevious. |
void |
setEndIndex(int v)
Set the value of endIndex. |
void |
setEventUpdateThreshold(int maxId)
|
void |
setFromIndex(int v)
Set the value of fromIndex. |
void |
setKeys(java.util.Vector v)
Sets the list of keys for the objects present in the data vector |
void |
setOrderBy(java.lang.String v)
Set the value of orderBy. |
void |
setPerformOR(boolean v)
Set the value of performOR. |
void |
setScopeCriteria(java.util.Properties[] v)
This method is for internal use to set the value of ScopeCriteria. |
void |
setSortFieldType(boolean type)
Deprecated. since the type can be of any primitive java data type. |
void |
setTopEdge(boolean v)
Set the value of topEdge. |
void |
setTotalLength(int v)
Set the value of totalLength. |
void |
setUniqueIdForUpdate(long v)
Set the value of uniqueIdForUpdate. |
void |
setViewLength(int v)
Set the value of viewLength. |
java.lang.String |
toString()
Just to print the datastructure |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ViewData()
| Method Detail |
public int getTotalLength()
public void setTotalLength(int v)
v - Value to assign to totalLength.public int getFromIndex()
public void setFromIndex(int v)
v - Value to assign to fromIndex.public int getEndIndex()
public void setEndIndex(int v)
v - Value to assign to endIndex.public int getViewLength()
public void setViewLength(int v)
v - Value to assign to viewLength.public boolean isEnableNext()
public void setEnableNext(boolean v)
v - Value to assign to enableNext.public boolean isEnablePrevious()
public void setEnablePrevious(boolean v)
v - Value to assign to enablePrevious.public java.lang.String getOrderBy()
public void setOrderBy(java.lang.String v)
v - Value to assign to orderBy.public java.util.Vector getData()
public void setData(java.util.Vector v)
v - Value to assign to data.public java.util.Vector getKeys()
public void setKeys(java.util.Vector v)
v - Value to assign to keys.public java.util.Properties getCriteriaProperties()
public void setCriteriaProperties(java.util.Properties v)
v - Value to assign to criteriaProperties.public java.util.Properties getAdditionalCriteria()
isAppendCriteria()public void setAdditionalCriteria(java.util.Properties v)
v - Value to assign to additionalCriteria.public boolean isAppendCriteria()
criteriaProperties. If false, only
criteriaProperties would've been used while
getData. If true, then both customview's criteria and
criteriaProperties would've been used.true if customview's criteria was also
applied, false otherwise.public void setAppendCriteria(boolean v)
criteriaProperties. If false, only
criteriaProperties would've been used while
getData. If true, then both customview's criteria and
criteriaProperties would've been used.true - if customview's criteria was also
applied, false otherwise.public boolean isTopEdge()
true if the returned data is at the top
edge, false otherwise.public void setTopEdge(boolean v)
v - Value to assign to topEdge.public boolean isPerformOR()
public void setPerformOR(boolean v)
v - Value to assign to performOR.public boolean isAscendingOrder()
orderByColumn.true if data should be sorted in ascending
order based on orderByColumn, false
otherwise.public void setAscendingOrder(boolean ascending)
orderByColumn.ascending - true if data should be sorted in ascending
order based on orderByColumn, false
otherwise.true if data should be sorted in ascending
order based on orderByColumn, false
otherwise.public void setSortFieldType(boolean type)
type - a boolean valuepublic boolean getSortFieldType()
boolean valuepublic long getUniqueIdForUpdate()
public void setUniqueIdForUpdate(long v)
v - Value to assign to uniqueIdForUpdate.public java.util.Properties[] getScopeCriteria()
public void setScopeCriteria(java.util.Properties[] v)
v - Value to assign to ScopeCriteria.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object clone()
clone in class java.lang.Objectpublic void setEventUpdateThreshold(int maxId)
public int getEventUpdateThreshold()
|
AdventNet Web NMS 4 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||