com.matrixone.apps.domain.util
Class FrameworkUtil

java.lang.Object
  |
  +--com.matrixone.apps.domain.util.FrameworkUtil
All Implemented Interfaces:
DomainConstants

public class FrameworkUtil
extends java.lang.Object
implements DomainConstants

The FrameworkUtil class implements utility methods used by other classes in the AEF.


Fields inherited from interface com.matrixone.apps.domain.DomainConstants
ALT_AVAILABLE, ATTRIBUTE_ABATEMENT_PLAN, ATTRIBUTE_ACCESS_TYPE, ATTRIBUTE_ACTUAL_COMPLETION_DATE, ATTRIBUTE_ACTUAL_END_DATE, ATTRIBUTE_ACTUAL_START_DATE, ATTRIBUTE_ALLOW_DELEGATION, ATTRIBUTE_ALLOW_ROLE_EDIT, ATTRIBUTE_ALLOW_USER_EDIT, ATTRIBUTE_ANNUAL_QUANTITY, ATTRIBUTE_APPROVAL_STATUS, ATTRIBUTE_APPROVERS_RESPONSIBILITY, ATTRIBUTE_ASSIGNEE_ROLE, ATTRIBUTE_ASSIGNEE_SET_DUEDATE, ATTRIBUTE_ATTRIBUTE_FILTER, ATTRIBUTE_ATTRIBUTE_GROUP_TYPE, ATTRIBUTE_AWARD_STATUS, ATTRIBUTE_BASELINE_CURRENT_END_DATE, ATTRIBUTE_BASELINE_CURRENT_START_DATE, ATTRIBUTE_BASELINE_INITIAL_END_DATE, ATTRIBUTE_BASELINE_INITIAL_START_DATE, ATTRIBUTE_BUSINESS_BENEFIT, ATTRIBUTE_CHECKIN_REASON, ATTRIBUTE_CITY, ATTRIBUTE_CO_OWNER, ATTRIBUTE_COMMENTS, ATTRIBUTE_COMPANY_ATTRIBUTES, ATTRIBUTE_COMPANY_BUYER_ATTRIBUTES, ATTRIBUTE_COMPANY_SUPPLIER_ATTRIBUTES, ATTRIBUTE_COMPONENT_LOCATION, ATTRIBUTE_CONFERENCE_ACCESS_CODE, ATTRIBUTE_CONFERENCE_CALL_NUMBER, ATTRIBUTE_CONSTRAINT_DATE, ATTRIBUTE_CONSTRAINTS, ATTRIBUTE_CONTAINER_COST, ATTRIBUTE_COUNT, ATTRIBUTE_COUNTRY, ATTRIBUTE_CREATE_FOLDER, ATTRIBUTE_CREATE_ROUTE, ATTRIBUTE_CURRENCY, ATTRIBUTE_DATE_OFFSET_FROM, ATTRIBUTE_DAY_DELTA, ATTRIBUTE_DEFAULT_SELECTION, ATTRIBUTE_DEFECT_DEFINITION, ATTRIBUTE_DEPENDENCY_TYPE, ATTRIBUTE_DESCRIPTION, ATTRIBUTE_DESCRIPTION_OF_CHANGE, ATTRIBUTE_DESIGNATED_USER, ATTRIBUTE_DETAILS_CHOICES, ATTRIBUTE_DETAILS_MULTILINE, ATTRIBUTE_DETAILS_NAME, ATTRIBUTE_DETAILS_TYPE, ATTRIBUTE_DETAILS_VALUE, ATTRIBUTE_DISPOSITION_FIELD_RETURN, ATTRIBUTE_DISPOSITION_IN_FIELD, ATTRIBUTE_DISPOSITION_IN_PROCESS, ATTRIBUTE_DISPOSITION_IN_STOCK, ATTRIBUTE_DISPOSITION_ON_ORDER, ATTRIBUTE_DPMO, ATTRIBUTE_DPU, ATTRIBUTE_DUEDATE_OFFSET, ATTRIBUTE_EBOMID, ATTRIBUTE_EFFECTIVE_DATE, ATTRIBUTE_EFFECTIVITY_DATE, ATTRIBUTE_EMAIL_ADDRESS, ATTRIBUTE_END_EFFECTIVITY, ATTRIBUTE_END_EFFECTIVITY_DATE, ATTRIBUTE_ENTERED_NAME, ATTRIBUTE_ESCALATION_DATE, ATTRIBUTE_ESCALATION_RECIPIENTS, ATTRIBUTE_ESTIMATED_END_DATE, ATTRIBUTE_ESTIMATED_START_DATE, ATTRIBUTE_EVENT_TYPE, ATTRIBUTE_EXTEND_UNIT_PRICE_FORMULA, ATTRIBUTE_FIELD_RETURN, ATTRIBUTE_FILE_STORE_SYMBOLIC_NAME, ATTRIBUTE_FILE_VERSION, ATTRIBUTE_FIND_NUMBER, ATTRIBUTE_FIRST_NAME, ATTRIBUTE_FOLDER_ACCESS, ATTRIBUTE_GENERAL_DESCRIPTION_OF_CHANGE, ATTRIBUTE_GLOBAL_READ, ATTRIBUTE_GOAL, ATTRIBUTE_HOST_MEETINGS, ATTRIBUTE_HOURS_DELTA, ATTRIBUTE_IN_FIELD, ATTRIBUTE_IN_PROCESS, ATTRIBUTE_IN_STOCK, ATTRIBUTE_LANGUAGE, ATTRIBUTE_LAST_NAME, ATTRIBUTE_LEAD_TIME_PRODUCTION, ATTRIBUTE_LEAD_TIME_PROTOTYPE, ATTRIBUTE_LEAD_TIME_TOOLING, ATTRIBUTE_LINE_ITEM_ROLLUP_CALCULATION_FORMULAS, ATTRIBUTE_LINE_ITEM_ROLLUP_FORMULAS, ATTRIBUTE_LINE_ITEM_TEMPLATE_SCOPE, ATTRIBUTE_LINK_URL, ATTRIBUTE_LOCATION_PREFERENCE, ATTRIBUTE_LOCATION_STATUS, ATTRIBUTE_LOWER_SPEC_LIMIT, ATTRIBUTE_MEAN, ATTRIBUTE_MEASURE_OF_SUCCESS, ATTRIBUTE_MEETING_ATTENDEE, ATTRIBUTE_MEETING_DURATION, ATTRIBUTE_MEETING_INSTRUCTIONS, ATTRIBUTE_MEETING_KEY, ATTRIBUTE_MEETING_LOCATION, ATTRIBUTE_MEETING_OWNER, ATTRIBUTE_MEETING_PROVIDER, ATTRIBUTE_MEETING_START_DATETIME, ATTRIBUTE_MEETING_STARTDATETIME, ATTRIBUTE_METRIC_SOURCE, ATTRIBUTE_NO_BID_REASON, ATTRIBUTE_NOTES, ATTRIBUTE_ON_ORDER, ATTRIBUTE_OPERATIONAL_DEFINITION, ATTRIBUTE_OPPORTUNITY, ATTRIBUTE_ORIGINATOR, ATTRIBUTE_OUT_OF_BOUNDS, ATTRIBUTE_PART_FAMILY_BASE_NUMBER, ATTRIBUTE_PART_FAMILY_LAST_USED_SEQUENCE, ATTRIBUTE_PART_FAMILY_NAME_GENERATOR_ON, ATTRIBUTE_PART_FAMILY_PATTERN_SEPARATOR, ATTRIBUTE_PART_FAMILY_PREFIX_PATTERN, ATTRIBUTE_PART_FAMILY_SEQUENCE_PATTERN, ATTRIBUTE_PART_FAMILY_SUFFIX_PATTERN, ATTRIBUTE_PERCENT_COMPLETE, ATTRIBUTE_PERCENTAGE, ATTRIBUTE_POSTAL_CODE, ATTRIBUTE_PRIMARY_KEY, ATTRIBUTE_PROBLEM_STATEMENT, ATTRIBUTE_PRODUCTION_MAKE_BUY_CODE, ATTRIBUTE_PRODUCTION_PURPOSE, ATTRIBUTE_PROJECT_ACCESS, ATTRIBUTE_PROJECT_FUNCTION, ATTRIBUTE_PROJECT_LEAD, ATTRIBUTE_PROJECT_NAME, ATTRIBUTE_PROJECT_ROLE, ATTRIBUTE_PROJECT_TYPE, ATTRIBUTE_PROJECT_VISIBILITY, ATTRIBUTE_QUALITY_TYPE, ATTRIBUTE_QUANTITY, ATTRIBUTE_QUOTATION_ATTRIBUTE_FILTER, ATTRIBUTE_QUOTATION_HEADER_ROLLUP_CALCULATION_FORMULAS, ATTRIBUTE_QUOTATION_HEADER_ROLLUP_FORMULAS, ATTRIBUTE_QUOTATION_RESPONSE_REVIEW, ATTRIBUTE_QUOTE_REQUESTED_BY_DATE, ATTRIBUTE_REASON_FOR_CHANGE, ATTRIBUTE_RECEIVING_PLANT, ATTRIBUTE_RECIPIENT, ATTRIBUTE_RECURRENCE_INTERVAL, ATTRIBUTE_REFERENCE_DESIGNATOR, ATTRIBUTE_REQUIRED_AVAILABILITY, ATTRIBUTE_RESTRICT_MEMBERS, ATTRIBUTE_REVIEW_TASK, ATTRIBUTE_RISK_CATEGORY, ATTRIBUTE_RISK_FACTOR, ATTRIBUTE_RISK_IMPACT, ATTRIBUTE_RISK_PROBABILITY, ATTRIBUTE_RISK_RPN_VALUE, ATTRIBUTE_RISK_TYPE, ATTRIBUTE_RISK_VISIBILITY, ATTRIBUTE_ROUTE_ACTION, ATTRIBUTE_ROUTE_BASE_POLICY, ATTRIBUTE_ROUTE_BASE_PURPOSE, ATTRIBUTE_ROUTE_BASE_STATE, ATTRIBUTE_ROUTE_BASEPOLICY, ATTRIBUTE_ROUTE_BASESTATE, ATTRIBUTE_ROUTE_INSTRUCTIONS, ATTRIBUTE_ROUTE_NODE_ID, ATTRIBUTE_ROUTE_SEQUENCE, ATTRIBUTE_ROUTE_STATUS, ATTRIBUTE_ROUTE_TASK_USER, ATTRIBUTE_ROUTE_TASK_USER_COMPANY, ATTRIBUTE_SCHEDULE_DURATION_UNITS, ATTRIBUTE_SCHEDULED_COMPLETION_DATE, ATTRIBUTE_SCOPE, ATTRIBUTE_SECONDARY_KEYS, ATTRIBUTE_SECONDARY_VAULTS, ATTRIBUTE_SEND_REMINDER, ATTRIBUTE_SEQUENCE_ORDER, ATTRIBUTE_SERVICE_MAKE_BUY_CODE, ATTRIBUTE_SHARE_TYPES, ATTRIBUTE_SIGMA, ATTRIBUTE_SIGMA_CURRENT, ATTRIBUTE_SOURCING_PRODUCT, ATTRIBUTE_SOURCING_SPARES, ATTRIBUTE_STABILITY_FACTOR, ATTRIBUTE_STANDARD_DEVIATION, ATTRIBUTE_START_EFFECTIVITY, ATTRIBUTE_START_EFFECTIVITY_DATE, ATTRIBUTE_STATE_REGION, ATTRIBUTE_STATUS, ATTRIBUTE_SUBJECT, ATTRIBUTE_SUBROUTE_VISIBILITY, ATTRIBUTE_SUPPLIER_RESPONSE, ATTRIBUTE_SUSPEND_VERSIONING, ATTRIBUTE_TASK_ACTUAL_DURATION, ATTRIBUTE_TASK_ACTUAL_FINISH_DATE, ATTRIBUTE_TASK_ACTUAL_START_DATE, ATTRIBUTE_TASK_ESTIMATED_DURATION, ATTRIBUTE_TASK_ESTIMATED_FINISH_DATE, ATTRIBUTE_TASK_ESTIMATED_START_DATE, ATTRIBUTE_TASK_REQUIREMENT, ATTRIBUTE_TASK_TRANSFER, ATTRIBUTE_TASKEDIT_SETTING, ATTRIBUTE_TEMPLATE_TASK, ATTRIBUTE_TITLE, ATTRIBUTE_TOOLING_COST, ATTRIBUTE_UDA_NAME, ATTRIBUTE_UNIT_OF_MEASURE, ATTRIBUTE_UNIT_PRICE, ATTRIBUTE_UNIT_PRICE_CALCULATION_FORMULA, ATTRIBUTE_UNIT_PRICE_FORMULA, ATTRIBUTE_UPPER_SPEC_LIMIT, ATTRIBUTE_USAGE, ATTRIBUTE_USER_SYMBOLIC_NAME, ATTRIBUTE_VALUE_REAL, ATTRIBUTE_VALUE_STRING, ATTRIBUTE_VAULT_ACCESS, ATTRIBUTE_VERSION, ATTRIBUTE_VERSION_DATE, ATTRIBUTE_WHERE_USED_COMPONENT_REFERENCE, CLASS_NAME_MAP_FILE, DOCUMENT, DOMAIN_DELIMITER, EMPTY_STRING, EMPTY_STRINGLIST, ENGINEERING, fAdded1, fAdded2, fAdded3, fAdded4, fAdded5, fAdded6, fAdded7, FORMAT_GENERIC, FRAMEWORK_PROPERTIES_FILENAME, KEY_COMMENTS, KEY_FILENAME, KEY_FORMAT, KEY_LEVEL, KEY_RELATIONSHIP, KEY_ROUTE_CNT, KEY_ROUTE_OWNER, KEY_ROUTES, KEY_SIGNATURE, KEY_SIGNER, KEY_STATUS, KEY_TASK_ASSIGNEE, KEY_WORKSPACE_LEADS, MULTI_VALUE_LIST, PERSON_ROUTE_DELEGATION_GRANTOR, PERSON_WORKSPACE_ACCESS_GRANTOR, POLICY_APPLICATION_PART, POLICY_ATTRIBUTE_GROUP, POLICY_BASELINE_LOG, POLICY_BUSINESS_GOAL, POLICY_BUYER_DESK, POLICY_CADDRAWING, POLICY_CADMODEL, POLICY_DELIVERABLE, POLICY_DEVELOPMENT_PART, POLICY_DIRECTED_SUPPLIER, POLICY_DOCUMENT, POLICY_DRAWINGPRINT, POLICY_EC_PART, POLICY_ECO_STANDARD, POLICY_ECR_REJECTED, POLICY_ECR_STANDARD, POLICY_ECR_SUPPORTING_DOCUMENT, POLICY_HOLDER, POLICY_INBOX_TASK, POLICY_LINE_ITEM, POLICY_LINE_ITEM_TEMPLATE, POLICY_LOCATION, POLICY_LOCATION_EQUIVALENT, POLICY_MANUFACTURER_EQUIVALENT, POLICY_MARKUP, POLICY_MEETING, POLICY_MESSAGE, POLICY_ORGANIZATION, POLICY_ORGANIZATION_LIST, POLICY_PACKAGE, POLICY_PART, POLICY_PART_QUALITY_PLAN, POLICY_PART_QUALITY_PLAN_TEMPLATE, POLICY_PERSON, POLICY_PLANT_SCORECARD, POLICY_PRODUCTION, POLICY_PRODUCTLINE, POLICY_PROGRAM, POLICY_PROJECT, POLICY_PROJECT_ACCESS_LIST, POLICY_PROJECT_CONCEPT, POLICY_PROJECT_MEMBER, POLICY_PROJECT_SPACE, POLICY_PROJECT_TASK, POLICY_PROJECT_TEMPLATE, POLICY_PROJECT_VAULT, POLICY_PURCHASE_CLASS, POLICY_PURCHASE_CLASS_SCORECARD, POLICY_QUALITY, POLICY_QUALITY_METRIC, POLICY_QUESTION, POLICY_REGION, POLICY_REQUEST_TO_SUPPLIER, POLICY_RISK, POLICY_ROUTE, POLICY_ROUTE_TASK_USER, POLICY_ROUTE_TEMPLATE, POLICY_RPN, POLICY_RTS_CANCELLED, POLICY_RTS_HISTORY_VERSION, POLICY_RTS_PENDING_VERSION, POLICY_RTS_QUOTATION, POLICY_RTS_TEMPLATE, POLICY_SOURCING_ECR, POLICY_SOURCING_TEMPLATE_OBSOLETE, POLICY_SUPPLIER, POLICY_SUPPLIER_LINE_ITEM, POLICY_SUPPLIER_LINE_ITEM_PRICE_PERIOD, POLICY_SUPPLIER_SCORECARD, POLICY_SUSPENDED, POLICY_TEMPLATE_WORKSPACE_VAULT, POLICY_THREAD, POLICY_UDA, POLICY_URL, POLICY_VERSION_DOCUMENT, POLICY_WORKSPACE_TEMPLATE, POLICY_WORKSPACE_VAULT, PREFIX_DIRECTED_SUPPLIER, PROGRAM, QUERY_WILDCARD, RELATIONSHIP_ALLOCATION_RESPONSIBILITY, RELATIONSHIP_ALTERNATE, RELATIONSHIP_APPLICATION_PART, RELATIONSHIP_ARCHIVE, RELATIONSHIP_ASSIGNED_BUYER, RELATIONSHIP_ASSIGNED_MEETINGS, RELATIONSHIP_ASSIGNED_TASKS, RELATIONSHIP_ASSIGNED_TO_BUYERS_DESK, RELATIONSHIP_ATTRIBUTE_GROUP, RELATIONSHIP_ATTRIBUTE_GROUP_SUPPLIER, RELATIONSHIP_ATTRIBUTE_GROUP_TEMPLATE, RELATIONSHIP_AWARDED_LINE_ITEM, RELATIONSHIP_BASELINE_LOG, RELATIONSHIP_BUSINESS_GOAL, RELATIONSHIP_BUSINESS_GOAL_PROJECT_SPACE, RELATIONSHIP_BUSINESS_UNIT_EMPLOYEE, RELATIONSHIP_BUSINESS_UNIT_PROJECT, RELATIONSHIP_BUYER_DESK_BID_LIST, RELATIONSHIP_BUYS_FOR, RELATIONSHIP_CERTIFICATION, RELATIONSHIP_COLLABORATION_PARTNER, RELATIONSHIP_COMPANY_CURRENCY_CONVERSION, RELATIONSHIP_COMPANY_DEPARTMENT, RELATIONSHIP_COMPANY_ECR, RELATIONSHIP_COMPANY_PACKAGE, RELATIONSHIP_COMPANY_PROGRAM, RELATIONSHIP_COMPANY_PROJECT, RELATIONSHIP_COMPANY_PROJECT_TEMPLATES, RELATIONSHIP_COMPANY_REPRESENTATIVE, RELATIONSHIP_COMPANY_RFQ, RELATIONSHIP_COMPONENT_SUBSTITUTION, RELATIONSHIP_CONTEXT_ASSEMBLY, RELATIONSHIP_CONTEXT_ORGANIZATION, RELATIONSHIP_CURRENCY_CONVERSION_HOLDER, RELATIONSHIP_DEFAULT_LINE_ITEM_ATTRIBUTE_GROUP, RELATIONSHIP_DEFAULT_LINE_ITEM_UDA_MISCELLANEOUS, RELATIONSHIP_DEFAULT_LINE_ITEM_UDA_NON_RECURRING_COST, RELATIONSHIP_DEFAULT_LINE_ITEM_UDA_RECURRING_COST, RELATIONSHIP_DEFAULT_LINEITEM_UDA_MISCELLANEOUS, RELATIONSHIP_DEFAULT_LINEITEM_UDA_NON_RECURRING_COST, RELATIONSHIP_DEFAULT_LINEITEM_UDA_RECURRING_COST, RELATIONSHIP_DELETED_SUBTASK, RELATIONSHIP_DEPENDENCY, RELATIONSHIP_DESIGN_RESPONSIBILITY, RELATIONSHIP_DEVELOPMENT_MANAGER, RELATIONSHIP_DIRECTED_BY, RELATIONSHIP_DIRECTED_TO, RELATIONSHIP_DIVISION, RELATIONSHIP_EBOM, RELATIONSHIP_EBOM_HISTORY, RELATIONSHIP_EBOM_MARKUP, RELATIONSHIP_ECO_CHANGEREQUESTINPUT, RELATIONSHIP_ECR_HOLDER, RELATIONSHIP_ECR_MAIN_PRODUCT_AFFECTED, RELATIONSHIP_ECR_ORIGINATOR_COMPANY, RELATIONSHIP_ECR_REFERENCE, RELATIONSHIP_ECR_SUPPORTING_DOCUMENT, RELATIONSHIP_EMPLOYEE, RELATIONSHIP_EMPLOYEE_REPRESENTATIVE, RELATIONSHIP_FOLDER_DOCUMENTS, RELATIONSHIP_HISTORICAL_VERSION, RELATIONSHIP_INCLUDES_SUPPLIER_PART, RELATIONSHIP_INITIATED_TEMPLATE_PROJECT, RELATIONSHIP_INITIATING_ROUTE_TEMPLATE, RELATIONSHIP_LINE_ITEM, RELATIONSHIP_LINE_ITEM_OBJECT, RELATIONSHIP_LINE_ITEM_SPLIT, RELATIONSHIP_LINE_ITEM_SUPPLIER_EXCEPTION, RELATIONSHIP_LINK_URL, RELATIONSHIP_LOCATION_EQUIVALENT, RELATIONSHIP_MAKE_OBSOLETE, RELATIONSHIP_MANUAL_SECTION, RELATIONSHIP_MANUFACTURER_EQUIVALENT, RELATIONSHIP_MANUFACTURING_RESPONSIBILITY, RELATIONSHIP_MARKUP, RELATIONSHIP_MEETING_ATTACHMENTS, RELATIONSHIP_MEETING_CONTEXT, RELATIONSHIP_MEMBER, RELATIONSHIP_MEMBER_ROUTE, RELATIONSHIP_MEMBER_VAULT_ACCESS, RELATIONSHIP_MESSAGE, RELATIONSHIP_MESSAGE_ATTACHMENTS, RELATIONSHIP_NEW_PART_PART_REVISION, RELATIONSHIP_NEW_SPECIFICATION_REVISION, RELATIONSHIP_NEW_SPECIFICATION_SPECIFICATION_REVISION, RELATIONSHIP_OBJECT_ROUTE, RELATIONSHIP_ORGANIZATION_GOAL, RELATIONSHIP_ORGANIZATION_LIST_ITEM, RELATIONSHIP_ORGANIZATION_LOCATION, RELATIONSHIP_ORGANIZATION_PROJECT, RELATIONSHIP_ORGANIZATION_REGION, RELATIONSHIP_ORGANIZATION_RTS_TEMPLATE, RELATIONSHIP_ORGANIZATION_TEMPLATE, RELATIONSHIP_OWNING_ORGANIZATION, RELATIONSHIP_PACKAGE_HOLDER, RELATIONSHIP_PACKAGE_RTS, RELATIONSHIP_PART_FAMILY_MEMBER, RELATIONSHIP_PART_FAMILY_REFERENCE_DOCUMENT, RELATIONSHIP_PART_SPECIFICATION, RELATIONSHIP_PASS_THROUGH_LINE_ITEM, RELATIONSHIP_PASS_THROUGH_RFQ, RELATIONSHIP_PENDING_LINE_ITEM_ATTRIBUTE_GROUP, RELATIONSHIP_PENDING_VERSION, RELATIONSHIP_PLAN_DELIVERABLE, RELATIONSHIP_PLAN_FOCUS, RELATIONSHIP_PLAN_LOCATION, RELATIONSHIP_PLAN_MANAGER, RELATIONSHIP_PROGRAM_PROJECT, RELATIONSHIP_PROJECT_ACCESS_KEY, RELATIONSHIP_PROJECT_ACCESS_LIST, RELATIONSHIP_PROJECT_FOLDERS, RELATIONSHIP_PROJECT_MEMBERS, RELATIONSHIP_PROJECT_MEMBERSHIP, RELATIONSHIP_PROJECT_QUESTION, RELATIONSHIP_PROJECT_ROUTE, RELATIONSHIP_PROJECT_TASK, RELATIONSHIP_PROJECT_VAULTS, RELATIONSHIP_PUBLISH, RELATIONSHIP_PUBLISH_SUBSCRIBE, RELATIONSHIP_PURCHASE_CLASS, RELATIONSHIP_PURCHASE_CLASS_MANAGER, RELATIONSHIP_PURCHASE_CLASS_MEMBER, RELATIONSHIP_PURCHASE_SUBCLASS, RELATIONSHIP_PUSHED_SUBSCRIPTION, RELATIONSHIP_QUALITY, RELATIONSHIP_QUALITY_METRIC, RELATIONSHIP_QUALITY_PLAN_PART, RELATIONSHIP_QUESTION, RELATIONSHIP_RAISED_AGAINST_ECR, RELATIONSHIP_RATE_PERIOD, RELATIONSHIP_REFERENCE_DOCUMENT, RELATIONSHIP_REPLY, RELATIONSHIP_REQUEST_PART_OBSOLESCENCE, RELATIONSHIP_REQUEST_PART_REVISION, RELATIONSHIP_REQUEST_SPECIFICATION_REVISION, RELATIONSHIP_RFQ_HOLDER, RELATIONSHIP_RFQ_LINE_ITEM_TEMPLATE, RELATIONSHIP_RFQ_TEMPLATE_BUYER_DESK_ASSOCIATION, RELATIONSHIP_RISK, RELATIONSHIP_RISK_RPN, RELATIONSHIP_ROUTE_NODE, RELATIONSHIP_ROUTE_SCOPE, RELATIONSHIP_ROUTE_TASK, RELATIONSHIP_ROUTE_TEMPLATES, RELATIONSHIP_RTS_PART, RELATIONSHIP_RTS_QUOTATION, RELATIONSHIP_RTS_REMOVED_SUPPLIER, RELATIONSHIP_RTS_SUPPLIER, RELATIONSHIP_RTS_TEMPLATE, RELATIONSHIP_SCORE_BY, RELATIONSHIP_SCORE_FOR, RELATIONSHIP_SHIPS_TO, RELATIONSHIP_SPARE_PART, RELATIONSHIP_STANDARD_COMPONENT, RELATIONSHIP_SUB_REGION, RELATIONSHIP_SUB_VAULTS, RELATIONSHIP_SUBSCRIBED_ITEM, RELATIONSHIP_SUBSCRIBED_PERSON, RELATIONSHIP_SUBSIDIARY, RELATIONSHIP_SUBSTITUTED_COMPONENT, RELATIONSHIP_SUBTASK, RELATIONSHIP_SUBVAULTS, RELATIONSHIP_SUPPLIER, RELATIONSHIP_SUPPLIER_BUYER_LINE_ITEM, RELATIONSHIP_SUPPLIER_LINE_ITEM, RELATIONSHIP_SUPPLIER_LINE_ITEM_PRICE_PERIOD, RELATIONSHIP_SUPPLIER_PART_REQUEST, RELATIONSHIP_SUPPLIER_RESPONSE, RELATIONSHIP_SUPPLIES, RELATIONSHIP_SUPPORTED_FILE_FORMAT, RELATIONSHIP_TASK_DELIVERABLE, RELATIONSHIP_TASK_ESCALATION_MESSAGE, RELATIONSHIP_TASK_SUBROUTE, RELATIONSHIP_THREAD, RELATIONSHIP_UDA_MISCELLANEOUS, RELATIONSHIP_UDA_NON_RECURRING_COST, RELATIONSHIP_UDA_RECURRING_COST, RELATIONSHIP_VAULTED_DOCUMENTS, RELATIONSHIP_VAULTED_OBJECTS, RELATIONSHIP_VAULTED_OBJECTS_REV2, RELATIONSHIP_VERSION, RELATIONSHIP_WORKPLACE, RELATIONSHIP_WORKSPACE_BUYER_DESK, RELATIONSHIP_WORKSPACE_TEMPLATE, RELATIONSHIP_WORKSPACE_TEMPLATE_MEMBER, RELATIONSHIP_WORKSPACE_VAULTS, ROLE_BUYER, ROLE_BUYER_ADMINISTRATOR, ROLE_COMPANY_REPRESENTATIVE, ROLE_CUSTOMER, ROLE_ORGANIZATION_MANAGER, ROLE_SALES_ENGINEER, ROLE_SUPPLIER, ROLE_SUPPLIER_REPRESENTATIVE, SELECT_ALLOCATION_RESPONSIBILITY_FROM_ID, SELECT_ALLOCATION_RESPONSIBILITY_REL_ID, SELECT_ATTRIBUTE_COMPANY_ID, SELECT_ATTRIBUTE_COMPONENT_LOCATION, SELECT_ATTRIBUTE_DESCRIPTION_OF_CHANGE, SELECT_ATTRIBUTE_EBOMID, SELECT_ATTRIBUTE_FIELD_RETURN, SELECT_ATTRIBUTE_FIND_NUMBER, SELECT_ATTRIBUTE_IN_FIELD, SELECT_ATTRIBUTE_IN_PROCESS, SELECT_ATTRIBUTE_IN_STOCK, SELECT_ATTRIBUTE_NAME, SELECT_ATTRIBUTE_ON_ORDER, SELECT_ATTRIBUTE_QUANTITY, SELECT_ATTRIBUTE_REFERENCE_DESIGNATOR, SELECT_ATTRIBUTE_STATUS, SELECT_ATTRIBUTE_SYMBOLIC_NAME, SELECT_ATTRIBUTE_UNITOFMEASURE, SELECT_ATTRIBUTE_USAGE, SELECT_ATTRIBUTE_WHERE_USED_COMPONENT_REFERENCE, SELECT_COMPANY_ID, SELECT_COMPANY_STORE, SELECT_COMPONENT_SUBSTITUTION_DESCRIPTION, SELECT_COMPONENT_SUBSTITUTION_ID, SELECT_COMPONENT_SUBSTITUTION_NAME, SELECT_COMPONENT_SUBSTITUTION_REL_ID, SELECT_COMPONENT_SUBSTITUTION_REVISION, SELECT_COMPONENT_SUBSTITUTION_TYPE, SELECT_CURRENT, SELECT_CURTYPE, SELECT_DESCRIPTION, SELECT_EBOM_QUANTITY, SELECT_EFFECTIVITY_DATE, SELECT_EFFECTIVITY_FROM_DATE, SELECT_EFFECTIVITY_TO_DATE, SELECT_ENTERPRISE_ID, SELECT_ENTERPRISE_NAME, SELECT_ENTERPRISE_REVISION, SELECT_ENTERPRISE_TYPE, SELECT_EXISTS, SELECT_FILE_FORMAT, SELECT_FILE_NAME, SELECT_FILE_SIZE, SELECT_FIND_NUMBER, SELECT_FORMAT_HASFILE, SELECT_FROM_ID, SELECT_FROM_NAME, SELECT_FROM_REVISION, SELECT_FROM_TYPE, SELECT_FUTURE_CURTYPE, SELECT_FUTURE_EFFECTIVITY_FROM_DATE, SELECT_FUTURE_EFFECTIVITY_TO_DATE, SELECT_FUTURE_ID, SELECT_FUTURE_NAME, SELECT_FUTURE_REVISION, SELECT_FUTURE_TYPE, SELECT_GRANTEE, SELECT_GRANTEEACCESS, SELECT_GRANTOR, SELECT_ID, SELECT_LAST_ID, SELECT_LEVEL, SELECT_LOCATION_EQUIVALENT_TO_ID, SELECT_LOCKED, SELECT_LOCKER, SELECT_MANUFACTURER_EQUIVALENT_NAME, SELECT_MANUFACTURER_EQUIVALENT_REVISION, SELECT_MANUFACTURER_EQUIVALENT_TO_ID, SELECT_MANUFACTURER_EQUIVALENT_TYPE, SELECT_MANUFACTURING_RESPONSIBILITY_FROM_ID, SELECT_MANUFACTURING_RESPONSIBILITY_ID, SELECT_MODIFIED, SELECT_NAME, SELECT_NEW_PART_PART_REVISION_STATE, SELECT_ORIGINATED, SELECT_ORIGINATOR, SELECT_OWNER, SELECT_OWNER_ISGROUP, SELECT_OWNER_ISPERSON, SELECT_OWNER_ISROLE, SELECT_POLICY, SELECT_PRIMARY_KEY, SELECT_REL_ALTERNATE_ID, SELECT_REL_EBOM_FROM, SELECT_REL_EBOM_FROM_ID, SELECT_REL_EBOMMARKUP_ID, SELECT_REL_EBOMMARKUP_NAME, SELECT_REL_EBOMMARKUP_REV, SELECT_RELATIONSHIP_ALLOCATION_RESPONSIBILITY_FROM_ID, SELECT_RELATIONSHIP_ALLOCATION_RESPONSIBILITY_FROM_NAME, SELECT_RELATIONSHIP_ALLOCATION_RESPONSIBILITY_FROM_REVISION, SELECT_RELATIONSHIP_ALLOCATION_RESPONSIBILITY_FROM_TYPE, SELECT_RELATIONSHIP_ALLOCATION_RESPONSIBILITY_TO_ID, SELECT_RELATIONSHIP_ALLOCATION_RESPONSIBILITY_TO_NAME, SELECT_RELATIONSHIP_ALLOCATION_RESPONSIBILITY_TO_REVISION, SELECT_RELATIONSHIP_ALLOCATION_RESPONSIBILITY_TO_TYPE, SELECT_RELATIONSHIP_APPLICATION_PART_FROM_ID, SELECT_RELATIONSHIP_APPLICATION_PART_FROM_NAME, SELECT_RELATIONSHIP_APPLICATION_PART_FROM_REVISION, SELECT_RELATIONSHIP_APPLICATION_PART_FROM_TYPE, SELECT_RELATIONSHIP_APPLICATION_PART_TO_ID, SELECT_RELATIONSHIP_APPLICATION_PART_TO_NAME, SELECT_RELATIONSHIP_APPLICATION_PART_TO_REVISION, SELECT_RELATIONSHIP_APPLICATION_PART_TO_TYPE, SELECT_RELATIONSHIP_CONTEXT_ASSEMBLY_FROM_ID, SELECT_RELATIONSHIP_DESIGN_REPSONSIBILITY_STATUS, SELECT_RELATIONSHIP_DESIGN_RESPONSIBILITY_FROM_NAME, SELECT_RELATIONSHIP_ID, SELECT_RELATIONSHIP_LOCATION_EQUIVALENT_FROM_ID, SELECT_RELATIONSHIP_LOCATION_EQUIVALENT_FROM_NAME, SELECT_RELATIONSHIP_LOCATION_EQUIVALENT_FROM_REVISION, SELECT_RELATIONSHIP_LOCATION_EQUIVALENT_FROM_TYPE, SELECT_RELATIONSHIP_LOCATION_EQUIVALENT_TO_ID, SELECT_RELATIONSHIP_LOCATION_EQUIVALENT_TO_NAME, SELECT_RELATIONSHIP_LOCATION_EQUIVALENT_TO_REVISION, SELECT_RELATIONSHIP_LOCATION_EQUIVALENT_TO_TYPE, SELECT_RELATIONSHIP_MANUFACTURER_EQUIVALENT_FROM_ID, SELECT_RELATIONSHIP_MANUFACTURER_EQUIVALENT_FROM_NAME, SELECT_RELATIONSHIP_MANUFACTURER_EQUIVALENT_FROM_REV, SELECT_RELATIONSHIP_MANUFACTURER_EQUIVALENT_FROM_TYPE, SELECT_RELATIONSHIP_MANUFACTURER_EQUIVALENT_TO_ID, SELECT_RELATIONSHIP_MANUFACTURER_EQUIVALENT_TO_NAME, SELECT_RELATIONSHIP_MANUFACTURER_EQUIVALENT_TO_REVISION, SELECT_RELATIONSHIP_MANUFACTURER_EQUIVALENT_TO_TYPE, SELECT_RELATIONSHIP_NAME, SELECT_RELATIONSHIP_TYPE, SELECT_REQUEST_PART_REVISION_STATE, SELECT_REVISION, SELECT_SECONDARY_KEYS, SELECT_SECONDARY_VAULTS, SELECT_SHARE_TYPES, SELECT_STANDARD_COMPONENT_DESCRIPTION, SELECT_STANDARD_COMPONENT_EBOM_ID, SELECT_STANDARD_COMPONENT_ID, SELECT_STANDARD_COMPONENT_NAME, SELECT_STANDARD_COMPONENT_REL_ID, SELECT_STANDARD_COMPONENT_REVISION, SELECT_STANDARD_COMPONENT_STATE, SELECT_STANDARD_COMPONENT_TYPE, SELECT_STATES, SELECT_STATUS, SELECT_SUBSTITUTE_ATTRIBUTE_FIND_NUMBER, SELECT_SUBSTITUTE_ATTRIBUTE_QUANTITY, SELECT_SUBSTITUTE_ATTRIBUTE_REFERENCE_DESIGNATOR, SELECT_SUBSTITUTED_COMPONENT_DESCRIPTION, SELECT_SUBSTITUTED_COMPONENT_ID, SELECT_SUBSTITUTED_COMPONENT_NAME, SELECT_SUBSTITUTED_COMPONENT_REL_ID, SELECT_SUBSTITUTED_COMPONENT_REVISION, SELECT_SUBSTITUTED_COMPONENT_SUB_ID, SELECT_SUBSTITUTED_COMPONENT_TYPE, SELECT_TO_ID, SELECT_TO_NAME, SELECT_TO_REVISION, SELECT_TO_TYPE, SELECT_TYPE, SELECT_VAULT, SOURCING, STATE_BUSINESS_GOAL_ACTIVE, STATE_BUSINESS_GOAL_COMPLETE, STATE_BUSINESS_GOAL_CREATE, STATE_CADDRAWING_REVIEW, STATE_CADMODEL_REVIEW, STATE_DEVELOPMENT_PART_CREATE, STATE_DRAWINGPRINT_REVIEW, STATE_ECOSTANDARD_RELEASE, STATE_ECR_REJECTED_REJECTED, STATE_ECR_STANDARD_COMPLETE, STATE_INBOX_TASK_COMPLETE, STATE_LINE_ITEM_TEMPLATE_ACTIVE, STATE_LINE_ITEM_TEMPLATE_INACTIVE, STATE_MESSAGE_ACTIVE, STATE_PACKAGE_COMPLETE, STATE_PACKAGE_STARTED, STATE_PART_PRELIMINARY, STATE_PART_QUALITY_PLAN_ACTIVE, STATE_PART_QUALITY_PLAN_COMPLETE, STATE_PART_QUALITY_PLAN_DRAFT, STATE_PART_QUALITY_PLAN_TEMPLATE_ACTIVE, STATE_PART_QUALITY_PLAN_TEMPLATE_INACTIVE, STATE_PART_RELEASE, STATE_PART_REVIEW, STATE_PERSON_ACTIVE, STATE_PROJECT_SPACE_COMPLETE, STATE_PROJECT_SPACE_CREATE, STATE_REQUEST_TO_SUPPLIER_COMPLETE, STATE_REQUEST_TO_SUPPLIER_FINAL_REVIEW, STATE_REQUEST_TO_SUPPLIER_INITIAL_REVIEW, STATE_REQUEST_TO_SUPPLIER_RESPONSE_COMPLETE, STATE_REQUEST_TO_SUPPLIER_SENT, STATE_REQUEST_TO_SUPPLIER_STARTED, STATE_RESPONSE_COMPLETE, STATE_ROUTE_COMPLETE, STATE_ROUTE_DEFINE, STATE_ROUTE_IN_PROCESS, STATE_ROUTE_TEMPLATE_ACTIVE, STATE_RTS_CANCELLED_CANCELLED, STATE_RTS_QUOTATION_CLOSED, STATE_RTS_QUOTATION_OPEN, STATE_RTS_QUOTATION_RETURNED, STATE_RTS_QUOTATION_REVIEW, STATE_RTS_TEMPLATE_ACTIVE, STATE_RTS_TEMPLATE_INACTIVE, STATE_SOURCING_ECR_BUYER_EVALUATION, STATE_SOURCING_ECR_CREATE, STATE_SOURCING_ECR_SUBMIT, STATE_STARTED, STATE_SUSPENDED_SUSPENDED, SUB_AVAILABLE, SUPPLIER, TEAM, TYPE_APPLICATION_PART, TYPE_ATTRIBUTE_GROUP, TYPE_BASELINE_LOG, TYPE_BENEFIT_ITEM, TYPE_BUSINESS_GOAL, TYPE_BUSINESS_UNIT, TYPE_BUYER_DESK, TYPE_CAD_DRAWING, TYPE_CAD_MODEL, TYPE_CERTIFICATION, TYPE_COMPANY, TYPE_COST_ITEM, TYPE_DEPARTMENT, TYPE_DIRECTED_SUPPLIER, TYPE_DOCUMENT, TYPE_DRAWINGPRINT, TYPE_ECO, TYPE_ECR, TYPE_EVENT, TYPE_FILE_FORMAT, TYPE_FINANCIAL_ITEM, TYPE_HOLDER, TYPE_INBOX_TASK, TYPE_LINE_ITEM, TYPE_LINE_ITEM_TEMPLATE, TYPE_LOCATION, TYPE_LOCATION_EQUIVALENT_OBJECT, TYPE_MARKUP, TYPE_MEETING, TYPE_MESSAGE, TYPE_ORGANIZATION, TYPE_ORGANIZATION_LIST, TYPE_PACKAGE, TYPE_PART, TYPE_PART_FAMILY, TYPE_PART_QUALITY_PLAN, TYPE_PART_QUALITY_PLAN_TEMPLATE, TYPE_PERSON, TYPE_PLAN, TYPE_PLANT_SCORECARD, TYPE_PRODUCTLINE, TYPE_PROGRAM, TYPE_PROJECT, TYPE_PROJECT_ACCESS_LIST, TYPE_PROJECT_CONCEPT, TYPE_PROJECT_FOLDER, TYPE_PROJECT_MANAGEMENT, TYPE_PROJECT_MEMBER, TYPE_PROJECT_SPACE, TYPE_PROJECT_TEMPLATE, TYPE_PROJECT_VAULT, TYPE_PRUCHASE_CLASS_SCORECARD, TYPE_PUBLISH_SUBSCRIBE, TYPE_PURCHASE_CLASS, TYPE_QUALITY, TYPE_QUALITY_METRIC, TYPE_QUESTION, TYPE_REGION, TYPE_REQUEST_TO_SUPPLIER, TYPE_RFQ, TYPE_RISK, TYPE_ROUTE, TYPE_ROUTE_TASK_USER, TYPE_ROUTE_TEMPLATE, TYPE_RPN, TYPE_RTS_QUOTATION, TYPE_RTS_TEMPLATE, TYPE_SKETCH, TYPE_STANDARDS_MANUAL, TYPE_SUPPLIER_DEVELOPMENT_PLAN, TYPE_SUPPLIER_LINE_ITEM, TYPE_SUPPLIER_LINE_ITEM_PRICE_PERIOD, TYPE_SUPPLIER_SCORECARD, TYPE_TASK, TYPE_TASK_MANAGEMENT, TYPE_THREAD, TYPE_UDA, TYPE_URL, TYPE_VERSION_DOCUMENT, TYPE_WORKSPACE, TYPE_WORKSPACE_TEMPLATE, TYPE_WORKSPACE_VAULT
 
