public class StorageHelper
extends java.lang.Object
| Constructor and Description |
|---|
StorageHelper() |
| Modifier and Type | Method and Description |
|---|---|
static long |
generateViewSessionId() |
static java.util.List<FunctionDefinition> |
getBaseFunctionDefinitions() |
static java.lang.String |
getPrimaryKeyName(Context storageContext,
CallerController caller,
java.lang.String storageTable) |
static java.lang.String |
makeExpression(java.lang.String field) |
public static final java.lang.String CLASS_FIELD_INSTANCE_ID
public static final java.lang.String CLASS_FIELD_AUTHOR
public static final java.lang.String CLASS_FIELD_CREATION_TIME
public static final java.lang.String CLASS_FIELD_UPDATE_TIME
public static final java.util.List<java.lang.String> NON_INHERITABLE_SYSTEM_FIELDS
public static final java.lang.String MANY_TO_MANY_FIELD_RELATION_ID
public static final java.lang.String MANY_TO_MANY_FIELD_LEFT_ID
public static final java.lang.String MANY_TO_MANY_FIELD_RIGTH_ID
public static final java.lang.String MANY_TO_MANY_TABLE_PREFIX
public static final java.lang.String PARENT_TABLE_FOREIGN_KEY_PREFIX
public static final int SORT_ASCENDING
public static final int SORT_DESCENDING
public static final int VISIBILITY_DISABLED
public static final int VISIBILITY_VISIBLE
public static final int VISIBILITY_HIDDEN
public static final java.lang.String SESSION_ID
public static final java.lang.String F_STORAGE_OPEN
public static final java.lang.String F_STORAGE_CLOSE
public static final java.lang.String F_STORAGE_GET
public static final java.lang.String F_STORAGE_GET_DISTINCT
public static final java.lang.String F_STORAGE_GET_EXTRA
public static final java.lang.String F_STORAGE_UPDATE
public static final java.lang.String F_STORAGE_DELETE
public static final java.lang.String F_STORAGE_INSERT
public static final java.lang.String F_STORAGE_VIEWS
public static final java.lang.String F_STORAGE_TABLES
public static final java.lang.String F_STORAGE_COLUMNS
public static final java.lang.String F_STORAGE_RELATIONS
public static final java.lang.String F_STORAGE_FILTER
public static final java.lang.String F_STORAGE_SORTING
public static final java.lang.String F_STORAGE_CONSTRUCT
public static final java.lang.String F_STORAGE_OPERATIONS
public static final java.lang.String F_STORAGE_CONSTRUCT_RELATION
public static final java.lang.String F_STORAGE_DELETE_RELATION
public static final java.lang.String F_STORAGE_LINK_INSTANCES
public static final java.lang.String F_STORAGE_UNLINK_INSTANCES
public static final java.lang.String F_STORAGE_LINKED_INSTANCES_FILTER
public static final java.lang.String F_STORAGE_GET_FORMAT
public static final java.lang.String F_STORAGE_OPEN_TRANSATION
public static final java.lang.String F_STORAGE_CLOSE_TRANSATION
public static final java.lang.String F_STATE_TRANSITION
public static final java.lang.String FIF_STORAGE_OPEN_ID
public static final java.lang.String FIF_STORAGE_OPEN_VIEW
public static final java.lang.String FIF_STORAGE_OPEN_QUERY
public static final java.lang.String FIF_STORAGE_OPEN_TABLE
public static final java.lang.String FIF_STORAGE_OPEN_COLUMNS
public static final java.lang.String FIF_STORAGE_OPEN_FILTER
public static final java.lang.String FIF_STORAGE_OPEN_SORTING
public static final java.lang.String FIF_STORAGE_OPEN_GET_DATA
public static final java.lang.String FIF_STORAGE_OPEN_LIMIT
public static final java.lang.String FIF_STORAGE_OPEN_SMART_FILTER_EXPRESSION
public static final java.lang.String FIF_STORAGE_OPEN_OFFSET
public static final java.lang.String FIF_STORAGE_OPEN_KEEP_RESULTSET
public static final java.lang.String FIF_STORAGE_OPEN_KEEP_SESSION_FOREVER
public static final java.lang.String FIF_STORAGE_OPEN_FOREIGN_RELATION_METADATA
public static final java.lang.String FOF_STORAGE_OPEN_ID
public static final java.lang.String FOF_STORAGE_OPEN_COUNT
public static final java.lang.String FOF_STORAGE_OPEN_DATA
public static final java.lang.String FOF_STORAGE_OPEN_PERSISTENCE_SESSION
public static final java.lang.String FIF_STORAGE_CLOSE_ID
public static final java.lang.String FIF_STORAGE_GET_ID
public static final java.lang.String FIF_STORAGE_GET_VIEW
public static final java.lang.String FIF_STORAGE_GET_FIRST
public static final java.lang.String FIF_STORAGE_GET_COUNT
public static final java.lang.String FIF_STORAGE_GET_SORTING
public static final java.lang.String FIF_STORAGE_GET_PROCESSED
public static final java.lang.String FOF_STORAGE_GET_SIZE
public static final java.lang.String FOF_STORAGE_GET_DATA
public static final java.lang.String FIF_STORAGE_UPDATE_ID
public static final java.lang.String FIF_STORAGE_UPDATE_ROW
public static final java.lang.String FIF_STORAGE_UPDATE_PK
public static final java.lang.String FIF_STORAGE_UPDATE_COLUMN
public static final java.lang.String FIF_STORAGE_UPDATE_VALUE
public static final java.lang.String FIF_STORAGE_UPDATE_TABLE
public static final java.lang.String FIF_STORAGE_UPDATE_FILTER
public static final java.lang.String FOF_STORAGE_UPDATE_COUNT
public static final java.lang.String FIF_STORAGE_DELETE_ID
public static final java.lang.String FIF_STORAGE_DELETE_ROWLIST
public static final java.lang.String FIF_STORAGE_DELETE_INSTANCE_ID_LIST
public static final java.lang.String FIF_STORAGE_DELETE_TABLE
public static final java.lang.String FIF_STORAGE_DELETE_FILTER
public static final java.lang.String FOF_STORAGE_DELETE_COUNT
public static final java.lang.String FIF_STORAGE_INSERT_ID
public static final java.lang.String FIF_STORAGE_INSERT_VALUES
public static final java.lang.String FIF_STORAGE_INSERT_TABLE
public static final java.lang.String FOF_STORAGE_INSERT_INSTANCE_ID
public static final java.lang.String FIF_STORAGE_COLUMNS_TABLE
public static final java.lang.String FIF_STORAGE_COLUMNS_COLUMNS
public static final java.lang.String FIF_STORAGE_COLUMNS_LIFE_CYCLES
public static final java.lang.String FIF_STORAGE_RELATIONS_TABLE
public static final java.lang.String FIF_STORAGE_RELATIONS_DASHBOARD_CLASS
public static final java.lang.String FIF_STORAGE_FILTER_TABLE
public static final java.lang.String FIF_STORAGE_FILTER_FILTER
public static final java.lang.String FIF_STORAGE_SORTING_TABLE
public static final java.lang.String FIF_STORAGE_SORTING_SORTING
public static final java.lang.String FIF_STORAGE_CONSTRUCT_TABLE
public static final java.lang.String FIF_STORAGE_CONSTRUCT_FIELDS
public static final java.lang.String FIF_STORAGE_CONSTRUCT_LIFE_CYCLES
public static final java.lang.String FIF_STORAGE_MANY_TO_MANY_RELATIONS
public static final java.lang.String FIF_STORAGE_INHERITED_TABLES
public static final java.lang.String FIF_STORAGE_DROP_EXISTING_COLUMNS
public static final java.lang.String FIF_STORAGE_CONSTRUCT_RELATION_TABLE
public static final java.lang.String FIF_STORAGE_CONSTRUCT_RELATION_PRIMARY_KEY_TYPE
public static final java.lang.String FIF_STORAGE_CONSTRUCT_RELATION_RELATED_TABLE
public static final java.lang.String FIF_STORAGE_CONSTRUCT_RELATION_RELATED_PRIMARY_KEY_TYPE
public static final java.lang.String FIF_STORAGE_CONSTRUCT_RELATION_NAME
public static final java.lang.String FIF_STORAGE_CONSTRUCT_RELATION_CASCADE_DELETE
public static final java.lang.String FIF_STORAGE_DELETE_RELATION_TABLE
public static final java.lang.String FIF_STORAGE_DELETE_RELATION_PRIMARY_KEY_TYPE
public static final java.lang.String FIF_STORAGE_DELETE_RELATION_RELATED_TABLE
public static final java.lang.String FIF_STORAGE_DELETE_RELATION_RELATED_PRIMARY_KEY_TYPE
public static final java.lang.String FIF_STORAGE_DELETE_RELATION_NAME
public static final java.lang.String FIF_STORAGE_OPERATIONS_TABLE
public static final java.lang.String FIF_STORAGE_OPERATIONS_COLUMN
public static final java.lang.String FIF_STORAGE_LINK_INSTANCES_TABLE
public static final java.lang.String FIF_STORAGE_LINK_INSTANCES_RELATED_TABLE
public static final java.lang.String FIF_STORAGE_LINK_INSTANCES_RELATION_NAME
public static final java.lang.String FIF_STORAGE_LINK_INSTANCES_RELATED_IDS
public static final java.lang.String FIF_STORAGE_LINK_INSTANCES_INSTANCE_ID
public static final java.lang.String FIF_STORAGE_LINK_INSTANCES_RELATED_ID
public static final java.lang.String FIF_STATE_TRANSITIONS_CLASS_CONTEXT
public static final java.lang.String FIF_STATE_TRANSITIONS_CYCLE_NAME
public static final java.lang.String FIF_STATE_TRANSITIONS_CURRENT_STATE
public static final java.lang.String FIF_STATE_TRANSITIONS_NEXT_STATE
public static final java.lang.String FIF_STATE_TRANSITIONS_INSTANCE_ID
public static final java.lang.String FIF_STATE_TRANSITIONS_SESSION_ID
public static final java.lang.String FIF_STORAGE_LINKED_INSTANCES_FILTER_INSTANCE_ID
public static final java.lang.String FIF_STORAGE_LINKED_INSTANCES_FILTER_TABLE
public static final java.lang.String FIF_STORAGE_LINKED_INSTANCES_FILTER_RELATED_TABLE
public static final java.lang.String FIF_STORAGE_LINKED_INSTANCES_FILTER_RELATION_NAME
public static final java.lang.String FIF_STORAGE_LINKED_INSTANCES_FILTER_RELATION_OWNER
public static final java.lang.String FIF_STORAGE_LINKED_INSTANCES_FILTER_GET_RELATED
public static final java.lang.String FIF_STORAGE_GET_FORMAT_TABLE
public static final java.lang.String FIF_STORAGE_GET_FORMAT_VIEW
public static final java.lang.String FIF_STORAGE_GET_DISTINCT_COLUMN
public static final java.lang.String FIF_STORAGE_GET_DISTINCT_COUNT
public static final java.lang.String FIF_STORAGE_GET_DISTINCT_FILTER_VALUE
public static final java.lang.String FIF_STORAGE_GET_DISTINCT_FILTER_TABLE
public static final java.lang.String FIF_STORAGE_GET_DISTINCT_FOREIGN_RELATION_METADATA
public static final java.lang.String FIF_STORAGE_GET_EXTRA_DATA_FIRST
public static final java.lang.String FIF_STORAGE_GET_EXTRA_DATA_COUNT
public static final java.lang.String FOF_STORAGE_GET_EXTRA_DATA_COLUMN
public static final java.lang.String FOF_STORAGE_GET_EXTRA_DATA_DATA
public static final java.lang.String FOF_STORAGE_OPEN_TRANSACTION_ID
public static final java.lang.String FIF_STORAGE_CLOSE_TRANSACTION_ID
public static final java.lang.String FIF_STORAGE_CLOSE_TRANSACTION_COMMIT
public static final java.lang.String FIELD_COLUMNS_NAME
public static final java.lang.String FIELD_COLUMNS_DESCRIPTION
public static final java.lang.String FIELD_COLUMNS_GROUP
public static final java.lang.String FIELD_COLUMNS_VISIBILITY
public static final java.lang.String FIELD_COLUMNS_READONLY
public static final java.lang.String FIELD_COLUMNS_PRIMARY_KEY
public static final java.lang.String FIELD_COLUMNS_IS_CALCULATED_FIELD
public static final java.lang.String FIELD_COLUMNS_FIELD_DATATABLE
public static final java.lang.String FIELD_COLUMNS_IS_NULLABLE_CONFIGURABLE
public static final java.lang.String FIELD_COLUMNS_NULLABLE
public static final java.lang.String FIELD_SORTING_COLUMN
public static final java.lang.String FIELD_SORTING_ORDER
public static final TableFormat FIFT_STORAGE_OPEN
public static final TableFormat FOFT_STORAGE_OPEN
public static final TableFormat FIFT_STORAGE_CLOSE
public static final TableFormat FIFT_STORAGE_GET
public static final TableFormat FOFT_STORAGE_GET
public static final TableFormat FIFT_STORAGE_GET_DISTINCT
public static final TableFormat FIFT_STORAGE_UPDATE
public static final TableFormat FOFT_STORAGE_UPDATE
public static final TableFormat FIFT_STORAGE_DELETE
public static final TableFormat FOFT_STORAGE_DELETE
public static final TableFormat FIFT_STORAGE_INSERT
public static final TableFormat FOFT_STORAGE_INSERT
public static final TableFormat FIFT_STORAGE_COLUMNS
public static final TableFormat FIFT_STORAGE_RELATIONS
public static final TableFormat FIFT_STORAGE_FILTER
public static final TableFormat FIFT_STORAGE_SORTING
public static final TableFormat FIFT_STORAGE_CONSTRUCT
public static final TableFormat FIFT_STORAGE_OPERATIONS
public static final TableFormat FIFT_STORAGE_CONSTRUCT_RELATION
public static final TableFormat FIFT_STORAGE_DELETE_RELATION
public static final TableFormat FORMAT_RELATED_IDS
public static final TableFormat FIFT_STORAGE_LINK_INSTANCES
public static final TableFormat FIFT_STORAGE_UNLINK_INSTANCES
public static final TableFormat FIFT_STORAGE_LINKED_INSTANCES_FILTER
public static final TableFormat FOFT_STORAGE_LINKED_INSTANCES_FILTER
public static final TableFormat FIFT_STORAGE_GET_FORMAT
public static final TableFormat FOFT_STORAGE_OPEN_TRANSACTION
public static final TableFormat FIFT_STORAGE_CLOSE_TRANSACTION
public static final TableFormat FORMAT_COLUMNS
public static final TableFormat FIFT_STATE_TRANSITION
public static final TableFormat FIFT_STORAGE_GET_EXTRA
public static final TableFormat TF_STORAGE_GET_EXTRA_DATA_DATA
public static final java.lang.String F_STORAGE_GET_EXTRA_DATA_SOURCE
public static final java.lang.String F_STORAGE_GET_EXTRA_DATA_VALUE
public static final TableFormat FOFT_STORAGE_GET_EXTRA
public static final TableFormat FORMAT_SORTING
public static final TableFormat FORMAT_ROWLIST
public static final TableFormat FORMAT_INSTANCE_ID_LIST
public static final TableFormat FOFT_ADD_ROW_ACTION
public static final TableFormat FOFT_REMOVE_OR_UPDATE_ROW_ACTION
public static final FunctionDefinition FD_STORAGE_OPEN
public static final FunctionDefinition FD_STORAGE_CLOSE
public static final FunctionDefinition FD_STORAGE_GET
public static final FunctionDefinition FD_STORAGE_GET_DISTINCT
public static final FunctionDefinition FD_STORAGE_GET_EXTRA
public static final FunctionDefinition FD_STORAGE_UPDATE
public static final FunctionDefinition FD_STORAGE_DELETE
public static final FunctionDefinition FD_STORAGE_INSERT
public static final FunctionDefinition FD_STORAGE_VIEWS
public static final FunctionDefinition FD_STORAGE_TABLES
public static final FunctionDefinition FD_STORAGE_COLUMNS
public static final FunctionDefinition FD_STORAGE_RELATIONS
public static final FunctionDefinition FD_STORAGE_FILTER
public static final FunctionDefinition FD_STORAGE_SORTING
public static final FunctionDefinition FD_STORAGE_CONSTRUCT
public static final FunctionDefinition FD_STORAGE_OPERATIONS
public static final FunctionDefinition FD_STORAGE_CONSTRUCT_RELATION
public static final FunctionDefinition FD_STORAGE_DELETE_RELATION
public static final FunctionDefinition FD_STORAGE_LINK_INSTANCES
public static final FunctionDefinition FD_STORAGE_UNLINK_INSTANCES
public static final FunctionDefinition FD_STORAGE_LINKED_INSTANCES_FILTER
public static final FunctionDefinition FD_STORAGE_GET_FORMAT
public static final FunctionDefinition FD_STORAGE_OPEN_TRANSACTION
public static final FunctionDefinition FD_STORAGE_CLOSE_TRANSACTION
public static final FunctionDefinition FD_STATE_TRANSITION
public static final java.lang.String E_CLASS_INSTANCE_CREATED
public static final java.lang.String E_CLASS_INSTANCE_CHANGED
public static final java.lang.String E_CLASS_INSTANCE_DELETED
public static final java.lang.String E_CLASS_INSTANCE_COMMENTED
public static final java.lang.String FIELD_EVENT_INSTANCE_ID
public static final java.lang.String FIELD_EVENT_INSTANCE_DESCRIPTION
public static final java.lang.String FIELD_EVENT_INSTANCE
public static final java.lang.String FIELD_EVENT_FIELD_NAME
public static final java.lang.String FIELD_EVENT_FIELD_DESCRIPTION
public static final java.lang.String FIELD_EVENT_OLD_VALUE
public static final java.lang.String FIELD_EVENT_NEW_VALUE
public static final java.lang.String FIELD_EVENT_MODIFICATION_AUTHOR
public static final java.lang.String FIELD_EVENT_AUTHOR
public static final java.lang.String FIELD_EVENT_COMMENT
public static final java.lang.String KEY_EVENT_INSTANCE_ID
public static final java.lang.String KEY_EVENT_CLASS_NAME
public static final TableFormat EFT_CLASS_INSTANCE_CREATED
public static final TableFormat EFT_CLASS_INSTANCE_DELETED
public static final TableFormat EFT_CLASS_INSTANCE_CHANGED
public static final TableFormat EFT_CLASS_INSTANCE_COMMENT
public static java.util.List<FunctionDefinition> getBaseFunctionDefinitions()
public static long generateViewSessionId()
public static java.lang.String makeExpression(java.lang.String field)
public static java.lang.String getPrimaryKeyName(Context storageContext, CallerController caller, java.lang.String storageTable)