|
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.user.UserWrapper
This wrapper is used by the user aspect to implement several croscutting treatments.
Field Summary |
Fields inherited from class org.objectweb.jac.core.Wrapper |
ac |
Constructor Summary | |
UserWrapper(AspectComponent ac)
|
|
UserWrapper(AspectComponent ac,
String profileName)
|
Method Summary | |
void |
addClass(ClassItem cl)
|
Object |
filterResult(Interaction interaction)
Filters the result of a collection's getter to keep only the object that are owned by the currently logged user. |
protected Object |
getUser()
|
Object |
setUser(Interaction interaction)
Set user attributes of parameters. |
protected void |
setUser(Object wrappee,
Object user)
Set user attributes of an object. |
Object |
setUserOnNew(Interaction interaction)
Set the user attribute of new objects |
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 UserWrapper(AspectComponent ac)
public UserWrapper(AspectComponent ac, String profileName)
Method Detail |
public Object filterResult(Interaction interaction)
public void addClass(ClassItem cl)
protected void setUser(Object wrappee, Object user)
wrappee
- the object to initializeuser
- the user objectprotected Object getUser()
public Object setUserOnNew(Interaction interaction)
public Object setUser(Interaction interaction)
Set user attributes of parameters.
|
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 |