|
JAC project AOPSYS CEDRIC & LIP6 labs |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.core.Wrapper | +--org.objectweb.jac.aspects.persistence.PersistenceWrapper | +--org.objectweb.jac.aspects.persistence.CollectionWrapper
Base class for collection wrappers
Nested Class Summary |
Nested classes inherited from class org.objectweb.jac.aspects.persistence.PersistenceWrapper |
PersistenceWrapper.InvalidOidException |
Field Summary |
Fields inherited from class org.objectweb.jac.aspects.persistence.PersistenceWrapper |
ATTR_ADDED |
Fields inherited from class org.objectweb.jac.core.Wrapper |
ac |
Constructor Summary | |
CollectionWrapper(AspectComponent ac,
boolean isLoaded)
|
Method Summary | |
abstract Object |
clear(Interaction interaction)
Remove all instances from the collection |
protected abstract void |
doLoad(Wrappee wrappee)
Really load the whole collection. |
protected abstract long |
getCollectionSize(OID oid)
|
Date |
getUseDate(Wrappee wrappee)
|
Object |
isEmpty(Interaction interaction)
|
boolean |
isLoaded()
|
abstract Object |
iterator(Interaction interaction)
|
void |
load(Wrappee wrappee)
Load the whole collection if it is not already loaded |
Object |
memorizeUseDate(Interaction i)
|
Object |
preload(Interaction interaction)
|
Object |
size(Interaction interaction)
|
void |
unload(Wrappee wrappee)
Unload the collection. |
Methods inherited from class org.objectweb.jac.aspects.persistence.PersistenceWrapper |
addToCollection, applyPersistence, checkOid, getAC, getCollection, getOID, getReference, getStorage, handleStatic, initAllFields, initCollections, isPersistent, loadAllFields, makePersistent, normalizeInput, normalizeOutput, removeFromCollection, setField, setReference, updateCollection, wrapCollections |
Methods inherited from class org.objectweb.jac.core.Wrapper |
attr, attrdef, defines, getAspectComponent, getAspectComponentName, getExceptionHandlers, proceed, setAspectComponent, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CollectionWrapper(AspectComponent ac, boolean isLoaded)
Method Detail |
public void load(Wrappee wrappee) throws Exception
Exception
public boolean isLoaded()
public void unload(Wrappee wrappee)
protected abstract void doLoad(Wrappee wrappee) throws Exception
Exception
public abstract Object clear(Interaction interaction) throws Exception
Exception
public Object preload(Interaction interaction) throws Exception
Exception
public Object size(Interaction interaction) throws Exception
Exception
protected abstract long getCollectionSize(OID oid) throws Exception
Exception
public Object isEmpty(Interaction interaction) throws Exception
Exception
public Object memorizeUseDate(Interaction i)
public Date getUseDate(Wrappee wrappee)
public abstract Object iterator(Interaction interaction)
|
Contact JAC development team: Renaud Pawlak Lionel Seinturier Laurent Martelli |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |