package com.tibbo.aggregate.common.server;

public interface ClassContextConstants
{
  String MANY_TO_MANY_RELATION_LEFT = "L";
  String MANY_TO_MANY_RELATION_RIGHT = "R";
  String SUBCLASSES = "subclasses";

  String V_FIELDS = "fields";
  String V_BINDINGS = "bindings";
  String V_MANY_TO_MANY_RELATIONS = "manyToManyRelations";
  String V_VIEWS = "views";
  String V_PERMISSIONS = "permissions";
  String V_LIFECYCLES = "lifecycles";
  
  String F_LIFE_CYCLES = "lifeCycles";
  String F_TRANSITIONS = "transitions";
  String F_CURRENT_TRANSITIONS = "currentTransitions";
  String F_PROCESS_BINDINGS = "processBindings";
  String F_UPDATE_VIEW_BINDINGS = "updateViewBindings";
  String F_EXECUTE_TRANSACTION = "executeTransaction";
  String F_PERMISSION_FIELDS = "permissionFields";
  String F_PREPARE_FILTER = "prepareFilter";
  String F_NAMING_EXPRESSION = "namingExpression";


  String A_STATE_TRANSITION = "stateTransition";
  
  String VF_FIELDS_PRIMARY_KEY = "primaryKey";
  String VF_FIELDS_FIELD_PARENT_CLASS = "fieldParentClass";
  String VF_FIELDS_LENGTH = "length";
  
  String VF_MANY_TO_MANY_RELATIONS_NAME = "name";
  String VF_MANY_TO_MANY_RELATIONS_DESCRIPTION = "description";
  String VF_MANY_TO_MANY_RELATIONS_RELATED_CLASS = "relatedClass";
  String VF_MANY_TO_MANY_RELATIONS_CASCADE_DELETE = "cascadeDelete";
  String VF_MANY_TO_MANY_RELATIONS_ORIGIN = "origin";
  
  String VF_LIFECYCLES_NAME = "name";
  String VF_LIFECYCLES_DESCRIPTION = "description";
  String VF_LIFECYCLES_STATES = "states";
  String VF_LIFECYCLES_STATE_TRANSITIONS = "stateTransitions";
  
  String VF_LIFECYCLES_STATES_NAME = "name";
  String VF_LIFECYCLES_STATES_DESCRIPTION = "description";
  String VF_LIFECYCLES_STATES_ENTRANCE_CONDITION = "entranceCondition";
  String VF_LIFECYCLES_STATES_EXIT_CONDITION = "exitCondition";
  String VF_LIFECYCLES_STATES_ENTRANCE_BINDINGS = "entranceBindings";
  String VF_LIFECYCLES_STATES_EXIT_BINDINGS = "exitBindings";
  
  String VF_LIFECYCLES_STATES_FILL_SETTING_FIELD_NAME = "fieldName";
  String VF_LIFECYCLES_STATES_FILL_SETTING_ON_EXIT = "fillOnExit";
  String VF_LIFECYCLES_STATES_FILL_SETTING_ON_ENTRANCE = "fillOnEntrance";
  
  String VF_LIFECYCLES_STATES_BINDING_TARGET = "target";
  String VF_LIFECYCLES_STATES_BINDING_EXPRESSION = "expression";
  
  String VF_LIFECYCLES_STATES_FILL_SETTINGS = "fillSettings";
  
  String VF_VIEWS_NAME = "name";
  String VF_VIEWS_DESCRIPTION = "description";
  String VF_VIEWS_FIELDS = "fields";
  String VF_VIEWS_RELATIONS = "relations";
  String VF_VIEWS_FILTER = "filter";
  String VF_VIEWS_SORTING = "sorting";
  String VF_VIEWS_BINDINGS = "bindings";
  
  String VF_PERMISSION_USERS = "userContextMask";
  String VF_PERMISSION_FIELDS = "fields";
  String VF_PERMISSION_INSTANCES = "instancesFilter";

  String VF_PERMISSION_WRITE = "write";
  String VF_PERMISSION_READ = "read";

  String VF_FIELD_INHERITED_TABLE_NAME = "inheritedTableName";
  String FIF_LIFE_CYCLES_CLASS_NAME = "className";
  String FIF_LIFE_CYCLES_OLD_VALUE = "oldValue";

  String FIF_TRANSITIONS_STATE = "state";
  String FIF_TRANSITIONS_OLD_VALUE = "oldValue";

  String FIF_CURRENT_TRANSITIONS_CLASS_NAME = "className";
  String FIF_CURRENT_TRANSITIONS_CYCLE_NAME = "cycleName";
  String FIF_CURRENT_TRANSITIONS_DATA = "data";
  String FIF_CURRENT_TRANSITIONS_DASHBOARD_CONTEXT = "dashboardContext";
  String FIF_CURRENT_TRANSITIONS_INSTANCE_ID = "instanceId";

  String FIF_PROCESS_BINGINGS_FILTER = "filter";

  String FIF_UPDATE_VIEW_BINDINGS_BINDINGS = "bindings";
  String FIF_UPDATE_VIEW_BINDINGS_VIEW_COLUMNS = "viewColumns";

  String FIF_EXECUTE_TRANSACTION_TRANSACTION = "transaction";
  String FIF_EXECUTE_TRANSACTION_ON_SUCCESS = "onSuccess";
  String FIF_EXECUTE_TRANSACTION_ON_FAILURE = "onFailure";

  String FOF_CREATE_TABLE_STATE_TRANSITIONS_STATE_NAME = "stateName";

  String FIELD_TRANSACTION_FORMAT_CONTEXT = "context";
  String FIELD_TRANSACTION_FORMAT_FUNCTION = "function";
  String FIELD_TRANSACTION_FORMAT_PARAMETERS = "parameters";

}