Constructor Summary
FrameworkUtil()
           
 
Method Summary
static boolean attributeHasChoicesOnly(matrix.db.Context context, java.lang.String attributeName)
          Method to determine if attribute should display a dropdown or edit field Look at all the Range values for this attribute.
static java.lang.String autoName(matrix.db.Context context, java.lang.String type, java.lang.String policy)
          Creates object and returns object ID created with Autonamer
static java.lang.String autoName(matrix.db.Context context, java.lang.String type, java.lang.String policy, boolean navigate)
          Creates object and returns object ID created with Autonamer
static java.lang.String autoName(matrix.db.Context context, java.lang.String type, java.lang.String revision, java.lang.String policy)
          Creates object and returns object ID created with Autonamer Accepts Revision as a parameter
static java.lang.String autoName(matrix.db.Context context, java.lang.String type, java.lang.String revision, java.lang.String policy, boolean navigate)
          Creates object and returns object ID created with Autonamer
static java.lang.String autoName(matrix.db.Context context, java.lang.String type, java.lang.String revision, java.lang.String policy, java.lang.String vault)
          Creates object and returns object ID created with Autonamer Accepts Vault as a parameter
static java.lang.String autoName(matrix.db.Context context, java.lang.String type, java.lang.String revision, java.lang.String policy, java.lang.String vault, boolean navigate)
          Creates object and returns object ID created with Autonamer Accepts Vault as a parameter
