public class CustomCriteriaTreeGridDataSource extends TreeGridDataSource
Modifier and Type | Field and Description |
---|---|
protected String[] |
customCriteria |
protected boolean |
useForAdd |
protected boolean |
useForFetch |
protected boolean |
useForInspect |
protected boolean |
useForRemove |
protected boolean |
useForUpdate |
rootId, rootName
associatedGrid, hilites
addedRecord, defaultNewEntityFullyQualifiedClassname, formItemCallbackHandlerManager, modules, persistencePerspective, polymorphicEntities, polymorphicEntityTree, service, showArchived
Constructor and Description |
---|
CustomCriteriaTreeGridDataSource(String name,
PersistencePerspective persistencePerspective,
DynamicEntityServiceAsync service,
DataSourceModule[] modules,
String rootId,
String rootName) |
CustomCriteriaTreeGridDataSource(String name,
PersistencePerspective persistencePerspective,
DynamicEntityServiceAsync service,
DataSourceModule[] modules,
String rootId,
String rootName,
boolean useForFetch,
boolean useForUpdate,
boolean useForAdd,
boolean useForRemove,
boolean useForInspect) |
Modifier and Type | Method and Description |
---|---|
void |
buildFields(String[] customCriteria,
Boolean overrideFieldSort,
com.google.gwt.user.client.rpc.AsyncCallback<com.smartgwt.client.data.DataSource> cb) |
protected void |
executeAdd(String requestId,
com.smartgwt.client.data.DSRequest request,
com.smartgwt.client.data.DSResponse response,
String[] customCriteria,
com.google.gwt.user.client.rpc.AsyncCallback<com.smartgwt.client.data.DataSource> cb) |
protected void |
executeFetch(String requestId,
com.smartgwt.client.data.DSRequest request,
com.smartgwt.client.data.DSResponse response,
String[] customCriteria,
com.google.gwt.user.client.rpc.AsyncCallback<com.smartgwt.client.data.DataSource> cb) |
protected void |
executeRemove(String requestId,
com.smartgwt.client.data.DSRequest request,
com.smartgwt.client.data.DSResponse response,
String[] customCriteria,
com.google.gwt.user.client.rpc.AsyncCallback<com.smartgwt.client.data.DataSource> cb) |
protected void |
executeUpdate(String requestId,
com.smartgwt.client.data.DSRequest request,
com.smartgwt.client.data.DSResponse response,
String[] customCriteria,
com.google.gwt.user.client.rpc.AsyncCallback<com.smartgwt.client.data.DataSource> cb) |
String[] |
getCustomCriteria() |
void |
setCustomCriteria(String[] customCriteria) |
getRootId, getRootName, resetPermanentFieldVisibility, setRootId, setRootName, setupGridFields, setupGridFields, setupGridFields
getAssociatedGrid, loadAssociatedGridBasedOnRelationship, setAssociatedGrid
createRelationshipCriteria, executeAdd, executeFetch, executeRemove, executeUpdate, extractRecordValues, getCompatibleModule, getPersistencePerspective, permanentlyHideFields, permanentlyShowFields, resetPermanentFieldVisibility, resetPermanentFieldVisibilityBasedOnType, resetProminenceOnly, resetVisibilityOnly, setLinkedValue, setProminent, setTypeOps, setTypeOps, updateFriendlyName
buildPolymorphicEntityMap, getAddedRecord, getDefaultNewEntityFullyQualifiedClassname, getFormItemCallbackHandlerManager, getModules, getPolymorphicEntities, getPolymorphicEntityTree, getPrimaryKeyValue, getService, isShowArchived, replaceModuleByType, setAddedRecord, setDefaultNewEntityFullyQualifiedClassname, setFormItemCallbackHandlerManager, setModules, setPolymorphicEntityTree, setService, setShowArchived, stripDuplicateAllowSpecialCharacters
transformRequest
addData, addData, addData, addField, addHandleErrorHandler, combineCriteria, convertRelativeDates, convertRelativeDates, copyRecord, copyRecords, create, downloadFile, downloadFile, exportClientData, exportData, exportData, fetchData, fetchData, filterData, filterData, get, get, getAddGlobalId, getAutoCacheAllData, getAutoConvertRelativeDates, getAutoDeriveTitles, getCacheAllData, getCacheData, getCacheMaxAge, getCallbackParam, getCanMultiSort, getChildrenField, getClientOnly, getClientOnlyResponse, getCriteriaPolicy, getDataField, getDataFormat, getDataProtocol, getDataSource, getDataSource, getDataTransport, getDataURL, getDefaultParams, getDescriptionField, getDisplayValue, getDropExtraFields, getField, getFieldForDataPath, getFieldNames, getFieldNames, getFieldOperators, getFieldOperators, getFields, getFileURL, getGlobalNamespaces, getIconField, getInfoField, getInheritsFrom, getJsObj, getJsonPrefix, getJsonSuffix, getLegalChildTags, getOperationBindings, getOrCreateRef, getPluralTitle, getPreventHTTPCaching, getPrimaryKeyField, getPrimaryKeyFieldName, getQualifyColumnNames, getRecordXPath, getRequestProperties, getRequiredMessage, getResultBatchSize, getResultSetClass, getSchemaNamespace, getSendExtraFields, getServiceNamespace, getShowLocalFieldsOnly, getShowPrompt, getSortBy, getSortSpecifiers, getStrictSQLFiltering, getTagName, getTestData, getTitle, getTitleField, getTypeOperators, getUseFlatFields, getUseHttpProxy, getUseLocalValidators, getUseOfflineStorage, getUseParentFieldOrder, getUseTestDataFetch, getValidateRelatedRecords, getWillHandleAdvancedCriteria, hasAllData, invalidateCache, isCreated, load, load, onInit, performCustomOperation, processResponse, recordsFromXML, removeData, removeData, removeData, setAddGlobalId, setAutoCacheAllData, setAutoConvertRelativeDates, setAutoDeriveTitles, setCacheAllData, setCacheData, setCacheMaxAge, setCallbackParam, setCanMultiSort, setChildrenField, setClientOnly, setCriteriaPolicy, setDataField, setDataFormat, setDataProtocol, setDataTransport, setDataURL, setDefaultParams, setDescriptionField, setDropExtraFields, setEnumConstantProperty, setEnumOrdinalProperty, setEnumTranslateStrategy, setFields, setGlobalNamespaces, setIconField, setID, setInfoField, setInheritsFrom, setInheritsFrom, setJsonPrefix, setJsonSuffix, setOperationBindings, setPluralTitle, setPreventHTTPCaching, setQualifyColumnNames, setRecordName, setRecordXPath, setRequestProperties, setRequiredMessage, setResultBatchSize, setResultSetClass, setSendExtraFields, setServiceNamespace, setShowLocalFieldsOnly, setShowPrompt, setStrictSQLFiltering, setTagName, setTestData, setTitle, setTitleField, setTypeOperators, setUseFlatFields, setUseHttpProxy, setUseLocalValidators, setUseOfflineStorage, setUseParentFieldOrder, setUseTestDataFetch, setValidateRelatedRecords, setWillHandleAdvancedCriteria, setXmlNamespaces, supportsAdvancedCriteria, supportsTextMatchStyle, transformResponse, updateCaches, updateCaches, updateData, updateData, updateData, useOfflineResponse, validateData, validateData, viewFile, viewFile, xmlSerialize, xmlSerialize, xmlSerialize, xmlSerialize, xmlSerialize
destroy, doAddHandler, error, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getConfig, getHandlerCount, getID, getOrCreateJsObj, getRef, getScClassName, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setProperty, setProperty, setProperty, setProperty, setScClassName
protected String[] customCriteria
protected boolean useForFetch
protected boolean useForUpdate
protected boolean useForAdd
protected boolean useForRemove
protected boolean useForInspect
public CustomCriteriaTreeGridDataSource(String name, PersistencePerspective persistencePerspective, DynamicEntityServiceAsync service, DataSourceModule[] modules, String rootId, String rootName)
public CustomCriteriaTreeGridDataSource(String name, PersistencePerspective persistencePerspective, DynamicEntityServiceAsync service, DataSourceModule[] modules, String rootId, String rootName, boolean useForFetch, boolean useForUpdate, boolean useForAdd, boolean useForRemove, boolean useForInspect)
public String[] getCustomCriteria()
public void setCustomCriteria(String[] customCriteria)
protected void executeFetch(String requestId, com.smartgwt.client.data.DSRequest request, com.smartgwt.client.data.DSResponse response, String[] customCriteria, com.google.gwt.user.client.rpc.AsyncCallback<com.smartgwt.client.data.DataSource> cb)
executeFetch
in class DynamicEntityDataSource
protected void executeUpdate(String requestId, com.smartgwt.client.data.DSRequest request, com.smartgwt.client.data.DSResponse response, String[] customCriteria, com.google.gwt.user.client.rpc.AsyncCallback<com.smartgwt.client.data.DataSource> cb)
executeUpdate
in class DynamicEntityDataSource
protected void executeAdd(String requestId, com.smartgwt.client.data.DSRequest request, com.smartgwt.client.data.DSResponse response, String[] customCriteria, com.google.gwt.user.client.rpc.AsyncCallback<com.smartgwt.client.data.DataSource> cb)
executeAdd
in class DynamicEntityDataSource
protected void executeRemove(String requestId, com.smartgwt.client.data.DSRequest request, com.smartgwt.client.data.DSResponse response, String[] customCriteria, com.google.gwt.user.client.rpc.AsyncCallback<com.smartgwt.client.data.DataSource> cb)
executeRemove
in class DynamicEntityDataSource
public void buildFields(String[] customCriteria, Boolean overrideFieldSort, com.google.gwt.user.client.rpc.AsyncCallback<com.smartgwt.client.data.DataSource> cb)
buildFields
in class DynamicEntityDataSource
Copyright © 2013. All rights reserved.