|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujorm.extensions.SuperAbstractUjo
org.ujorm.extensions.AbstractUjo
org.ujorm.implementation.quick.QuickUjo
org.ujorm.implementation.orm.OrmTableSynchronized<UJO_IMPL>
public class OrmTableSynchronized<UJO_IMPL extends 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(Key<UJO,VALUE> property)
Getter based on Key implemeted by a pattern UjoExt |
|
protected static
|
newRelation(Class<ITEM> type)
A PropertyIterator Factory creates an new property and assign a next index. |
|
protected static
|
newRelation(String name,
Class<ITEM> type)
A PropertyIterator Factory creates an new property and assign a next index. |
|
boolean |
readAuthorization(UjoAction action,
Key property,
Object value)
Test an authorization of the action. |
|
|
readFK(Key<UJO,? extends OrmUjo> property)
Read the foreign key. |
|
Key[] |
readChangedProperties(boolean clear)
Returns a changed keys. |
|
Session |
readSession()
Read a session |
|
Object |
readValue(Key property)
A method for an internal use only. |
|
|
set(Key<UJO,VALUE> property,
VALUE value)
Setter based on Key. |
|
void |
writeSession(Session session)
Write a session |
|
void |
writeValue(Key property,
Object value)
A method for an internal use only. |
|
| Methods inherited from class org.ujorm.implementation.quick.QuickUjo |
|---|
newKey, newKey, newKey, newKey, newKey, newKey, newListKey, newListKey, newListProperty, newListProperty, newListProperty, newListProperty, newProperty, newProperty, newProperty, newProperty, newProperty, newProperty, newProperty, newProperty |
| Methods inherited from class org.ujorm.extensions.AbstractUjo |
|---|
newCamelFactory, newFactory |
| Methods inherited from class org.ujorm.extensions.SuperAbstractUjo |
|---|
clone, equals, init, init, readKeys, 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 |
|---|
readKeys, 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(Key property,
Object value)
writeValue in interface UjowriteValue in class AbstractUjopublic Object readValue(Key property)
readValue in interface UjoreadValue in class AbstractUjopublic Key[] readChangedProperties(boolean clear)
readChangedProperties in interface OrmUjoclear - True value clears the property changes.
public final <UJO extends UJO_IMPL,VALUE> VALUE get(Key<UJO,VALUE> property)
public final <UJO extends UJO_IMPL,VALUE> UJO_IMPL set(Key<UJO,VALUE> property,
VALUE value)
public boolean readAuthorization(UjoAction action,
Key property,
Object value)
readAuthorization in interface UjoreadAuthorization in class SuperAbstractUjo
public <UJO extends UJO_IMPL> ForeignKey readFK(Key<UJO,? extends OrmUjo> property)
throws IllegalStateException
readFK in interface ExtendedOrmUjo<UJO_IMPL extends Ujo>IllegalStateException - Method throws an exception for a wrong property type.
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(String name,
Class<ITEM> type)
protected static <UJO extends ExtendedOrmUjo,ITEM extends ExtendedOrmUjo> RelationToMany<UJO,ITEM> newRelation(Class<ITEM> type)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||