org.loom.simpleds
Class RetrieveEntityInterceptorImpl

java.lang.Object
  extended by org.loom.interceptor.AbstractPropertyBoundInterceptor
      extended by 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


Field Summary
 
Fields inherited from class org.loom.interceptor.AbstractPropertyBoundInterceptor
propertyPath
 
Constructor Summary
RetrieveEntityInterceptorImpl()
           
 
Method Summary
 org.loom.resolution.Resolution beforePopulate(org.loom.mapping.ParsedAction action)
           
 java.lang.String getIdPropertyPath()
           
 void setEntityManager(org.simpleds.EntityManager entityManager)
           
 void setIdPropertyName(java.lang.String idPropertyName)
           
 void setPropertyClass(java.lang.Class<?> propertyClass)
           
 void setReadOnly(boolean readOnly)
           
 java.lang.String toString()
           
 
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
 

Constructor Detail

RetrieveEntityInterceptorImpl

public RetrieveEntityInterceptorImpl()
Method Detail

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)