static java.lang.String autoName(matrix.db.Context context, java.lang.String type, java.lang.String revision, java.lang.String policy, java.lang.String vault, java.lang.String customRev)
          Creates object and returns object ID created with Autonamer Accepts Vault as a parameter
static java.lang.String autoName(matrix.db.Context context, java.lang.String type, java.lang.String revision, java.lang.String policy, java.lang.String vault, java.lang.String customRev, boolean navigate)
          Creates object and returns object ID created with Autonamer Accepts Vault as a parameter
static java.lang.String autoRevision(matrix.db.Context context, java.lang.String type, java.lang.String name, java.lang.String policy)
          Creates object and returns object ID created with Auto revision
static java.lang.String autoRevision(matrix.db.Context context, java.lang.String type, java.lang.String name, java.lang.String policy, java.lang.String vault)
          Creates object and returns object ID created with Auto revision
static java.lang.String buttonFooterURLOff(java.lang.String text, java.lang.String languageStr, java.lang.String iconName, java.lang.String suiteDir)
          Method to call "Off" Button
static java.lang.String buttonFooterURLOn(java.lang.String text, java.lang.String languageStr, java.lang.String iconName, java.lang.String suiteDir)
          Method to call "On" Button
static java.lang.String buttonGenericURL(java.lang.String text, java.lang.String languageStr, java.lang.String iconName, java.lang.String backgroundName, int width, int height)
          Method to call "IconButtonServlet" to build Button
