|
Method Detailboolean appendSystem(SystemDataView systemDataView, String systemReference, String columnAlias) Joins the SystemDataView to this record on columnAlias. Use systemReference in subsequent DataViewRecord.get(String,String) calls to access the SystemDataView columns.
Parameters:
Returns: boolean Since: 11-09-2010 String get(String key) Returns the value associated with key if it exists, null otherwise.
Parameters:
Returns: String Since: 08-28-2018 String get(String systemReference, String systemColumnName) Returns the column value from the system table. See DataViewBuilder.appendSystem()
Parameters:
Returns: String Since: 10-26-2010 Boolean getBoolean(String field) Returns the given field as a boolean. The value must be true or false. Throws exception if the value does not exist or cannot be cast to the correct type.
Parameters:
Returns: Boolean Since: 07-11-2008 String getCdnUrl(String column, Boolean secure) Returns the full CDN url, if any, for the remote file.
Parameters:
Returns: String Since: 02-20-2020 Boolean getCommonBoolean(String field) Returns the given field as a boolean. The value must be any of the following combinations: [true/false], [1/0], [yes,no], [on,off]. Throws exception if the value does not exist or cannot be cast to the correct type.
Parameters:
Returns: Boolean Since: 08-22-2008 Data getData() Returns the name/value data of this record. Changes made are not persisted. Returns: Data Since: 07-11-2008 String getDataValue(String name) Gets the value of the specified column referenced by name
Parameters:
Returns: String Since: 07-11-2008 Date getDate(String field) Returns the given field as a Date. Throws exception if the value does not exist or cannot be cast to the correct type.
Parameters:
Returns: Date Since: 07-11-2008 Boolean getDefaultBoolean(String field, Boolean defaultBoolean) Returns the given field as a boolean. If the field does not exist or refers to a non-boolean field, it returns the default value
Parameters:
Returns: Boolean Since: 09-05-2008 Date getDefaultDate(String field, Date defaultDate) Returns the given field as a date. If the field does not exist or refers to a non-date field, it returns the default value
Parameters:
Returns: Date Since: 09-05-2008 Double getDefaultDouble(String field, Number defaultDouble) Returns the given field as a double. If the field does not exist or refers to a non-double field, it returns the default value
Parameters:
Returns: Double Since: 09-05-2008 Integer getDefaultInt(String field, Number defaultInt) Returns the given field as an int. If the field does not exist or refers to a non-int field, it returns the default value
Parameters:
Returns: Integer Since: 09-05-2008 String getDefaultValue(String field, String defaultValue, boolean emptyIsNull) Returns the given field. If the field does not exist, it returns the default value. If the field exists but is value is empty, this method returns defaultValue only if emptyIsNull=true.
Parameters:
Returns: String Since: 09-05-2008 Double getDouble(String key) Returns the given value of the given key as a double. Throws exception if the value does not exist or cannot be cast to the correct type.
Parameters:
Returns: Double Since: 07-11-2008 String getId() Returns this record's database primary key id Returns: String Since: 07-11-2008 int getIndex() Returns this record's index in the DataList Returns: int Since: 07-11-2008 Integer getInt(String key) Returns the given value of the given key as an Java Int which is smaller than a Javascript Int. Throws exception if the value does not exist or cannot be cast to the correct type.
Parameters:
Returns: Integer Since: 07-11-2008 Long getLong(String key) Returns the given value of the given key as Java Long which is larger. Throws exception if the value does not exist or cannot be cast to the correct type.
Parameters:
Returns: Long Since: 05-28-2022 Data getSystemData(String systemReference) Returns the information in the SystemDataView. See appendSystem.
Parameters:
Returns: Data Since: 11-09-2010 String getValue(String key) Returns the value associated with key if it exists, null otherwise.
Parameters:
Returns: String Since: 07-11-2008 String getValue(int column) Gets the value of the specified column referenced by index
Parameters:
Returns: String Since: 07-11-2008 String toJson() Returns the values of this record as a JSON encoded string. Returns: String Since: 05-09-2022 String toString() Returns a description of this object. Returns: String Since: 01-19-2009 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Dec 03, 2024 10:24 AM |