|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujorm.wicket.component.dialog.domestic.OfferModel<U>
public class OfferModel<U extends Ujo & Serializable>
UjoFieldModel
| Constructor Summary | |
|---|---|
OfferModel(Class<U> type)
All item |
|
OfferModel(org.ujorm.criterion.Criterion<U> filter)
Filtering |
|
| Method Summary | ||
|---|---|---|
protected void |
addTableColumns(AbstractDataProvider provider)
Add table columns |
|
|
createDataTable()
Create Date Table |
|
KeyColumn<U,Object> |
createSelectColumn(String action)
Create new instance of an KeyColumn |
|
protected KeyList<?> |
findKeyByName(String keyName,
KeyList<U> fullKeys)
FindKey by name with ignore case |
|
Closeable<U> |
getClosable()
Closable object |
|
|
getColumns()
Table columns |
|
Dimension |
getDimension()
Set dimension of Window |
|
|
getDisplay()
Display column of the UjoField |
|
org.ujorm.criterion.Criterion<U> |
getFilter()
Returns the original filter |
|
org.apache.wicket.model.IModel<org.ujorm.criterion.Criterion<U>> |
getFilterModel()
Returns filter model |
|
|
getFinders()
Get Finders for Toolbar where String key type is preferred in auto builder mode |
|
protected void |
getFinders4Orm(List<Key> result)
Add finders to the ressult for ORM domain |
|
org.apache.wicket.model.IModel<org.ujorm.criterion.Criterion<U>> |
getHighliting()
Returns highliting with a non-null model |
|
|
getId()
Display column of the UjoField |
|
protected MetaTable |
getMetaTable()
Find a meta-model for a ORM doman class |
|
protected OrmHandler |
getOrmHandler()
Returns ORM handelr |
|
AbstractDataProvider |
getProvider()
Data Provider |
|
int |
getRowCount()
Row count |
|
org.apache.wicket.model.IModel<String> |
getTitle()
Dialog title |
|
Class<U> |
getType()
Return a base class |
|
boolean |
isEnableToolbar()
Enable finder |
|
protected boolean |
isOrm()
Is the Domain type an ORM class ? |
|
void |
setClosable(Closeable<U> closable)
Closable object |
|
void |
setColumns(KeyList<U> columns)
Table columns |
|
void |
setDimension(int width,
int height)
Set dimension of Window |
|
|
setDisplay(Key<? super D,U> display)
Display column of the UjoField |
|
void |
setEnableToolbar(boolean enableToolbar)
Enable finder |
|
void |
setFinders(KeyList<U> finders)
|
|
void |
setHighliting(org.ujorm.criterion.Criterion<U> highliting)
Returns highliting |
|
|
setId(Key<? super D,U> id)
Display column of the UjoField |
|
void |
setProvider(AbstractDataProvider provider)
Data Provider |
|
void |
setRowCount(int rowCount)
Row count |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OfferModel(Class<U> type)
public OfferModel(org.ujorm.criterion.Criterion<U> filter)
| Method Detail |
|---|
@Nonnull public org.ujorm.criterion.Criterion<U> getFilter()
@Nonnull public org.apache.wicket.model.IModel<org.ujorm.criterion.Criterion<U>> getFilterModel()
@Nullable
public void setHighliting(@Nullable
org.ujorm.criterion.Criterion<U> highliting)
@Nonnull public org.apache.wicket.model.IModel<org.ujorm.criterion.Criterion<U>> getHighliting()
@Nonnull public Class<U> getType()
@Nonnull public org.apache.wicket.model.IModel<String> getTitle()
public void setDimension(int width,
int height)
@Nonnull public Dimension getDimension()
public int getRowCount()
public void setRowCount(int rowCount)
public <V> KeyList<U> getColumns()
public void setColumns(KeyList<U> columns)
public void setFinders(KeyList<U> finders)
public <V> KeyList<U> getFinders()
String key type is preferred in auto builder mode
protected void getFinders4Orm(List<Key> result)
throws IllegalStateException
IllegalStateExceptionpublic AbstractDataProvider getProvider()
protected void addTableColumns(AbstractDataProvider provider)
public KeyColumn<U,Object> createSelectColumn(String action)
protected boolean isOrm()
public <S> org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable<U,S> createDataTable()
public void setProvider(AbstractDataProvider provider)
@Nullable public <D extends Ujo> Key<D,U> getDisplay()
public <D extends Ujo> void setDisplay(@Nullable
Key<? super D,U> display)
@Nonnull public <V> Key<U,V> getId()
protected MetaTable getMetaTable()
throws IllegalStateException
IllegalStateException
protected KeyList<?> findKeyByName(String keyName,
KeyList<U> fullKeys)
keyName - Key name in UPPER CASEfullKeys - all direct keys
public <D extends Ujo> void setId(@Nullable
Key<? super D,U> id)
protected OrmHandler getOrmHandler()
public Closeable<U> getClosable()
public void setClosable(@Nonnull
Closeable<U> closable)
public boolean isEnableToolbar()
public void setEnableToolbar(boolean enableToolbar)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||