static boolean comparePattern(java.lang.String pattern, java.lang.String string)
          Test whether a string matches a search pattern
static java.lang.String createNextRevision(matrix.db.Context context, matrix.db.BusinessObject businessObject, java.lang.String vaultName)
          Helper method to create Next Revisions Returns "New|'BusID'", "Exists|'BusID'", "Invalid| " - Based on results returned by getNextRevision()
static java.lang.String encodeHref(javax.servlet.http.HttpServletRequest request, java.lang.String strHref)
          Encodes a url to pass to a HREF.
static java.lang.String encodeURL(java.lang.String url)
          Encodes the entire URL passed in, including all parameter names, values and all ? & = and any other symbols, Spaces will be converted to +
static java.lang.String encodeURLParamValues(java.lang.String url)
          Take a url encode all the parameter values,
static java.lang.String findAndReplace(java.lang.String sourceString, java.lang.String findString, java.lang.String replaceString)
          Find and Replace the String in a string
static matrix.util.StringList getAbsUserApplications(matrix.db.Context context, java.lang.String argSuiteName)
          Gets a list of available applications in the database
static matrix.util.StringList getAbsUserFeatures(matrix.db.Context context, java.lang.String argSuite, java.lang.String argApp)
          Gets a list of available features in the database
static matrix.util.StringList getAbsUserSuites(matrix.db.Context context)
          Gets a list of available suites in the database for this user
static java.lang.String getAliasForAdmin(matrix.db.Context context, java.lang.String type, java.lang.String name, boolean useCache)
          Get the schema alias for the schema object defined by the given type and name from the cache.
static matrix.db.BusinessObjectItr getAllBusinessObjects(matrix.db.Context context, java.lang.String typePattern, java.lang.String namePattern, java.lang.String vaultName, java.lang.String queryLimit)
          This method retrieves all the Business Objects with all the revisions of all states.
static java.lang.String getAttribute(matrix.db.Context context, matrix.db.BusinessObject businessObject, java.lang.String attributeName)
          Get the requested attribute value from BusinessObject
static java.lang.String getAverage(matrix.db.Context context, java.util.Locale localeObj, matrix.util.StringList valueList)
          Get the Average value for the given input.
static java.lang.String getBaseType(matrix.db.Context context, java.lang.String sType, matrix.db.Vault vault)
          Get the Topmost Parent type
static matrix.db.BusinessObjectList getBusinessObjectRevisions(matrix.db.Context context, java.lang.String typePattern, java.lang.String namePattern, java.lang.String reqPolicyState, java.lang.String searchCriteria, java.lang.String queryLimit)
          This method retrieves all the Business Objects with all the revisions with the given state.
static matrix.db.BusinessObjectList getBusinessObjectRevisions(matrix.db.Context context, java.lang.String typePattern, java.lang.String namePattern, java.lang.String reqPolicyState, java.lang.String searchCriteria, java.lang.String vault, java.lang.String queryLimit)
          This method retrieves all the Business Objects with all the revisions with the given state.
static java.util.Vector[] getConnectionsFromObj(matrix.db.Context context, matrix.db.BusinessObject businessObject, java.lang.String sRelPattern, java.lang.String sTypePattern, boolean boolGetTo, boolean boolGetFrom, short iLevel)
          Method to get all possible connections for a Business Object for a given: rel pattern, type pattern, from/to directions and expand level Returns a row for each connection (rel) with rel id, from/to connected objects The columns appear in the following order: From Id, From Type, From Name, From Rev, Rel Id, Rel Name, To Id, To Type, To Name, To Rev which will be returned as follows: v[0].elementAt(j), v[1].elementAt(j), v[2].elementAt(j), v[3].elementAt(j), v[4].elementAt(j), v[5].elementAt(j), v[6].elementAt(j), v[7].elementAt(j), v[8].elementAt(j), v[9].elementAt(j) where 'v' is the vector array that stored the result from this helper method and 'j' represents a connection.
static matrix.db.State getCurrentState(matrix.db.Context context, matrix.db.BusinessObject businessObject)
          Get the current state for this object.
static java.lang.String getCurrentStateName(matrix.db.Context context, java.lang.String businessObjectID)
          Get the current state name for this object.
static int getCurrentStateOfBusObj(matrix.db.Context context, matrix.db.BusinessObject businessObject)
          This method retrieves the current state of the Business Object.
static java.lang.String getFirstRevision(matrix.db.Context context, java.lang.String objectId)
          Get the first revision of a businessobject
static matrix.util.StringList getGroupNames(matrix.db.Context context, boolean showHidden, boolean useCache)
          Get list of all group names
static java.util.Vector getIntersection(java.util.Vector firstVector, java.util.Vector secondVector)
          This method returns a vector of the common elements in two vectors.
static java.lang.String getLastRevision(matrix.db.Context context, java.lang.String objectId)
          Get the last revision of a businessobject
static java.lang.String getMaximum(matrix.db.Context context, java.util.Locale localeObj, matrix.util.StringList valueList)
          Get the Maximum value for the given input.
static java.lang.String getMedian(matrix.db.Context context, java.util.Locale localeObj, matrix.util.StringList valueList)
          Get the Median value for the given input.
static java.lang.String getMinimum(matrix.db.Context context, java.util.Locale localeObj, matrix.util.StringList valueList)
          Get the Minimum value for the given input.
static matrix.util.StringList getNonHiddenAttributeNames(matrix.db.Context context, boolean useCache)
          Get the names of all the non-hidden attributes in the database.
static matrix.db.BusinessObject getOrganization(matrix.db.Context context, matrix.db.BusinessObject person, java.lang.String relationshipPattern)
          Get the organization associated with this person.
static matrix.util.StringList getPersonNames(matrix.db.Context context, boolean showHidden, boolean useCache)
          Get list of all person names
static java.lang.String getPolicyClassification(matrix.db.Context context, java.lang.String policyName)
          Method to get the Policy Classification for a policy The value will be either 'Development', 'Production', or 'Other'
static matrix.util.StringList getRanges(matrix.db.Context context, java.lang.String attributeName)
          Get the possible ranges for a given attribute.
