com.adaptrex.core.view
Class ModelComponent

java.lang.Object
  extended by com.adaptrex.core.view.ModelComponent

public class ModelComponent
extends Object


Constructor Summary
ModelComponent(javax.servlet.http.HttpServletRequest request, ConfigComponent configComponent, ExtConfig extConfig)
           
ModelComponent(javax.servlet.http.HttpServletRequest request, String entityClassName, String factoryName, String namespace)
           
 
Method Summary
 ModelComponent applyAssociations(String associations)
           
 ModelComponent applyEntityId(Object entityId)
           
 ModelComponent applyEntityKey(String entityKey)
           
 ModelComponent applyEntityValue(String entityValue)
           
 ModelComponent applyExclude(String excludes)
           
 ModelComponent applyInclude(String includes)
           
 ModelComponent applyModelName(String modelName)
           
 ModelComponent applyRest(Object restParam)
           
 String getJavaScript()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelComponent

public ModelComponent(javax.servlet.http.HttpServletRequest request,
                      ConfigComponent configComponent,
                      ExtConfig extConfig)

ModelComponent

public ModelComponent(javax.servlet.http.HttpServletRequest request,
                      String entityClassName,
                      String factoryName,
                      String namespace)
Method Detail

getJavaScript

public String getJavaScript()
                     throws Exception
Throws:
Exception

applyModelName

public ModelComponent applyModelName(String modelName)

applyRest

public ModelComponent applyRest(Object restParam)

applyInclude

public ModelComponent applyInclude(String includes)

applyExclude

public ModelComponent applyExclude(String excludes)

applyAssociations

public ModelComponent applyAssociations(String associations)

applyEntityId

public ModelComponent applyEntityId(Object entityId)

applyEntityKey

public ModelComponent applyEntityKey(String entityKey)

applyEntityValue

public ModelComponent applyEntityValue(String entityValue)


Copyright © 2012 Adaptrex, LLC. All Rights Reserved.