org.broadleafcommerce.openadmin.client.datasource.dynamic
Class PresentationLayerAssociatedDataSource

java.lang.Object
  extended by com.smartgwt.client.core.BaseClass
      extended by com.smartgwt.client.data.DataSource
          extended by org.broadleafcommerce.openadmin.client.datasource.GwtRpcDataSource
              extended by org.broadleafcommerce.openadmin.client.datasource.dynamic.AbstractDynamicDataSource
                  extended by org.broadleafcommerce.openadmin.client.datasource.dynamic.DynamicEntityDataSource
                      extended by org.broadleafcommerce.openadmin.client.datasource.dynamic.PresentationLayerAssociatedDataSource
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.smartgwt.client.data.events.HasHandleErrorHandlers
Direct Known Subclasses:
ListGridDataSource, TileGridDataSource, TreeGridDataSource

public class PresentationLayerAssociatedDataSource
extends DynamicEntityDataSource

Author:
jfischer

Field Summary
protected  com.smartgwt.client.widgets.DataBoundComponent associatedGrid
           
static com.smartgwt.client.data.Hilite[] hilites
           
 
Fields inherited from class org.broadleafcommerce.openadmin.client.datasource.dynamic.AbstractDynamicDataSource
addedRecord, defaultNewEntityFullyQualifiedClassname, formItemCallbackHandlerManager, modules, persistencePerspective, polymorphicEntities, polymorphicEntityTree, service, showArchived
 
Fields inherited from class com.smartgwt.client.core.BaseClass
config, id, scClassName
 
Constructor Summary
PresentationLayerAssociatedDataSource(String name, PersistencePerspective persistencePerspective, DynamicEntityServiceAsync service, DataSourceModule[] modules)
           
 
Method Summary
 com.smartgwt.client.widgets.DataBoundComponent getAssociatedGrid()
           
 void loadAssociatedGridBasedOnRelationship(String relationshipValue, com.smartgwt.client.data.DSCallback dsCallback)
           
 void setAssociatedGrid(com.smartgwt.client.widgets.DataBoundComponent associatedGrid)
           
 
Methods inherited from class org.broadleafcommerce.openadmin.client.datasource.dynamic.DynamicEntityDataSource
buildFields, createRelationshipCriteria, executeAdd, executeAdd, executeFetch, executeFetch, executeRemove, executeRemove, executeUpdate, executeUpdate, extractRecordValues, getCompatibleModule, getEnumerationValueMap, getPersistencePerspective, permanentlyHideFields, permanentlyShowFields, resetPermanentFieldVisibility, resetPermanentFieldVisibility, resetPermanentFieldVisibilityBasedOnType, resetProminenceOnly, resetVisibilityOnly, setLinkedValue, setProminent, setTypeOps, setTypeOps, updateFriendlyName
 
Methods inherited from class org.broadleafcommerce.openadmin.client.datasource.dynamic.AbstractDynamicDataSource
buildPolymorphicEntityMap, getAddedRecord, getDefaultNewEntityFullyQualifiedClassname, getFormItemCallbackHandlerManager, getModules, getPolymorphicEntities, getPolymorphicEntityTree, getPrimaryKeyValue, getService, isShowArchived, replaceModuleByType, setAddedRecord, setDefaultNewEntityFullyQualifiedClassname, setFormItemCallbackHandlerManager, setModules, setPolymorphicEntityTree, setService, setShowArchived, stripDuplicateAllowSpecialCharacters
 
Methods inherited from class org.broadleafcommerce.openadmin.client.datasource.GwtRpcDataSource
transformRequest
 
Methods inherited from class com.smartgwt.client.data.DataSource
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
 
Methods inherited from class com.smartgwt.client.core.BaseClass
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Field Detail

hilites

public static com.smartgwt.client.data.Hilite[] hilites

associatedGrid

protected com.smartgwt.client.widgets.DataBoundComponent associatedGrid
Constructor Detail

PresentationLayerAssociatedDataSource

public PresentationLayerAssociatedDataSource(String name,
                                             PersistencePerspective persistencePerspective,
                                             DynamicEntityServiceAsync service,
                                             DataSourceModule[] modules)
Parameters:
name -
persistencePerspective -
service -
modules -
Method Detail

getAssociatedGrid

public com.smartgwt.client.widgets.DataBoundComponent getAssociatedGrid()

setAssociatedGrid

public void setAssociatedGrid(com.smartgwt.client.widgets.DataBoundComponent associatedGrid)

loadAssociatedGridBasedOnRelationship

public void loadAssociatedGridBasedOnRelationship(String relationshipValue,
                                                  com.smartgwt.client.data.DSCallback dsCallback)


Copyright © 2013. All Rights Reserved.