static matrix.db.BusinessTypeList getRelationshipBaseTypes(matrix.db.Context context, java.lang.String relationshipType, boolean boolFromTypes, boolean boolToTypes, matrix.db.Vault vault)
          For a given relationship it finds the highest possible level of types that can be connected by using that relationship and returns the list.
static java.lang.String getRelAttribute(matrix.db.Context context, matrix.db.Relationship relationship, java.lang.String attrName)
          Get the requested attribute value from Relationship
static matrix.util.StringList getRoleNames(matrix.db.Context context, boolean showHidden, boolean useCache)
          Get list of all role names
static matrix.db.State getSpecificState(matrix.db.Context context, matrix.db.BusinessObject busObj, java.lang.String sStateName)
          Get the state reference for this object.
static java.lang.String getSum(matrix.db.Context context, java.util.Locale localeObj, matrix.util.StringList valueList)
          Get the Sum value for the given input.
static java.util.Hashtable getSystemData(matrix.db.Context context)
          Get the System Data output
static matrix.util.StringList getTopLevelGroupNames(matrix.db.Context context, boolean showHidden, boolean useCache)
          Get list of all top level group names
static matrix.util.StringList getTopLevelRoleNames(matrix.db.Context context, boolean showHidden, boolean useCache)
          Get list of all top level role names
static java.lang.String getType(matrix.db.Context context, matrix.db.BusinessObject businessObject)
          Return the object type.
static java.lang.String getTypeRegistrationName(matrix.db.Context context, java.lang.String typeName, javax.servlet.ServletContext application)
          Get the registration name for a type.
static java.lang.String getTypeRegistrationName(matrix.db.Context context, java.lang.String regularName, javax.servlet.ServletContext application, java.lang.String lookupGroupName)
          Method is overloaded to handle different registration names other than "type_" For example "policy_ECRRejected" returns "ECR Rejected".
static matrix.util.StringList getVaultNames(matrix.db.Context context, boolean showHidden, boolean useCache)
          Get list of all vault names
static boolean hasAccess(matrix.db.Context context, matrix.db.BusinessObject busObj, java.lang.String access)
          Test whether the business object has the access rights for the specified Access and CurrentState.
static boolean hasAccess(matrix.db.Context context, matrix.db.BusinessObject busObj, matrix.util.StringList access)
          Test whether the business object has the access rights for the specified Access and CurrentState.
static boolean hasAccessForState(matrix.db.Context context, matrix.db.BusinessObject busObj, matrix.db.State state, java.lang.String access)
          Test whether the business object has the access rights for the specified Access and State.
static boolean hasAccessForStateName(matrix.db.Context context, matrix.db.BusinessObject busObj, java.lang.String stateName, java.lang.String access)
          Test whether the business object has the access rights for the specified Access and CurrentState.
static boolean isAttributeHidden(matrix.db.Context context, java.lang.String attributeName)
          Check whether the Attribute is hidden.
static boolean isAttributeOnType(matrix.db.Context context, java.lang.String typeName, java.lang.String attributeName)
          Check whether an attribute exists for a given type
static boolean isAuthorized(matrix.db.Context context, matrix.db.BusinessObject personObject, java.lang.String busId, java.util.HashMap roleMap)
          This method...
static boolean isNewBusObj(matrix.db.Context context, matrix.db.BusinessObject busObj)
          Test whether the given business object is a new business object.
static boolean isObjectId(matrix.db.Context context, java.lang.String idORnot)
           
static boolean isRevisedBusObj(matrix.db.Context context, matrix.db.BusinessObject busObj)
          Test whether the given business object is a revised business object.
static boolean isSuiteRegistered(matrix.db.Context context, java.lang.String appVersion, boolean setTreeMenu, java.lang.String registeredSuiteTreeMenu, java.lang.String currentSuiteTreeMenu)
          Checks if the Suite is Registered,
static boolean isThisSuiteRegistered(matrix.db.Context context, javax.servlet.http.HttpSession session, java.lang.String strSuiteName)
          Checks if the Suite is Registered for the user
static java.lang.String join(java.util.List list, java.lang.String fieldSep, java.lang.String recordSep)
          Joins the given list of lists with the record separator and the field separator characters and returns a string.
static java.lang.String join(java.lang.String[] strings, java.lang.String separator)
          Joins the given string array with the separator character and returns a string.
static java.lang.String join(matrix.util.StringList stringList, java.lang.String separator)
          Joins the given string list with the separator character and returns a string.
static java.lang.String join(matrix.util.StringList list1, matrix.util.StringList list2, java.lang.String fieldSep, java.lang.String recordSep)
          Joins the given list of lists with the record separator and the field separator characters and returns a string.
static java.lang.String lookupDomainObjectClassName(matrix.db.Context context, java.lang.String id)
          This method returns a String, that is the name of DomainObject sub-class given the object type
static java.lang.String lookupDomainObjectClassName(matrix.db.Context context, java.lang.String id, java.lang.String applicationName)
          This method returns a String, that is the name of DomainObject sub-class given the object type
static java.lang.String lookupDomainRelationshipClassName(matrix.db.Context context, java.lang.String id)
          This method returns a String, that is the name of DomainRelationship sub-class given the relationship type
static java.lang.String lookupDomainRelationshipClassName(matrix.db.Context context, java.lang.String id, java.lang.String applicationName)
          This method returns a String, that is the name of DomainRelationship sub-class given the relationship type
static java.lang.Class lookupObject(matrix.db.Context context, java.lang.String type, java.lang.String id, java.lang.Class mask)
          This method returns a Class object, that is either DomainObject sub-class or DomainRelationship sub-class based on type, id, mask parameters
static java.lang.Class lookupObject(matrix.db.Context context, java.lang.String type, java.lang.String id, java.lang.Class mask, java.lang.String applicationName)
          This method returns a Class object, that is either DomainObject sub-class or DomainRelationship sub-class based on type, id, mask parameters
static java.lang.String lookupStateName(matrix.db.Context context, java.lang.String absolutePolicyName, java.lang.String symbolicStateName)
          Lookup the state name
static java.lang.String reverseLookupStateName(matrix.db.Context context, java.lang.String absolutePolicyName, java.lang.String absoluteStateName)
          Return the reverse lookup for state name.
static java.lang.String reviseLastRevision(matrix.db.Context context, java.lang.String objectId, java.lang.String vaultName)
          Revise the last revision for an Object
static matrix.util.StringList split(java.lang.String string, java.lang.String separator)
          Splits the given string at each separator character and returns a string list.
static java.util.List split(java.lang.String string, java.lang.String fieldSep, java.lang.String recordSep)
          Splits the given string into a list of lists.
static matrix.db.AttributeList toAttributeList(java.util.Map attributeMap)
          Transform a Map to an AttributeList.
static java.util.Map toMap(matrix.db.AttributeList list)
          Transform AttributeList to a Map.
static java.util.Map toMap(matrix.db.BusinessObjectWithSelect bows)
          Transform BusinessObjectWithSelect to a Map.
static java.util.Map toMap(matrix.db.BusinessObjectWithSelect bows, java.util.List multiValueList)
          Transform BusinessObjectWithSelect to a Map.
static java.util.Map toMap(matrix.db.Context context, matrix.db.AttributeList list)
          Transform AttributeList to a Map.
static java.util.Map toMap(matrix.db.Context context, matrix.db.AttributeTypeList list)
          Transform AttributeTypeList to Map
static MapList toMapList(matrix.db.BusinessObjectWithSelectList list)
          Transform BusinessObjectWithSelectList to a MapList.
static MapList toMapList(matrix.db.BusinessObjectWithSelectList list, java.util.List multiValueList)
          Transform BusinessObjectWithSelectList to a MapList.
static MapList toMapList(matrix.db.ExpansionWithSelect expansion)
          Transform ExpansionWithSelectList to a MapList.
static MapList toMapList(matrix.db.ExpansionWithSelect expansion, matrix.util.Pattern includeType, matrix.util.Pattern includeRelationship, java.util.Map includeMap)
          Transform ExpansionWithSelectList to a MapList.
static MapList toMapList(matrix.db.ExpansionWithSelect expansion, matrix.util.Pattern includeType, matrix.util.Pattern includeRelationship, java.util.Map includeMap, java.lang.String relKeyPrefix)
          Transform ExpansionWithSelectList to a MapList.
static MapList toMapList(matrix.db.ExpansionWithSelect expansion, java.lang.String relKeyPrefix)
          Transform ExpansionWithSelect to a MapList.
static MapList toMapList(matrix.db.RelationshipWithSelectList list)
          Transform RelationshipWithSelectList to a MapList.
static MapList toMapList(matrix.db.RelationshipWithSelectList list, matrix.util.Pattern includeType, matrix.util.Pattern includeRelationship, java.util.Map includeMap)
          Transform RelationshipWithSelectList to a MapList.
static MapList toMapList(matrix.db.RelationshipWithSelectList list, matrix.util.Pattern includeType, matrix.util.Pattern includeRelationship, java.util.Map includeMap, java.lang.String relKeyPrefix)
          Transform RelationshipWithSelectList to a MapList.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrameworkUtil

public FrameworkUtil()
Method Detail

attributeHasChoicesOnly

public static boolean attributeHasChoicesOnly(matrix.db.Context context,
                                              java.lang.String attributeName)
                                       throws FrameworkException
Method to determine if attribute should display a dropdown or edit field Look at all the Range values for this attribute. If any range does not use the Equal operator, then the value returned will be false.
Parameters:
context - the eMatrix Context object
attributeName - the name of the attribute
Returns:
true if the attribute can display a dropdown for all range values and false if it should use an edit field
Since:
AEF 10.0.0.0

autoName

public static java.lang.String autoName(matrix.db.Context context,
                                        java.lang.String type,
                                        java.lang.String policy)
                                 throws FrameworkException
Creates object and returns object ID created with Autonamer
Parameters:
context - the eMatrix Context object
type - the type name
policy - the policy name
Returns:
the objectid created with autonamer
Since:
AEF ?.?.?.?

autoName

public static java.lang.String autoName(matrix.db.Context context,
                                        java.lang.String type,
                                        java.lang.String policy,
                                        boolean navigate)
                                 throws FrameworkException
Creates object and returns object ID created with Autonamer
Parameters:
context - the eMatrix Context object
type - the type name
policy - the policy name
Returns:
the objectid created with autonamer
Since:
AEF 10-5

autoName

public static java.lang.String autoName(matrix.db.Context context,
                                        java.lang.String type,
                                        java.lang.String revision,
                                        java.lang.String policy)
                                 throws FrameworkException
Creates object and returns object ID created with Autonamer Accepts Revision as a parameter
Parameters:
context - the eMatrix Context object
type - the type name
revision - the revision
policy - the policy name
Returns:
the objectid created with autonamer
Since:
AEF ?.?.?.?

autoName

public static java.lang.String autoName(matrix.db.Context context,
                                        java.lang.String type,
                                        java.lang.String revision,
                                        java.lang.String policy,
                                        boolean navigate)
                                 throws FrameworkException
Creates object and returns object ID created with Autonamer
Parameters:
context - the eMatrix Context object
type - the type name
policy - the policy name
Returns:
the objectid created with autonamer
Since:
AEF 10-5

autoName

public static java.lang.String autoName(matrix.db.Context context,
                                        java.lang.String type,
                                        java.lang.String revision,
                                        java.lang.String policy,
                                        java.lang.String vault)
                                 throws FrameworkException
Creates object and returns object ID created with Autonamer Accepts Vault as a parameter
Parameters:
context - the eMatrix Context object
type - the type name
revision - the revision
policy - the policy name
vault - the vault name
Returns:
the objectid created with autonamer
Since:
AEF ?.?.?.?

autoName

public static java.lang.String autoName(matrix.db.Context context,
                                        java.lang.String type,
                                        java.lang.String revision,
                                        java.lang.String policy,
                                        java.lang.String vault,
                                        boolean navigate)
                                 throws FrameworkException
Creates object and returns object ID created with Autonamer Accepts Vault as a parameter
Parameters:
context - the eMatrix Context object
type - the type name
revision - the revision
policy - the policy name
vault - the vault name
Returns:
the objectid created with autonamer
Since:
AEF ?.?.?.?

autoName

public static java.lang.String autoName(matrix.db.Context context,
                                        java.lang.String type,
                                        java.lang.String revision,
                                        java.lang.String policy,
                                        java.lang.String vault,
                                        java.lang.String customRev)
                                 throws FrameworkException
Creates object and returns object ID created with Autonamer Accepts Vault as a parameter
Parameters:
context - the eMatrix Context object
type - the type name
revision - the revision
policy - the policy name
vault - the vault name
customRev - the Custom Revision Level
Returns:
the objectid created with autonamer
Since:
AEF ?.?.?.?

autoName

public static java.lang.String autoName(matrix.db.Context context,
                                        java.lang.String type,
                                        java.lang.String revision,
                                        java.lang.String policy,
                                        java.lang.String vault,
                                        java.lang.String customRev,
                                        boolean navigate)
                                 throws FrameworkException
Creates object and returns object ID created with Autonamer Accepts Vault as a parameter
Parameters:
context - the eMatrix Context object
type - the type name
revision - the revision
policy - the policy name
vault - the vault name
customRev - the Custom Revision Level
Returns:
the objectid created with autonamer
Since:
AEF 10-5

autoRevision

