org.broadleafcommerce.gwt.server.service.module
Class MapStructureServerModule
java.lang.Object
org.broadleafcommerce.gwt.server.service.module.BasicServerEntityModule
org.broadleafcommerce.gwt.server.service.module.MapStructureServerModule
- All Implemented Interfaces:
- RecordHelper, RemoteServiceModule, org.springframework.context.ApplicationContextAware
public class MapStructureServerModule
- extends BasicServerEntityModule
- Author:
- jfischer
|
Method Summary |
Entity |
add(java.lang.String ceilingEntityFullyQualifiedClassname,
Entity entity,
PersistencePerspective persistencePerspective,
java.lang.String[] customCriteria)
|
protected java.lang.Object |
convertPrimitiveBasedOnType(java.lang.String valuePropertyName,
java.lang.String value,
java.util.Map<java.lang.String,FieldMetadata> valueMergedProperties)
|
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 Entity[] |
getMapRecords(java.io.Serializable record,
MapStructure mapStructure,
java.util.Map<java.lang.String,FieldMetadata> valueMergedProperties,
Property symbolicIdProperty)
|
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 |
MapStructureServerModule
public MapStructureServerModule()
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
getMapRecords
protected Entity[] getMapRecords(java.io.Serializable record,
MapStructure mapStructure,
java.util.Map<java.lang.String,FieldMetadata> valueMergedProperties,
Property symbolicIdProperty)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.NoSuchMethodException,
java.lang.SecurityException,
java.lang.IllegalArgumentException,
java.lang.ClassNotFoundException
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
java.lang.SecurityException
java.lang.IllegalArgumentException
java.lang.ClassNotFoundException
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
convertPrimitiveBasedOnType
protected java.lang.Object convertPrimitiveBasedOnType(java.lang.String valuePropertyName,
java.lang.String value,
java.util.Map<java.lang.String,FieldMetadata> valueMergedProperties)
throws java.text.ParseException
- Throws:
java.text.ParseException
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.