psdi.common.condition

Class MaxDomValConditionCache

  • java.lang.Object
    • psdi.common.condition.MaxDomValConditionCache
    • Constructor Detail

      • MaxDomValConditionCache

        public MaxDomValConditionCache()
    • Method Detail

      • getName

        public java.lang.String getName()
        The name of the cache is MaxDomValConditionCache (non-Javadoc)
        Specified by:
        getName in interface MaximoCache
        Returns:
        See Also:
        MaximoCache.getName()
      • reload

        public void reload(java.lang.String domainId,
                           java.sql.Connection con)
                    throws MXException
        Reload domValConditions for a specified domain.
        Throws:
        MXException
      • getAllConditionNumOfDomain

        public java.lang.String[] getAllConditionNumOfDomain(java.lang.String domainId,
                                                             java.lang.String objectName)
        Get all the condition numbers associated with any valueIDs of the domain for the passed in objectname. A value condition without an object applies to all objects.
        Parameters:
        domainId -
        objectName -
        Returns:
        String array of conditionnum
      • getAllConditions

        public java.util.ArrayList[] getAllConditions(java.lang.String domainId,
                                                      java.lang.String valueId,
                                                      java.lang.String objectName)
        Get all the conditions that applies to the object for a domain's particular valueID.
        Parameters:
        domainId -
        valueId -
        objectName -
        Returns:
        [0] = conditions that apply to all objects (for this domainid and valueID); [1] = conditions that apply to this object only (for this domainid and valueID)
      • getAllValueIds

        public java.lang.String[] getAllValueIds(java.lang.String domainId,
                                                 java.lang.String objectName)
        Get the valueIDs that have a condition within this domain and objectname (or any object).
        Parameters:
        domainId -
        objectName -
        Returns:
        ValueIDs