|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.datastore.engine.EmptyInterceptor
public class EmptyInterceptor
An interceptor that does nothing
| Field Summary | |
|---|---|
protected Datastore |
datastore
|
| Constructor Summary | |
|---|---|
EmptyInterceptor()
|
|
| Method Summary | |
|---|---|
boolean |
beforeDelete(PersistentEntity entity,
EntityAccess ea)
Called before an entity is deleted |
boolean |
beforeInsert(PersistentEntity entity,
EntityAccess ea)
Called before an entity is inserted |
boolean |
beforeUpdate(PersistentEntity entity,
EntityAccess ea)
Called before an entity is updated |
void |
setDatastore(Datastore datastore)
Sets the datastore on this instance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Datastore datastore
| Constructor Detail |
|---|
public EmptyInterceptor()
| Method Detail |
|---|
public boolean beforeInsert(PersistentEntity entity,
EntityAccess ea)
EntityInterceptor
beforeInsert in interface EntityInterceptorentity - The entityea - The object
public boolean beforeUpdate(PersistentEntity entity,
EntityAccess ea)
EntityInterceptor
beforeUpdate in interface EntityInterceptorentity - The entityea - The object
public boolean beforeDelete(PersistentEntity entity,
EntityAccess ea)
EntityInterceptor
beforeDelete in interface EntityInterceptorentity - The entityea - The object
public void setDatastore(Datastore datastore)
DatastoreAware
setDatastore in interface DatastoreAwaredatastore - The datastore
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||