public static java.lang.String autoRevision(matrix.db.Context context,
                                            java.lang.String type,
                                            java.lang.String name,
                                            java.lang.String policy)
                                     throws FrameworkException
Creates object and returns object ID created with Auto revision
Parameters:
context - the eMatrix Context object
type - the type name
name - the object name
policy - the policy name
Returns:
the objectid created with autorevision
Since:
AEF ?.?.?.?

autoRevision

public static java.lang.String autoRevision(matrix.db.Context context,
                                            java.lang.String type,
                                            java.lang.String name,
                                            java.lang.String policy,
                                            java.lang.String vault)
                                     throws FrameworkException
Creates object and returns object ID created with Auto revision
Parameters:
context - the eMatrix Context object
type - the type name
name - the object name
policy - the policy name
vault - the vault name
Returns:
the objectid created with autorevision
Since:
AEF ?.?.?.?

buttonFooterURLOff

public static java.lang.String buttonFooterURLOff(java.lang.String text,
                                                  java.lang.String languageStr,
                                                  java.lang.String iconName,
                                                  java.lang.String suiteDir)
Method to call "Off" Button
Parameters:
text -  
languageStr -  
iconName -  
suiteDir -  
Returns:
button url
Since:
AEF ?.?.?.?

buttonFooterURLOn

public static java.lang.String buttonFooterURLOn(java.lang.String text,
                                                 java.lang.String languageStr,
                                                 java.lang.String iconName,
                                                 java.lang.String suiteDir)
Method to call "On" Button
Parameters:
text -  
languageStr -  
iconName -  
suiteDir -  
Returns:
button url
Since:
AEF ?.?.?.?

buttonGenericURL

public static java.lang.String buttonGenericURL(java.lang.String text,
                                                java.lang.String languageStr,
                                                java.lang.String iconName,
                                                java.lang.String backgroundName,
                                                int width,
                                                int height)
Method to call "IconButtonServlet" to build Button
Parameters:
text -  
languageStr -  
iconName -  
suiteDir -  
Returns:
button url
Since:
AEF ?.?.?.?

comparePattern

public static boolean comparePattern(java.lang.String pattern,
                                     java.lang.String string)
Test whether a string matches a search pattern
Parameters:
pattern - the search pattern
string - the string to match to the pattern
Returns:
true if the string matches the pattern
Since:
AEF ?.?.?.?

createNextRevision

public static java.lang.String createNextRevision(matrix.db.Context context,
                                                  matrix.db.BusinessObject businessObject,
                                                  java.lang.String vaultName)
                                           throws FrameworkException
Helper method to create Next Revisions Returns "New|'BusID'", "Exists|'BusID'", "Invalid| " - Based on results returned by getNextRevision()
Parameters:
context - the eMatrix Context object
businessObject - an eMatrix BusinessObject object
vaultName - the name of the vault
Returns:
"New|'BusID'", "Exists|'BusID'", "Invalid| "
Since:
AEF ?.?.?.?

encodeHref

public static java.lang.String encodeHref(javax.servlet.http.HttpServletRequest request,
                                          java.lang.String strHref)
Encodes a url to pass to a HREF.
Parameters:
req - the HttpServletRequest object
strHref - String
Returns:
the requested parameters
Since:
AEF 10-0-1-0

encodeURL

public static java.lang.String encodeURL(java.lang.String url)
Encodes the entire URL passed in, including all parameter names, values and all ? & = and any other symbols, Spaces will be converted to +
Parameters:
url - the given URL
Returns:
the encoded URL
Since:
AEF 9.5.1.3

encodeURLParamValues

public static java.lang.String encodeURLParamValues(java.lang.String url)
Take a url encode all the parameter values,
Parameters:
url - the given URL
Returns:
the encoded URL
Since:
AEF 9.5.1.3

findAndReplace

public static java.lang.String findAndReplace(java.lang.String sourceString,
                                              java.lang.String findString,
                                              java.lang.String replaceString)
Find and Replace the String in a string
Parameters:
context - the eMatrix Context object.
Returns:
StringList the list of registered suites for the user.
Since:
AEF 9.5.5.0

getAbsUserApplications

public static matrix.util.StringList getAbsUserApplications(matrix.db.Context context,
                                                            java.lang.String argSuiteName)
                                                     throws FrameworkException
Gets a list of available applications in the database
Parameters:
context - the eMatrix Context object
argSuiteName - -
Returns:
the list of available applications in the database
Since:
AEF ?.?.?.?

getAbsUserFeatures

public static matrix.util.StringList getAbsUserFeatures(matrix.db.Context context,
                                                        java.lang.String argSuite,
                                                        java.lang.String argApp)
                                                 throws FrameworkException
Gets a list of available features in the database
Parameters:
context - the eMatrix Context object
argSuiteName - -
appName - -
Returns:
the list of available features in the database
Since:
AEF ?.?.?.?

getAbsUserSuites

public static matrix.util.StringList getAbsUserSuites(matrix.db.Context context)
                                               throws matrix.util.MatrixException
Gets a list of available suites in the database for this user
Parameters:
context - the eMatrix Context object.
Returns:
StringList the list of registered suites for the user.
Since:
AEF 9.5.5.0

getAliasForAdmin

public static java.lang.String getAliasForAdmin(matrix.db.Context context,
                                                java.lang.String type,
                                                java.lang.String name,
                                                boolean useCache)
                                         throws FrameworkException
Get the schema alias for the schema object defined by the given type and name from the cache. If not found in the cache, refresh cache and then return the schema alias.
Parameters:
context - the eMatrix Context object
type - the type of the schema object
name - the name of the schema object
useCache - use previously loaded data or refresh list from database
Returns:
the alias for the schema object
Throws:
FrameworkException - if the operation fails
Since:
AEF 9.1.0.0

getAllBusinessObjects

public static matrix.db.BusinessObjectItr getAllBusinessObjects(matrix.db.Context context,
                                                                java.lang.String typePattern,
                                                                java.lang.String namePattern,
                                                                java.lang.String vaultName,
                                                                java.lang.String queryLimit)
                                                         throws FrameworkException
This method retrieves all the Business Objects with all the revisions of all states.
Parameters:
context - the eMatrix Context object
typePattern - the typePattern
namePattern - the namePattern
vaultName - the name of the vault
queryLimit - the name of the vault
Returns:
an eMatrix BusinessObjectItr object
Since:
AEF ?.?.?.?

getAttribute

public static java.lang.String getAttribute(matrix.db.Context context,
                                            matrix.db.BusinessObject businessObject,
                                            java.lang.String attributeName)
                                     throws FrameworkException
Get the requested attribute value from BusinessObject
Parameters:
context - the eMatrix Context object
businessObject - an eMatrix BusinessObject
attributeName - the name of the attribute
Returns:
the value of the attribute
Since:
AEF ?.?.?.?

getAverage

public static java.lang.String getAverage(matrix.db.Context context,
                                          java.util.Locale localeObj,
                                          matrix.util.StringList valueList)
                                   throws FrameworkException
Get the Average value for the given input.
Parameters:
context - the eMatrix Context object
StringList -  
Since:
AEF 10-0-1-1

getBaseType

public static java.lang.String getBaseType(matrix.db.Context context,
                                           java.lang.String sType,
                                           matrix.db.Vault vault)
                                    throws FrameworkException
Get the Topmost Parent type
Parameters:
context - the eMatrix Context object
sType - - the type name
vault - - an eMatrix vault object
Returns:
the Topmost Parent type
Since:
AEF ?.?.?.?

getBusinessObjectRevisions

public static matrix.db.BusinessObjectList getBusinessObjectRevisions(matrix.db.Context context,
                                                                      java.lang.String typePattern,
                                                                      java.lang.String namePattern,
                                                                      java.lang.String reqPolicyState,
                                                                      java.lang.String searchCriteria,
                                                                      java.lang.String queryLimit)
                                                               throws FrameworkException
This method retrieves all the Business Objects with all the revisions with the given state.
Parameters:
context - the eMatrix Context object
typePattern - - the type of the BO
namePattern - - the name of the BO
reqPolicyState - - the state of the BO
searchCriteria - - search criteria
queryLimit - - the query limit
Returns:
an eMatrix BusinessObjectList
Since:
AEF ?.?.?.?

getBusinessObjectRevisions

public static matrix.db.BusinessObjectList getBusinessObjectRevisions(matrix.db.Context context,
                                                                      java.lang.String typePattern,
                                                                      java.lang.String namePattern,
                                                                      java.lang.String reqPolicyState,
                                                                      java.lang.String searchCriteria,
                                                                      java.lang.String vault,
                                                                      java.lang.String queryLimit)
                                                               throws FrameworkException
This method retrieves all the Business Objects with all the revisions with the given state.
Parameters:
context - the eMatrix Context object
typePattern - - the type of the BO
namePattern - - the name of the BO
reqPolicyState - - the state of the BO
searchCriteria - - search criteria
vaultName - - the name of the vault
queryLimit - - the query limit
Returns:
an eMatrix BusinessObjectList
Since:
AEF ?.?.?.?

getConnectionsFromObj

public static java.util.Vector[] getConnectionsFromObj(matrix.db.Context context,
                                                       matrix.db.BusinessObject businessObject,
                                                       java.lang.String sRelPattern,
                                                       java.lang.String sTypePattern,
                                                       boolean boolGetTo,
                                                       boolean boolGetFrom,
                                                       short iLevel)
                                                throws FrameworkException
Method to get all possible connections for a Business Object for a given: rel pattern, type pattern, from/to directions and expand level Returns a row for each connection (rel) with rel id, from/to connected objects The columns appear in the following order: From Id, From Type, From Name, From Rev, Rel Id, Rel Name, To Id, To Type, To Name, To Rev which will be returned as follows: v[0].elementAt(j), v[1].elementAt(j), v[2].elementAt(j), v[3].elementAt(j), v[4].elementAt(j), v[5].elementAt(j), v[6].elementAt(j), v[7].elementAt(j), v[8].elementAt(j), v[9].elementAt(j) where 'v' is the vector array that stored the result from this helper method and 'j' represents a connection.
Parameters:
context - the eMatrix Context object
businessObject - - the type of the BO
sRelPattern - - the name of the BO
sTypePattern - - the state of the BO
boolGetTo - - search criteria
boolGetFrom - - search criteria
iLevel - - the query limit
Returns:
an array of vectors
Since:
AEF ?.?.?.?

getCurrentState

public static matrix.db.State getCurrentState(matrix.db.Context context,
                                              matrix.db.BusinessObject businessObject)
                                       throws FrameworkException
Get the current state for this object.
Parameters:
context - the eMatrix Context object
businessObject - an eMatrix BusinessObject object
Returns:
the state an eMatrix State object representing the current state
Since:
AEF ?.?.?.?

getCurrentStateName

public static java.lang.String getCurrentStateName(matrix.db.Context context,
                                                   java.lang.String businessObjectID)
                                            throws FrameworkException
Get the current state name for this object.
Parameters:
context - the eMatrix Context object
businessObjectID - the business object id
Returns:
the state name for the current state
Since:
AEF ?.?.?.?

getCurrentStateOfBusObj

public static int getCurrentStateOfBusObj(matrix.db.Context context,
                                          matrix.db.BusinessObject businessObject)
                                   throws FrameworkException
This method retrieves the current state of the Business Object.
Parameters:
context - the eMatrix Context object
businessObject - an eMatrix BusinessObject
Returns:
the index of the current state of the BO.
Since:
AEF ?.?.?.?

getFirstRevision

public static java.lang.String getFirstRevision(matrix.db.Context context,
                                                java.lang.String objectId)
                                         throws FrameworkException
Get the first revision of a businessobject
Parameters:
context - the eMatrix Context object
objectId - the object id of the businessobject
Returns:
objectid of the first revision of the businessobject
Since:
AEF ?.?.?.?

getGroupNames

public static matrix.util.StringList getGroupNames(matrix.db.Context context,
                                                   boolean showHidden,
                                                   boolean useCache)
                                            throws FrameworkException
Get list of all group names
Parameters:
context - the eMatrix Context object
showHidden - show hidden groups
useCache - use previously loaded data or refresh list from database
Returns:
the list of group names
Throws:
FrameworkException - if the operation fails
Since:
AEF ?.?.?.?

getIntersection

public static java.util.Vector getIntersection(java.util.Vector firstVector,
                                               java.util.Vector secondVector)
This method returns a vector of the common elements in two vectors. The comparasion is done according to the equals method of the elements in the vector.
Parameters:
firstVector -  
secondVector -  
Returns:
vector of the common elements in two vectors.
Since:
AEF ?.?.?.?

getLastRevision

public static java.lang.String getLastRevision(matrix.db.Context context,
                                               java.lang.String objectId)
                                        throws FrameworkException
Get the last revision of a businessobject
Parameters:
context - the eMatrix Context object
objectId - the object id of the businessobject
Returns:
objectid of the last revision of the businessobject
Since:
AEF ?.?.?.?

getMaximum

public static java.lang.String getMaximum(matrix.db.Context context,
                                          java.util.Locale localeObj,
                                          matrix.util.StringList valueList)
                                   throws FrameworkException
Get the Maximum value for the given input.
Parameters:
context - the eMatrix Context object
StringList -  
Since:
AEF 10-0-1-1

getMedian

