org.loom.simpleds
Class RetrieveEntityInterceptorImpl
java.lang.Object
org.loom.interceptor.AbstractPropertyBoundInterceptor
org.loom.simpleds.RetrieveEntityInterceptorImpl
- All Implemented Interfaces:
- org.loom.interceptor.Interceptor, org.loom.interceptor.PopulateInterceptor, org.loom.interceptor.PropertyBoundInterceptor, org.loom.interceptor.RetrieveEntityInterceptor
@Component
@Scope(value="prototype")
public class RetrieveEntityInterceptorImpl
- extends org.loom.interceptor.AbstractPropertyBoundInterceptor
- implements org.loom.interceptor.RetrieveEntityInterceptor, org.loom.interceptor.PopulateInterceptor
Retrieves from the database entities using simpleds instead of JPA
| Fields inherited from class org.loom.interceptor.AbstractPropertyBoundInterceptor |
propertyPath |
| Methods inherited from class org.loom.interceptor.AbstractPropertyBoundInterceptor |
getPropertyPath, setPropertyPath |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.loom.interceptor.RetrieveEntityInterceptor |
setPropertyPath |
RetrieveEntityInterceptorImpl
public RetrieveEntityInterceptorImpl()
beforePopulate
public org.loom.resolution.Resolution beforePopulate(org.loom.mapping.ParsedAction action)
- Specified by:
beforePopulate in interface org.loom.interceptor.PopulateInterceptor
setReadOnly
public void setReadOnly(boolean readOnly)
- Specified by:
setReadOnly in interface org.loom.interceptor.RetrieveEntityInterceptor
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getIdPropertyPath
public java.lang.String getIdPropertyPath()
setIdPropertyName
public void setIdPropertyName(java.lang.String idPropertyName)
- Specified by:
setIdPropertyName in interface org.loom.interceptor.RetrieveEntityInterceptor
setPropertyClass
public void setPropertyClass(java.lang.Class<?> propertyClass)
- Specified by:
setPropertyClass in interface org.loom.interceptor.RetrieveEntityInterceptor
setEntityManager
public void setEntityManager(org.simpleds.EntityManager entityManager)