|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RecordHelper
Helper interface for serializing/deserializing the generic Entity DTO to/from its actual domain object
representation.
BasicPersistenceModule},
MapStructurePersistenceModule},
AdornedTargetListPersistenceModule}| Method Summary | |
|---|---|
Serializable |
createPopulatedInstance(Serializable instance,
Entity entity,
Map<String,FieldMetadata> mergedProperties,
Boolean setId)
|
PersistenceModule |
getCompatibleModule(OperationType operationType)
|
com.anasoft.os.daofusion.criteria.PersistentEntityCriteria |
getCountCriteria(PersistencePackage persistencePackage,
com.anasoft.os.daofusion.cto.client.CriteriaTransferObject cto,
BaseCtoConverter ctoConverter)
Returns the count criteria representation that should be used to count the result set. |
BaseCtoConverter |
getCtoConverter(PersistencePerspective persistencePerspective,
com.anasoft.os.daofusion.cto.client.CriteriaTransferObject cto,
String ceilingEntityFullyQualifiedClassname,
Map<String,FieldMetadata> mergedProperties)
|
BaseCtoConverter |
getCtoConverter(PersistencePerspective persistencePerspective,
com.anasoft.os.daofusion.cto.client.CriteriaTransferObject cto,
String ceilingEntityFullyQualifiedClassname,
Map<String,FieldMetadata> mergedProperties,
FilterCriterionProviders criterionProviders)
|
DecimalFormat |
getDecimalFormatter()
|
FieldManager |
getFieldManager()
|
Object |
getPrimaryKey(Entity entity,
Map<String,FieldMetadata> mergedProperties)
|
Entity |
getRecord(Class<?> ceilingEntityClass,
PersistencePerspective persistencePerspective,
Serializable record)
|
Entity |
getRecord(Map<String,FieldMetadata> primaryMergedProperties,
Serializable record,
Map<String,FieldMetadata> alternateMergedProperties,
String pathToTargetObject)
|
Entity[] |
getRecords(Class<?> ceilingEntityClass,
PersistencePerspective persistencePerspective,
List<? extends Serializable> records)
|
Entity[] |
getRecords(Map<String,FieldMetadata> primaryMergedProperties,
List<? extends Serializable> records)
|
Entity[] |
getRecords(Map<String,FieldMetadata> primaryMergedProperties,
List<? extends Serializable> records,
Map<String,FieldMetadata> alternateMergedProperties,
String pathToTargetObject)
|
Map<String,FieldMetadata> |
getSimpleMergedProperties(String entityName,
PersistencePerspective persistencePerspective)
|
int |
getTotalRecords(PersistencePackage persistencePackage,
com.anasoft.os.daofusion.cto.client.CriteriaTransferObject cto,
BaseCtoConverter ctoConverter)
|
boolean |
validate(Entity entity,
Serializable populatedInstance,
Map<String,FieldMetadata> mergedProperties)
Validates the Entity based on the validators associated with each property |
| Method Detail |
|---|
BaseCtoConverter getCtoConverter(PersistencePerspective persistencePerspective,
com.anasoft.os.daofusion.cto.client.CriteriaTransferObject cto,
String ceilingEntityFullyQualifiedClassname,
Map<String,FieldMetadata> mergedProperties)
throws ClassNotFoundException
ClassNotFoundException
BaseCtoConverter getCtoConverter(PersistencePerspective persistencePerspective,
com.anasoft.os.daofusion.cto.client.CriteriaTransferObject cto,
String ceilingEntityFullyQualifiedClassname,
Map<String,FieldMetadata> mergedProperties,
FilterCriterionProviders criterionProviders)
throws ClassNotFoundException
ClassNotFoundException
Entity[] getRecords(Map<String,FieldMetadata> primaryMergedProperties,
List<? extends Serializable> records,
Map<String,FieldMetadata> alternateMergedProperties,
String pathToTargetObject)
throws ParserConfigurationException,
DOMException,
IllegalAccessException,
InvocationTargetException,
NoSuchMethodException,
TransformerFactoryConfigurationError,
TransformerConfigurationException,
IllegalArgumentException,
TransformerException,
SecurityException,
ClassNotFoundException
ParserConfigurationException
DOMException
IllegalAccessException
InvocationTargetException
NoSuchMethodException
TransformerFactoryConfigurationError
TransformerConfigurationException
IllegalArgumentException
TransformerException
SecurityException
ClassNotFoundException
Entity[] getRecords(Map<String,FieldMetadata> primaryMergedProperties,
List<? extends Serializable> records)
throws ParserConfigurationException,
DOMException,
IllegalAccessException,
InvocationTargetException,
NoSuchMethodException,
TransformerFactoryConfigurationError,
TransformerConfigurationException,
IllegalArgumentException,
TransformerException,
SecurityException,
ClassNotFoundException
ParserConfigurationException
DOMException
IllegalAccessException
InvocationTargetException
NoSuchMethodException
TransformerFactoryConfigurationError
TransformerConfigurationException
IllegalArgumentException
TransformerException
SecurityException
ClassNotFoundException
Entity[] getRecords(Class<?> ceilingEntityClass,
PersistencePerspective persistencePerspective,
List<? extends Serializable> records)
throws SecurityException,
IllegalArgumentException,
ClassNotFoundException,
NoSuchMethodException,
IllegalAccessException,
InvocationTargetException,
DOMException,
TransformerConfigurationException,
ParserConfigurationException,
TransformerFactoryConfigurationError,
TransformerException,
NoSuchFieldException
SecurityException
IllegalArgumentException
ClassNotFoundException
NoSuchMethodException
IllegalAccessException
InvocationTargetException
DOMException
TransformerConfigurationException
ParserConfigurationException
TransformerFactoryConfigurationError
TransformerException
NoSuchFieldException
Entity getRecord(Map<String,FieldMetadata> primaryMergedProperties,
Serializable record,
Map<String,FieldMetadata> alternateMergedProperties,
String pathToTargetObject)
throws ParserConfigurationException,
DOMException,
IllegalAccessException,
InvocationTargetException,
NoSuchMethodException,
TransformerFactoryConfigurationError,
TransformerConfigurationException,
IllegalArgumentException,
TransformerException,
SecurityException,
ClassNotFoundException
ParserConfigurationException
DOMException
IllegalAccessException
InvocationTargetException
NoSuchMethodException
TransformerFactoryConfigurationError
TransformerConfigurationException
IllegalArgumentException
TransformerException
SecurityException
ClassNotFoundException
Entity getRecord(Class<?> ceilingEntityClass,
PersistencePerspective persistencePerspective,
Serializable record)
throws SecurityException,
IllegalArgumentException,
ClassNotFoundException,
NoSuchMethodException,
IllegalAccessException,
InvocationTargetException,
DOMException,
TransformerConfigurationException,
ParserConfigurationException,
TransformerFactoryConfigurationError,
TransformerException,
NoSuchFieldException
SecurityException
IllegalArgumentException
ClassNotFoundException
NoSuchMethodException
IllegalAccessException
InvocationTargetException
DOMException
TransformerConfigurationException
ParserConfigurationException
TransformerFactoryConfigurationError
TransformerException
NoSuchFieldException
int getTotalRecords(PersistencePackage persistencePackage,
com.anasoft.os.daofusion.cto.client.CriteriaTransferObject cto,
BaseCtoConverter ctoConverter)
throws ClassNotFoundException
ClassNotFoundException
com.anasoft.os.daofusion.criteria.PersistentEntityCriteria getCountCriteria(PersistencePackage persistencePackage,
com.anasoft.os.daofusion.cto.client.CriteriaTransferObject cto,
BaseCtoConverter ctoConverter)
throws ClassNotFoundException
BaseCtoConverter.getFilterCriterionProviders()).
persistencePackage - cto - ctoConverter -
ClassNotFoundException
Serializable createPopulatedInstance(Serializable instance,
Entity entity,
Map<String,FieldMetadata> mergedProperties,
Boolean setId)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException,
ParseException,
NumberFormatException,
InstantiationException,
ClassNotFoundException
IllegalAccessException
InvocationTargetException
NoSuchMethodException
ParseException
NumberFormatException
InstantiationException
ClassNotFoundException
Object getPrimaryKey(Entity entity,
Map<String,FieldMetadata> mergedProperties)
throws NumberFormatException
NumberFormatException
Map<String,FieldMetadata> getSimpleMergedProperties(String entityName,
PersistencePerspective persistencePerspective)
throws ClassNotFoundException,
SecurityException,
IllegalArgumentException,
NoSuchMethodException,
IllegalAccessException,
InvocationTargetException,
NoSuchFieldException
ClassNotFoundException
SecurityException
IllegalArgumentException
NoSuchMethodException
IllegalAccessException
InvocationTargetException
NoSuchFieldExceptionFieldManager getFieldManager()
PersistenceModule getCompatibleModule(OperationType operationType)
DecimalFormat getDecimalFormatter()
boolean validate(Entity entity,
Serializable populatedInstance,
Map<String,FieldMetadata> mergedProperties)
throws InstantiationException,
IllegalAccessException,
ClassNotFoundException
Entity based on the validators associated with each property
entity - the instance that is attempted to be saved from. Implementers should set Entity.isValidationFailure()
accordingly as a result of the validationpopulatedInstance - mergedProperties - TODO
Entity.isValidationFailure()
after invoking this method
InstantiationException
IllegalAccessException
ClassNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||