public static java.lang.String getMedian(matrix.db.Context context,
                                         java.util.Locale localeObj,
                                         matrix.util.StringList valueList)
                                  throws FrameworkException
Get the Median value for the given input.
Parameters:
context - the eMatrix Context object
StringList -  
Since:
AEF 10-0-1-1

getMinimum

public static java.lang.String getMinimum(matrix.db.Context context,
                                          java.util.Locale localeObj,
                                          matrix.util.StringList valueList)
                                   throws FrameworkException
Get the Minimum value for the given input.
Parameters:
context - the eMatrix Context object
StringList -  
Since:
AEF 10-0-1-1

getNonHiddenAttributeNames

public static matrix.util.StringList getNonHiddenAttributeNames(matrix.db.Context context,
                                                                boolean useCache)
                                                         throws FrameworkException
Get the names of all the non-hidden attributes in the database.
Parameters:
context - the eMatrix Context object
useCache - use previously loaded data or refresh list from database
Returns:
list of the all the non-hidden attributes in the database
Throws:
FrameworkException - if the operation fails
Since:
AEF 9.1.0.0

getOrganization

public static matrix.db.BusinessObject getOrganization(matrix.db.Context context,
                                                       matrix.db.BusinessObject person,
                                                       java.lang.String relationshipPattern)
                                                throws FrameworkException
Get the organization associated with this person.
Parameters:
context - the eMatrix Context object
person - eMatrix BusinessObject representing a person
relationshipPattern - the relationship pattern
Returns:
eMatrix BusinessObject representing the organization
Since:
AEF ?.?.?.?

getPersonNames

public static matrix.util.StringList getPersonNames(matrix.db.Context context,
                                                    boolean showHidden,
                                                    boolean useCache)
                                             throws FrameworkException
Get list of all person names
Parameters:
context - the eMatrix Context object
showHidden - show hidden persons
useCache - use previously loaded data or refresh list from database
Returns:
the list of person names
Throws:
FrameworkException - if the operation fails
Since:
AEF ?.?.?.?

getPolicyClassification

public static java.lang.String getPolicyClassification(matrix.db.Context context,
                                                       java.lang.String policyName)
                                                throws FrameworkException
Method to get the Policy Classification for a policy The value will be either 'Development', 'Production', or 'Other'
Parameters:
context - the eMatrix Context object
policyName - the name of the policy
Returns:
the Policy Classification value
Since:
AEF 10.0.0.0

getRanges

public static matrix.util.StringList getRanges(matrix.db.Context context,
                                               java.lang.String attributeName)
                                        throws FrameworkException
Get the possible ranges for a given attribute. This is useful for populating drop down lists.
Parameters:
context - the eMatrix Context object
attributeName - the attribute name
Returns:
list of ranges for attribute
Since:
AEF ?.?.?.?

getRelationshipBaseTypes

public static matrix.db.BusinessTypeList getRelationshipBaseTypes(matrix.db.Context context,
                                                                  java.lang.String relationshipType,
                                                                  boolean boolFromTypes,
                                                                  boolean boolToTypes,
                                                                  matrix.db.Vault vault)
                                                           throws FrameworkException
For a given relationship it finds the highest possible level of types that can be connected by using that relationship and returns the list. This method is used for populating type chooser.
Parameters:
context - the eMatrix Context object
relationshipType - - the relationship type name
boolFromTypes - -
boolToTypes - -
vault - - an eMatrix vault object
Returns:
the highest possible level of types that can be connected by using that relationship
Since:
AEF ?.?.?.?

getRelAttribute

public static java.lang.String getRelAttribute(matrix.db.Context context,
                                               matrix.db.Relationship relationship,
                                               java.lang.String attrName)
                                        throws FrameworkException
Get the requested attribute value from Relationship
Parameters:
context - the eMatrix Context object
relationship - the eMatrix Relationship object
attributeName - the name of the attribute
Returns:
the value of the attribute
Since:
AEF ?.?.?.?

getRoleNames

public static matrix.util.StringList getRoleNames(matrix.db.Context context,
                                                  boolean showHidden,
                                                  boolean useCache)
                                           throws FrameworkException
Get list of all role names
Parameters:
context - the eMatrix Context object
showHidden - show hidden roles
useCache - use previously loaded data or refresh list from database
Returns:
the list of role names
Throws:
FrameworkException - if the operation fails
Since:
AEF ?.?.?.?

getSpecificState

public static matrix.db.State getSpecificState(matrix.db.Context context,
                                               matrix.db.BusinessObject busObj,
                                               java.lang.String sStateName)
                                        throws FrameworkException
Get the state reference for this object.
Parameters:
context - the eMatrix Context object
busObj - - an eMatrix BusinessObject object
sStateName - - the name of the state
Returns:
an an eMatrix State object
Since:
AEF ?.?.?.?

getSum

public static java.lang.String getSum(matrix.db.Context context,
                                      java.util.Locale localeObj,
                                      matrix.util.StringList valueList)
                               throws FrameworkException
Get the Sum value for the given input.
Parameters:
context - the eMatrix Context object
StringList -  
Since:
AEF 10-0-1-1

getSystemData

public static java.util.Hashtable getSystemData(matrix.db.Context context)
                                         throws FrameworkException
Get the System Data output
Parameters:
context - the eMatrix Context object
String -  
Since:
AEF 10-Minor1

getTopLevelGroupNames

public static matrix.util.StringList getTopLevelGroupNames(matrix.db.Context context,
                                                           boolean showHidden,
                                                           boolean useCache)
                                                    throws FrameworkException
Get list of all top level group names
Parameters:
context - the eMatrix Context object
showHidden - show hidden groups
useCache - use previously loaded data or refresh list from database
Returns:
the list of top level group names
Throws:
FrameworkException - if the operation fails
Since:
AEF ?.?.?.?

getTopLevelRoleNames

public static matrix.util.StringList getTopLevelRoleNames(matrix.db.Context context,
                                                          boolean showHidden,
                                                          boolean useCache)
                                                   throws FrameworkException
Get list of all top level role names
Parameters:
context - the eMatrix Context object
showHidden - show hidden roles
useCache - use previously loaded data or refresh list from database
Returns:
the list of top level role names
Throws:
FrameworkException - if the operation fails
Since:
AEF ?.?.?.?

getType

public static java.lang.String getType(matrix.db.Context context,
                                       matrix.db.BusinessObject businessObject)
                                throws FrameworkException
Return the object type.
Parameters:
context - the eMatrix Context object
businessObject - - the business object who's type we want
Returns:
the type
Throws:
FrameworkException - if the operation fails
Since:
AEF 9.1.0.0

getTypeRegistrationName

public static java.lang.String getTypeRegistrationName(matrix.db.Context context,
                                                       java.lang.String typeName,
                                                       javax.servlet.ServletContext application)
Get the registration name for a type. For instance it will return type_ECO for ECO
Parameters:
context - the eMatrix Context object
typeName - - the type name
application - - the servlet context
Returns:
the highest possible level of types that can be connected by using that relationship
Since:
AEF ?.?.?.?

getTypeRegistrationName

public static java.lang.String getTypeRegistrationName(matrix.db.Context context,
                                                       java.lang.String regularName,
                                                       javax.servlet.ServletContext application,
                                                       java.lang.String lookupGroupName)
Method is overloaded to handle different registration names other than "type_" For example "policy_ECRRejected" returns "ECR Rejected". takes an additional parameter lookupGroupName, which can be "policy_", "type_", "state_" etc.
Parameters:
context - the eMatrix Context object
regularName - - the type name
application - - the servlet context
lookupGroupName - - the type name
Returns:
the highest possible level of types that can be connected by using that relationship
Since:
AEF ?.?.?.?

getVaultNames

public static matrix.util.StringList getVaultNames(matrix.db.Context context,
                                                   boolean showHidden,
                                                   boolean useCache)
                                            throws FrameworkException
Get list of all vault names
Parameters:
context - the eMatrix Context object
showHidden - show hidden vaults
useCache - use previously loaded data or refresh list from database
Returns:
the list of vault names
Throws:
FrameworkException - if the operation fails
Since:
AEF ?.?.?.?

hasAccess

public static boolean hasAccess(matrix.db.Context context,
                                matrix.db.BusinessObject busObj,
                                java.lang.String access)
                         throws FrameworkException
Test whether the business object has the access rights for the specified Access and CurrentState.
Parameters:
context - the eMatrix Context object
busObj - - an eMatrix BusinessObject object
access -  
Returns:
true if the business object has the access rights for the specified Access and CurrentState.
Since:
AEF ?.?.?.?

hasAccess

public static boolean hasAccess(matrix.db.Context context,
                                matrix.db.BusinessObject busObj,
                                matrix.util.StringList access)
                         throws FrameworkException
Test whether the business object has the access rights for the specified Access and CurrentState.
Parameters:
context - the eMatrix Context object
busObj - - an eMatrix BusinessObject object
access -  
Returns:
true if the business object has the access rights for the specified Access and CurrentState.
Since:
AEF ?.?.?.?

hasAccessForState

public static boolean hasAccessForState(matrix.db.Context context,
                                        matrix.db.BusinessObject busObj,
                                        matrix.db.State state,
                                        java.lang.String access)
                                 throws FrameworkException
Test whether the business object has the access rights for the specified Access and State.
Parameters:
context - the eMatrix Context object
busObj - - an eMatrix BusinessObject object
state - - an eMatrix State object
access -  
Returns:
true if the business object has the access rights for the specified Access and State.
Since:
AEF ?.?.?.?

hasAccessForStateName

public static boolean hasAccessForStateName(matrix.db.Context context,
                                            matrix.db.BusinessObject busObj,
                                            java.lang.String stateName,
                                            java.lang.String access)
                                     throws FrameworkException
Test whether the business object has the access rights for the specified Access and CurrentState.
Parameters:
context - the eMatrix Context object
busObj - - an eMatrix BusinessObject object
stateName - - the state name
access -  
Returns:
true if the business object has the access rights for the specified Access and CurrentState.
Since:
AEF ?.?.?.?

isAttributeHidden

public static boolean isAttributeHidden(matrix.db.Context context,
                                        java.lang.String attributeName)
Check whether the Attribute is hidden.
Parameters:
context - the eMatrix Context object
attributeName - the name of the attribute
Returns:
true if the attribute is hidden
Since:
AEF ?.?.?.?

isAttributeOnType

public static boolean isAttributeOnType(matrix.db.Context context,
                                        java.lang.String typeName,
                                        java.lang.String attributeName)
                                 throws FrameworkException
Check whether an attribute exists for a given type
Parameters:
context - the eMatrix Context object
typeName - the name of the type
attributeName - the name of the attribute
Returns:
true if the type has the attribute
Since:
AEF ?.?.?.?

isAuthorized

public static boolean isAuthorized(matrix.db.Context context,
                                   matrix.db.BusinessObject personObject,
                                   java.lang.String busId,
                                   java.util.HashMap roleMap)
                            throws FrameworkException
This method...
Parameters:
context - the eMatrix Context object
personObject - - an eMatrix BusinessObject object
busId - - the name of the BO
roleMap - - the state of the BO
Returns:
true if person is authorized
Since:
AEF ?.?.?.?

isNewBusObj

public static boolean isNewBusObj(matrix.db.Context context,
                                  matrix.db.BusinessObject busObj)
                           throws FrameworkException
Test whether the given business object is a new business object.
Parameters:
context - the eMatrix Context object
busObj - - an eMatrix BusinessObject object
Returns:
true if the business object is a new business object.
Since:
AEF ?.?.?.?

isObjectId

public static boolean isObjectId(matrix.db.Context context,
                                 java.lang.String idORnot)
                          throws FrameworkException

isRevisedBusObj

public static boolean isRevisedBusObj(matrix.db.Context context,
                                      matrix.db.BusinessObject busObj)
                               throws FrameworkException
Test whether the given business object is a revised business object.
Parameters:
context - the eMatrix Context object
busObj - - an eMatrix BusinessObject object
Returns:
true if the business object is a revised business object.
Since:
AEF ?.?.?.?

isSuiteRegistered

public static boolean isSuiteRegistered(matrix.db.Context context,
                                        java.lang.String appVersion,
                                        boolean setTreeMenu,
                                        java.lang.String registeredSuiteTreeMenu,
                                        java.lang.String currentSuiteTreeMenu)
Checks if the Suite is Registered,
Parameters:
appVersion - the suite which needs to be checked if installed.
setTreeMenu - boolean to the set the environment Variable, MX_TREE_MENU
registeredSuiteTreeMenu - set tree menu of the registered suite
currentSuiteTreeMenu - set the tree menu of the current suite.
Returns:
boolean
Since:
AEF 9.5.5.0

isThisSuiteRegistered

public static boolean isThisSuiteRegistered(matrix.db.Context context,
                                            javax.servlet.http.HttpSession session,
                                            java.lang.String strSuiteName)
                                     throws matrix.util.MatrixException
Checks if the Suite is Registered for the user
Parameters:
context - the eMatrix Context object.
session - the session object.
strSuiteName - the suite name.
Returns:
boolean
Since:
AEF 9.5.5.0

join

public static java.lang.String join(java.util.List list,
                                    java.lang.String fieldSep,
                                    java.lang.String recordSep)
