org.broadleafcommerce.gwt.server.service.module
Class JoinStructureServerModule

java.lang.Object
  extended by org.broadleafcommerce.gwt.server.service.module.BasicServerEntityModule
      extended by org.broadleafcommerce.gwt.server.service.module.JoinStructureServerModule
All Implemented Interfaces:
RecordHelper, RemoteServiceModule, org.springframework.context.ApplicationContextAware

public class JoinStructureServerModule
extends BasicServerEntityModule

Author:
jfischer

Field Summary
 
Fields inherited from class org.broadleafcommerce.gwt.server.service.module.BasicServerEntityModule
applicationContext, customPersistenceHandlers, dateFormat, decimalFormat, dynamicEntityDao, dynamicEntityRemoteService
 
Constructor Summary
JoinStructureServerModule()
           
 
Method Summary
 Entity add(java.lang.String ceilingEntityFullyQualifiedClassname, Entity entity, PersistencePerspective persistencePerspective, java.lang.String[] customCriteria)
           
protected  java.io.Serializable createPopulatedJoinStructureInstance(JoinStructure joinStructure, Entity entity)
           
 void extractProperties(java.util.Map<MergedPropertyType,java.util.Map<java.lang.String,FieldMetadata>> mergedProperties, java.util.List<Property> properties)
           
 DynamicResultSet fetch(java.lang.String ceilingEntityFullyQualifiedClassname, com.anasoft.os.daofusion.cto.client.CriteriaTransferObject cto, PersistencePerspective persistencePerspective, java.lang.String[] customCriteria)
           
protected  BaseCtoConverter getJoinStructureCtoConverter(PersistencePerspective persistencePerspective, com.anasoft.os.daofusion.cto.client.CriteriaTransferObject cto, java.util.Map<java.lang.String,FieldMetadata> mergedProperties, JoinStructure joinStructure)
           
 boolean isCompatible(OperationType operationType)
           
 void remove(Entity entity, PersistencePerspective persistencePerspective, java.lang.String[] customCriteria)
           
 Entity update(Entity entity, PersistencePerspective persistencePerspective, java.lang.String[] customCriteria)
           
 void updateMergedProperties(java.lang.String ceilingEntityFullyQualifiedClassname, PersistencePerspective persistencePerspective, java.util.Map<MergedPropertyType,java.util.Map<java.lang.String,FieldMetadata>> allMergedProperties, java.util.Map<java.lang.String,FieldMetadata> metadataOverrides)
           
 
Methods inherited from class org.broadleafcommerce.gwt.server.service.module.BasicServerEntityModule
createPopulatedInstance, extractPropertiesFromMetadata, extractPropertiesFromPersistentEntity, getCtoConverter, getCustomPersistenceHandlers, getFieldManager, getPrimaryKey, getRecord, getRecord, getRecords, getRecords, getSimpleMergedProperties, getTotalRecords, setApplicationContext, setCustomPersistenceHandlers, setDynamicEntityRemoteService, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoinStructureServerModule

public JoinStructureServerModule()
Method Detail

isCompatible

public boolean isCompatible(OperationType operationType)
Specified by:
isCompatible in interface RemoteServiceModule
Overrides:
isCompatible in class BasicServerEntityModule

extractProperties

public void extractProperties(java.util.Map<MergedPropertyType,java.util.Map<java.lang.String,FieldMetadata>> mergedProperties,
                              java.util.List<Property> properties)
                       throws java.lang.NumberFormatException
Specified by:
extractProperties in interface RemoteServiceModule
Overrides:
extractProperties in class BasicServerEntityModule
Throws:
java.lang.NumberFormatException

getJoinStructureCtoConverter

protected BaseCtoConverter getJoinStructureCtoConverter(PersistencePerspective persistencePerspective,
                                                        com.anasoft.os.daofusion.cto.client.CriteriaTransferObject cto,
                                                        java.util.Map<java.lang.String,FieldMetadata> mergedProperties,
                                                        JoinStructure joinStructure)

createPopulatedJoinStructureInstance

protected java.io.Serializable createPopulatedJoinStructureInstance(JoinStructure joinStructure,
                                                                    Entity entity)
                                                             throws java.lang.InstantiationException,
                                                                    java.lang.IllegalAccessException,
                                                                    java.lang.ClassNotFoundException,
                                                                    java.lang.NumberFormatException,
                                                                    java.lang.reflect.InvocationTargetException,
                                                                    java.lang.NoSuchMethodException
Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.NumberFormatException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException

updateMergedProperties

public void updateMergedProperties(java.lang.String ceilingEntityFullyQualifiedClassname,
                                   PersistencePerspective persistencePerspective,
                                   java.util.Map<MergedPropertyType,java.util.Map<java.lang.String,FieldMetadata>> allMergedProperties,
                                   java.util.Map<java.lang.String,FieldMetadata> metadataOverrides)
                            throws ServiceException
Specified by:
updateMergedProperties in interface RemoteServiceModule
Overrides:
updateMergedProperties in class BasicServerEntityModule
Throws:
ServiceException

add

public Entity add(java.lang.String ceilingEntityFullyQualifiedClassname,
                  Entity entity,
                  PersistencePerspective persistencePerspective,
                  java.lang.String[] customCriteria)
           throws ServiceException
Specified by:
add in interface RemoteServiceModule
Overrides:
add in class BasicServerEntityModule
Throws:
ServiceException

update

public Entity update(Entity entity,
                     PersistencePerspective persistencePerspective,
                     java.lang.String[] customCriteria)
              throws ServiceException
Specified by:
update in interface RemoteServiceModule
Overrides:
update in class BasicServerEntityModule
Throws:
ServiceException

remove

public void remove(Entity entity,
                   PersistencePerspective persistencePerspective,
                   java.lang.String[] customCriteria)
            throws ServiceException
Specified by:
remove in interface RemoteServiceModule
Overrides:
remove in class BasicServerEntityModule
Throws:
ServiceException

fetch

public DynamicResultSet fetch(java.lang.String ceilingEntityFullyQualifiedClassname,
                              com.anasoft.os.daofusion.cto.client.CriteriaTransferObject cto,
                              PersistencePerspective persistencePerspective,
                              java.lang.String[] customCriteria)
                       throws ServiceException
Specified by:
fetch in interface RemoteServiceModule
Overrides:
fetch in class BasicServerEntityModule
Throws:
ServiceException


Copyright © 2011. All Rights Reserved.