com.u2d.find
Class CompositeQuery
java.lang.Object
com.u2d.model.AbstractEObject
com.u2d.model.AbstractComplexEObject
com.u2d.find.CompositeQuery
- All Implemented Interfaces:
- Query, Searchable, ChangeNotifier, ComplexEObject, EObject, PostChangeNotifier, PropertyChangeNotifier, Typed, Viewable, PersistorListener, AppEventNotifier, ValidationNotifier, java.awt.datatransfer.Transferable, java.io.Serializable
public class CompositeQuery
- extends AbstractComplexEObject
- implements Query
- Author:
- Eitan Suez
- See Also:
- Serialized Form
| Fields inherited from class com.u2d.model.AbstractComplexEObject |
_associations, _changeSupport, _createdOn, _currentState, _editState, _nullState, _readState, _stateMap, _transientState, _type, commandOrderEditState, commandOrderReadState, commandOrderTransientState, readOnly |
| Methods inherited from class com.u2d.model.AbstractComplexEObject |
addAppEventListener, addPropertyChangeListener, addPropertyChangeListener, association, cancelTransition, childFields, cleanCGILibEnhancer, clearEditor, command, command, commands, createInstance, defaultCommand, defaultCommandName, delete, doSave, equals, field, fieldSublist, fireAppEventNotification, fireAppEventNotification, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreatedOn, getDeleted, getDeletedOn, getExpandableView, getFormView, getIconView, getID, getInequalities, getListItemView, getState, getTabBodyView, getTransferData, getTransferDataFlavors, getTreeView, getView, iconLg, iconSm, initialize, isDataFlavorSupported, isEditableState, isEditState, isEmpty, isMeta, isNullState, isTransientState, log, makeCopy, onBeforeCreate, onBeforeSave, onLoad, onSave, popState, pushState, removeAppEventListener, removePropertyChangeListener, removePropertyChangeListener, restoreCopy, restoredState, restoreState, save, saveCopy, setEditor, setEditState, setID, setNullState, setReadState, setStartState, setState, setState, setTransientState, setValue, setValue, startState, toString, treeModel, type, validate |
| Methods inherited from class com.u2d.model.AbstractEObject |
addChangeListener, addPostChangeListener, addValidationListener, currentUser, field, fireStateChanged, fireValidationException, fireValidationException, hbmPersistor, parentObject, persistor, removeChangeListener, removePostChangeListener, removeValidationListener, setField, vmech |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.u2d.model.ComplexEObject |
association, cancelTransition, childFields, clearEditor, command, defaultCommand, defaultCommandName, delete, doSave, field, getCreatedOn, getExpandableView, getFormView, getIconView, getID, getListItemView, getState, getTabBodyView, getTreeView, initialize, isEditableState, isEditState, isMeta, isNullState, isTransientState, restoreState, save, setEditor, setEditState, setID, setNullState, setReadState, setStartState, setState, setTransientState, setValue, treeModel, type |
| Methods inherited from interface java.awt.datatransfer.Transferable |
getTransferData, getTransferDataFlavors, isDataFlavorSupported |
querySpecificationsType
public static java.lang.Class querySpecificationsType
fieldOrder
public static java.lang.String[] fieldOrder
CompositeQuery
public CompositeQuery()
CompositeQuery
public CompositeQuery(ComplexType queryType)
pluralName
public static java.lang.String pluralName()
getName
public StringEO getName()
- Specified by:
getName in interface Query
getQueryType
public ComplexType getQueryType()
- Specified by:
getQueryType in interface Query
setQueryType
public void setQueryType(ComplexType type)
getQuerySpecifications
public CompositeList getQuerySpecifications()
getCriteria
public org.hibernate.Criteria getCriteria()
- Specified by:
getCriteria in interface Query
New
public static CompositeQuery New(CommandInfo cmdInfo,
ComplexType querytype)
- overload command new..
Execute
public CriteriaListEO Execute(CommandInfo cmdInfo)
execute
public CriteriaListEO execute()
- Specified by:
execute in interface Query
title
public Title title()
- Specified by:
title in interface EObject- Specified by:
title in class AbstractComplexEObject
getMainView
public EView getMainView()
- Specified by:
getMainView in interface Viewable- Overrides:
getMainView in class AbstractComplexEObject
onCreate
public void onCreate()
- Specified by:
onCreate in interface PersistorListener- Overrides:
onCreate in class AbstractComplexEObject
onDelete
public void onDelete()
- Specified by:
onDelete in interface PersistorListener- Overrides:
onDelete in class AbstractComplexEObject
HQLQuery
public static AbstractListEO HQLQuery(CommandInfo cmdInfo,
TextEO hqlText)