Joins the given list of lists with the record separator and the field separator characters and returns a string.
Parameters:
list - the list to join into a string
fieldSep - the character to join each field with
recordSep - the character to join each record with
Returns:
a string containing the results of joining the list
Since:
AEF 9.1.0.0

join

public static java.lang.String join(java.lang.String[] strings,
                                    java.lang.String separator)
Joins the given string array with the separator character and returns a string.
Parameters:
strings - the string array to join into a string
separator - the character to join with
Returns:
a string containing the results of joining the string list
Since:
AEF 10.0.0.0

join

public static java.lang.String join(matrix.util.StringList stringList,
                                    java.lang.String separator)
Joins the given string list with the separator character and returns a string.
Parameters:
stringList - the string list to join into a string
separator - the character to join with
Returns:
a string containing the results of joining the string list
Since:
AEF 9.1.0.0

join

public static java.lang.String join(matrix.util.StringList list1,
                                    matrix.util.StringList list2,
                                    java.lang.String fieldSep,
                                    java.lang.String recordSep)
Joins the given list of lists with the record separator and the field separator characters and returns a string.
Parameters:
list - the list to join into a string
fieldSep - the character to join each field with
recordSep - the character to join each record with
Returns:
a string containing the results of joining the list
Since:
AEF 9.1.0.0

lookupDomainObjectClassName

public static java.lang.String lookupDomainObjectClassName(matrix.db.Context context,
                                                           java.lang.String id)
                                                    throws FrameworkException
This method returns a String, that is the name of DomainObject sub-class given the object type
Parameters:
context - the eMatrix Context object
id, - the object type
Returns:
String, the name of DomainObject sub-class
Since:
AEF 9.5.1.0

lookupDomainObjectClassName

public static java.lang.String lookupDomainObjectClassName(matrix.db.Context context,
                                                           java.lang.String id,
                                                           java.lang.String applicationName)
                                                    throws FrameworkException
This method returns a String, that is the name of DomainObject sub-class given the object type
Parameters:
context - the eMatrix Context object
id, - the object type
applicationName, - the name of application to determine the mapping file to look in first
Returns:
String, the name of DomainObject sub-class
Since:
AEF Rossini

lookupDomainRelationshipClassName

public static java.lang.String lookupDomainRelationshipClassName(matrix.db.Context context,
                                                                 java.lang.String id)
                                                          throws FrameworkException
This method returns a String, that is the name of DomainRelationship sub-class given the relationship type
Parameters:
context - the eMatrix Context object
id, - the relationship type
Returns:
String, the name of DomainRelationship sub-class
Since:
AEF 9.5.1.0

lookupDomainRelationshipClassName

public static java.lang.String lookupDomainRelationshipClassName(matrix.db.Context context,
                                                                 java.lang.String id,
                                                                 java.lang.String applicationName)
                                                          throws FrameworkException
This method returns a String, that is the name of DomainRelationship sub-class given the relationship type
Parameters:
context - the eMatrix Context object
id, - the relationship type
applicationName, - the name of application to determine the mapping file to look in first
Returns:
String, the name of DomainRelationship sub-class
Since:
AEF Rossini

lookupObject

public static java.lang.Class lookupObject(matrix.db.Context context,
                                           java.lang.String type,
                                           java.lang.String id,
                                           java.lang.Class mask)
                                    throws FrameworkException
This method returns a Class object, that is either DomainObject sub-class or DomainRelationship sub-class based on type, id, mask parameters
Parameters:
context - the eMatrix Context object
type, - "type" for Object type lookup, "relationship" for relationship lookup
id, - the object type or relationship type
mask, - DomainObject.Class for Object type lookup, DomainRelationship.Class for relationship lookup
Returns:
Class, either DomainObject sub-class or DomainRelationship sub-class
Since:
AEF 9.5.1.0

lookupObject

public static java.lang.Class lookupObject(matrix.db.Context context,
                                           java.lang.String type,
                                           java.lang.String id,
                                           java.lang.Class mask,
                                           java.lang.String applicationName)
                                    throws FrameworkException
This method returns a Class object, that is either DomainObject sub-class or DomainRelationship sub-class based on type, id, mask parameters
Parameters:
context - the eMatrix Context object
type, - "type" for Object type lookup, "relationship" for relationship lookup
id, - the object type or relationship type
mask, - DomainObject for Object type lookup, DomainRelationship for relationship lookup
applicationName, - the name of application to determine the mapping file to look in first
Returns:
Class, either DomainObject sub-class or DomainRelationship sub-class
Since:
AEF Rossini

lookupStateName

public static java.lang.String lookupStateName(matrix.db.Context context,
                                               java.lang.String absolutePolicyName,
                                               java.lang.String symbolicStateName)
                                        throws FrameworkException
Lookup the state name
Parameters:
context - the eMatrix Context object
absolutePolicyName - the absolute policy name
symbolicStateName - the symbolic state name
Returns:
the state name
Since:
AEF ?.?.?.?

reverseLookupStateName

public static java.lang.String reverseLookupStateName(matrix.db.Context context,
                                                      java.lang.String absolutePolicyName,
                                                      java.lang.String absoluteStateName)
                                               throws FrameworkException
Return the reverse lookup for state name. This method does the opposite of lookupStateName method. For an absolute state name, such as "ECR Rejected", it returns "state_ECRRejected".
Parameters:
context - the eMatrix Context object
absolutePolicyName - the absolute policy name
absoluteStateName - the symbolic state name
Returns:
the state name
Since:
AEF ?.?.?.?

reviseLastRevision

public static java.lang.String reviseLastRevision(matrix.db.Context context,
                                                  java.lang.String objectId,
                                                  java.lang.String vaultName)
                                           throws FrameworkException
Revise the last revision for an Object
Parameters:
context - the eMatrix Context object
objectId - the object id of the businessobject
vaultName - the name of the vault
Returns:
objectid of the revised businessobject
Since:
AEF ?.?.?.?

split

public static matrix.util.StringList split(java.lang.String string,
                                           java.lang.String separator)
Splits the given string at each separator character and returns a string list.
Parameters:
string - the string to split into a string list
separator - the character to split on
Returns:
a string list containing the results of splitting the string
Since:
AEF 9.1.0.0

split

public static java.util.List split(java.lang.String string,
                                   java.lang.String fieldSep,
                                   java.lang.String recordSep)
Splits the given string into a list of lists. The string is first split at each recordSep into a records list. Each item in the records list is then split at the fieldSep into a field list and placed in the records list.
Parameters:
string - the string to split into a Map
fieldSep - the character to split each field on
recordSep - the character to split each record on
Returns:
a list containing the results of splitting the string
Since:
AEF 9.1.0.0

toAttributeList

public static matrix.db.AttributeList toAttributeList(java.util.Map attributeMap)
Transform a Map to an AttributeList.
Parameters:
context - the eMatrix Context object
attributeMap - a map containing name and value pairs.
Returns:
an AttributeList
Since:
AEF 9.1.0.0

toMap

public static java.util.Map toMap(matrix.db.AttributeList list)
Transform AttributeList to a Map.
Parameters:
list - the AttributeList
Returns:
a MapList
Since:
AEF 9.1.0.0

toMap

public static java.util.Map toMap(matrix.db.BusinessObjectWithSelect bows)
Transform BusinessObjectWithSelect to a Map.
Parameters:
bows - the BusinessObjectSelect object
Returns:
the Map
Since:
AEF 9.1.0.0

toMap

public static java.util.Map toMap(matrix.db.BusinessObjectWithSelect bows,
                                  java.util.List multiValueList)
Transform BusinessObjectWithSelect to a Map.
Parameters:
bows - the BusinessObjectSelect object
multiValueList - the list of data to convert to a StringList
Returns:
the Map
Since:
AEF 9.1.0.0

toMap

public static java.util.Map toMap(matrix.db.Context context,
                                  matrix.db.AttributeList list)
                           throws FrameworkException
Transform AttributeList to a Map.
Parameters:
context - the eMatrix Context object
list - the AttributeList
Returns:
a Map
Throws:
FrameworkException - if the operation fails
Since:
AEF 9.1.0.0

toMap

public static java.util.Map toMap(matrix.db.Context context,
                                  matrix.db.AttributeTypeList list)
                           throws FrameworkException
Transform AttributeTypeList to Map
Parameters:
context - the eMatrix Context object
list - AttributeTypeList
Returns:
a Map
Throws:
FrameworkException - if the operation fails
Since:
AEF ???

toMapList

public static MapList toMapList(matrix.db.BusinessObjectWithSelectList list)
Transform BusinessObjectWithSelectList to a MapList.
Parameters:
list - the BusinessObjectSelectList
Returns:
the MapList
Since:
AEF 9.1.0.0

toMapList

public static MapList toMapList(matrix.db.BusinessObjectWithSelectList list,
                                java.util.List multiValueList)
Transform BusinessObjectWithSelectList to a MapList.
Parameters:
list - the BusinessObjectSelectList object
multiValueList - the list of data to convert to a StringList
Returns:
the MapList
Since:
AEF 10.0.0.0

toMapList

public static MapList toMapList(matrix.db.ExpansionWithSelect expansion)
Transform ExpansionWithSelectList to a MapList.
Parameters:
expansion - the ExpansionWithSelect to convert to a MapList
Returns:
a MapList
Since:
AEF 9.1.0.0

toMapList

public static MapList toMapList(matrix.db.ExpansionWithSelect expansion,
                                matrix.util.Pattern includeType,
                                matrix.util.Pattern includeRelationship,
                                java.util.Map includeMap)
Transform ExpansionWithSelectList to a MapList.
Parameters:
expansion - the ExpansionWithSelect to convert to a MapList
includeType - filter for businees types we want returned. If the type of the object is not found in this list then it will not be returned in the MapList. If null all types will be returned
includeRelationship - filter for relationships we want returned. If the relationship of the object does not match one in this list then it will not be returned in the MapList. If null all relationship types will be returned
includeMap - a name/value pair that is used to filter data. If the name matches and the values match each other than they will be returned in the MapList. If null the value checking is ignored
Returns:
a MapList
Since:
AEF 9.1.0.0

toMapList

public static MapList toMapList(matrix.db.ExpansionWithSelect expansion,
                                matrix.util.Pattern includeType,
                                matrix.util.Pattern includeRelationship,
                                java.util.Map includeMap,
                                java.lang.String relKeyPrefix)
Transform ExpansionWithSelectList to a MapList.
Parameters:
expansion - the ExpansionWithSelect to convert to a MapList
includeType - filter for businees types we want returned. If the type of the object is not found in this list then it will not be returned in the MapList. If null all types will be returned
includeRelationship - filter for relationships we want returned. If the relationship of the object does not match one in this list then it will not be returned in the MapList. If null all relationship types will be returned
includeMap - a name/value pair that is used to filter data. If the name matches and the values match each other than they will be returned in the MapList. If null the value checking is ignored
relKeyPrefix - - the prefix added to relationship keys to prevent key name collision with object keys.
Returns:
a MapList
Since:
AEF ?.?.?.?

toMapList

public static MapList toMapList(matrix.db.ExpansionWithSelect expansion,
                                java.lang.String relKeyPrefix)
Transform ExpansionWithSelect to a MapList.
Parameters:
expansion - the ExpansionWithSelect to convert to a MapList
relKeyPrefix - - the prefix added to relationship keys to prevent key name collision with object keys.
Returns:
a MapList
Since:
AEF ?.?.?.?

toMapList

public static MapList toMapList(matrix.db.RelationshipWithSelectList list)
Transform RelationshipWithSelectList to a MapList.
Parameters:
list - the RelationshipWithSelectList
Returns:
a MapList
Since:
AEF 9.1.0.0

toMapList

public static MapList toMapList(matrix.db.RelationshipWithSelectList list,
                                matrix.util.Pattern includeType,
                                matrix.util.Pattern includeRelationship,
                                java.util.Map includeMap)
Transform RelationshipWithSelectList to a MapList.
Parameters:
list - the ExpansionWithSelectList
includeType - filter for businees types we want returned. If the type of the object is not found in this list then it will not be returned in the MapList. If null all types will be returned
includeRelationship - filter for relationships we want returned. If the relationship of the object does not match one in this list then it will not be returned in the MapList. If null all relationship types will be returned
includeMap - a name/value pair that is used to filter data. If the name matches and the values match each other than they will be returned in the MapList. If null the value checking is ignored
Returns:
a MapList
Since:
AEF 9.1.0.0

toMapList

public static MapList toMapList(matrix.db.RelationshipWithSelectList list,
                                matrix.util.Pattern includeType,
                                matrix.util.Pattern includeRelationship,
                                java.util.Map includeMap,
                                java.lang.String relKeyPrefix)
Transform RelationshipWithSelectList to a MapList.
Parameters:
list - the ExpansionWithSelectList
includeType - filter for businees types we want returned. If the type of the object is not found in this list then it will not be returned in the MapList. If null all types will be returned
includeRelationship - filter for relationships we want returned. If the relationship of the object does not match one in this list then it will not be returned in the MapList. If null all relationship types will be returned
includeMap - a name/value pair that is used to filter data. If the name matches and the values match each other than they will be returned in the MapList. If null the value checking is ignored
relKeyPrefix - - the prefix added to relationship keys to prevent key name collision with object keys.
Returns:
a MapList
Since:
AEF ?.?.?.?