|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujorm.extensions.AbstractUjo
org.ujorm.implementation.quick.QuickUjo
org.ujorm.implementation.orm.OrmTableSynchronized<UJO_IMPL>
public class OrmTableSynchronized<UJO_IMPL extends org.ujorm.Ujo>
It is an abstract implementation of the OrmUjo for the multi-thread use. The special feature are:
OrmTable javadoc for basic information.
OrmTable,
Serialized Form| Constructor Summary | |
|---|---|
OrmTableSynchronized()
|
|
| Method Summary | ||
|---|---|---|
|
get(org.ujorm.UjoProperty<UJO,VALUE> property)
Getter based on UjoProperty implemeted by a pattern UjoExt |
|
protected static
|
newRelation(java.lang.Class<ITEM> type)
A PropertyIterator Factory creates an new property and assign a next index. |
|
protected static
|
newRelation(java.lang.String name,
java.lang.Class<ITEM> type)
A PropertyIterator Factory creates an new property and assign a next index. |
|
boolean |
readAuthorization(org.ujorm.UjoAction action,
org.ujorm.UjoProperty property,
java.lang.Object value)
Test an authorization of the action. |
|
|
readFK(org.ujorm.UjoProperty<UJO,? extends OrmUjo> property)
Read the foreign key. |
|
org.ujorm.UjoProperty[] |
readChangedProperties(boolean clear)
Returns a changed properties. |
|
Session |
readSession()
Read a session |
|
java.lang.Object |
readValue(org.ujorm.UjoProperty property)
A method for an internal use only. |
|
|
set(org.ujorm.UjoProperty<UJO,VALUE> property,
VALUE value)
Setter based on UjoProperty. |
|
void |
writeSession(Session session)
Write a session |
|
void |
writeValue(org.ujorm.UjoProperty property,
java.lang.Object value)
A method for an internal use only. |
|
| Methods inherited from class org.ujorm.implementation.quick.QuickUjo |
|---|
newListProperty, newListProperty, newProperty, newProperty, newProperty, newProperty, newProperty, newProperty |
| Methods inherited from class org.ujorm.extensions.AbstractUjo |
|---|
clone, equals, init, init, readProperties, readUjoManager, readValueString, toString, writeValueString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ujorm.Ujo |
|---|
readProperties |
| Constructor Detail |
|---|
public OrmTableSynchronized()
| Method Detail |
|---|
public Session readSession()
readSession in interface OrmUjopublic void writeSession(Session session)
writeSession in interface OrmUjo
public void writeValue(org.ujorm.UjoProperty property,
java.lang.Object value)
writeValue in interface org.ujorm.UjowriteValue in class org.ujorm.implementation.quick.QuickUjopublic java.lang.Object readValue(org.ujorm.UjoProperty property)
readValue in interface OrmUjoreadValue in interface org.ujorm.UjoreadValue in class org.ujorm.implementation.quick.QuickUjoOrmTable.readValue(org.ujorm.UjoProperty)public org.ujorm.UjoProperty[] readChangedProperties(boolean clear)
readChangedProperties in interface OrmUjoclear - True value clears the property changes.public final <UJO extends UJO_IMPL,VALUE> VALUE get(org.ujorm.UjoProperty<UJO,VALUE> property)
public final <UJO extends UJO_IMPL,VALUE> UJO_IMPL set(org.ujorm.UjoProperty<UJO,VALUE> property,
VALUE value)
public boolean readAuthorization(org.ujorm.UjoAction action,
org.ujorm.UjoProperty property,
java.lang.Object value)
readAuthorization in interface org.ujorm.UjoreadAuthorization in class org.ujorm.extensions.AbstractUjo
public <UJO extends UJO_IMPL> ForeignKey readFK(org.ujorm.UjoProperty<UJO,? extends OrmUjo> property)
throws java.lang.IllegalStateException
readFK in interface ExtendedOrmUjo<UJO_IMPL extends org.ujorm.Ujo>java.lang.IllegalStateException - Method throws an exception for a wrong property type.
java.lang.NullPointerException - Method throws an exception if a Session is missing after a lazy initialization of the property.
protected static <UJO extends ExtendedOrmUjo,ITEM extends ExtendedOrmUjo> RelationToMany<UJO,ITEM> newRelation(java.lang.String name,
java.lang.Class<ITEM> type)
protected static <UJO extends ExtendedOrmUjo,ITEM extends ExtendedOrmUjo> RelationToMany<UJO,ITEM> newRelation(java.lang.Class<ITEM> type)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||