org.loom.interceptor
Class DefaultRetrieveEntityInterceptor
java.lang.Object
org.loom.interceptor.AbstractPropertyBoundInterceptor
org.loom.interceptor.DefaultRetrieveEntityInterceptor
- All Implemented Interfaces:
- Interceptor, PopulateInterceptor, PropertyBoundInterceptor, RetrieveEntityInterceptor
public class DefaultRetrieveEntityInterceptor
- extends AbstractPropertyBoundInterceptor
- implements RetrieveEntityInterceptor, PopulateInterceptor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DefaultRetrieveEntityInterceptor
public DefaultRetrieveEntityInterceptor()
beforePopulate
public Resolution beforePopulate(ParsedAction action)
- Specified by:
beforePopulate
in interface PopulateInterceptor
- Parameters:
action
- the action and event that is being executed
- Returns:
- if return value != null, stops the execution of
the workflow and return the provided resolution
setReadOnly
public void setReadOnly(boolean readOnly)
- Specified by:
setReadOnly
in interface RetrieveEntityInterceptor
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setEntityManager
public void setEntityManager(ExtendedEntityManager entityManager)
getIdPropertyPath
public java.lang.String getIdPropertyPath()
setIdPropertyName
public void setIdPropertyName(java.lang.String idPropertyName)
- Specified by:
setIdPropertyName
in interface RetrieveEntityInterceptor
setPropertyClass
public void setPropertyClass(java.lang.Class<?> propertyClass)
- Specified by:
setPropertyClass
in interface RetrieveEntityInterceptor