| java.lang.Object jpersist.ObjectSupport
ObjectSupport | final class ObjectSupport (Code) | | |
Inner Class :static class QueryObjectHandler implements ClassHandler | |
Inner Class :static class LoadClassHandler implements ClassHandler | |
Inner Class :static class InsertClassHandler implements ClassHandler | |
Inner Class :static class UpdateClassHandler implements ClassHandler | |
Inner Class :static class DeleteClassHandler implements ClassHandler | |
Inner Class :static class ChecksumCalculator implements ClassHandler | |
Inner Class :static interface ClassHandler | |
Inner Class :static class NullValue | |
Method Summary | |
static long | calculateChecksum(Database db, Object object) | static void | copyAssociationIds(Database db, Object object, Object associationObject) | static int | deleteObject(Database db, Object object, Set nullValuesToInclude, String externalClauses, Object[] parameters) | static Map | getImportedExportedKeys(Database db, Object object, boolean exportedKeys) | static Set | getMatchingImportedExportedKeys(Map objectKeys, Map associationKeys) | static Method | getMatchingMethod(ColumnMapping columnMapper, String columnName, Object object, boolean getMethod) | static String | getTableName(Class objectClass) | static void | getValuesMap(Map valuesMap, Set selectableColumns, MetaData.Table table, ColumnMapping columnMapper, Object object, Class objectClass, Set nullValuesToInclude, boolean IdColumnsOnly, boolean isUpdate, boolean allFieldsSti) | static boolean | hasWildCards(String value) | static int | insertObject(Database db, Object object) | static void | loadAssociations(Database db, Object object) | static Object | loadObject(Result result, Object object, boolean loadAssociations) | static int | objectTransaction(Database db, Object object, Set nullValuesToInclude, boolean isInsertUpdate, String externalClauses, Object[] parameters) | static void | processClasses(Database db, Class objectClass, Object object, boolean tableRequired, boolean IdColumnsOnly, boolean baseTableOnly, boolean isUpdate, Set nullValuesToInclude, ClassHandler ch) | static void | processExternalClauses(StringBuffer externalClausesStrBuf, MetaData.Table table, ColumnMapping columnMapper, Object object, String identifierQuoteString) | static Result | queryObject(Database db, Class cs, Object object, Set nullValuesToInclude, boolean idColumnsOnly, String externalClauses, Object[] parameters) | static int | saveAssociations(Database db, Object object) | static int | saveObject(Database db, Object object, Set nullValuesToInclude, String externalClauses, Object[] parameters) | static void | setAutoGeneratedKeys(Object object, MetaData.Table table, ColumnMapping columnMapper, Vector keysRequested, Vector keysReturned) | static int | updateObject(Database db, Object object, Set nullValuesToInclude, String externalClauses, Object[] parameters) | static boolean | valueIsZeroOrFalse(Object object) |
getMatchingImportedExportedKeys | static Set getMatchingImportedExportedKeys(Map objectKeys, Map associationKeys)(Code) | | |
getValuesMap | static void getValuesMap(Map valuesMap, Set selectableColumns, MetaData.Table table, ColumnMapping columnMapper, Object object, Class objectClass, Set nullValuesToInclude, boolean IdColumnsOnly, boolean isUpdate, boolean allFieldsSti) throws IllegalAccessException, InvocationTargetException, JPersistException(Code) | | |
processClasses | static void processClasses(Database db, Class objectClass, Object object, boolean tableRequired, boolean IdColumnsOnly, boolean baseTableOnly, boolean isUpdate, Set nullValuesToInclude, ClassHandler ch) throws JPersistException, SQLException, IllegalAccessException, InvocationTargetException(Code) | | |
valueIsZeroOrFalse | static boolean valueIsZeroOrFalse(Object object)(Code) | | |
|
|