Interface IPolicyDefault

    • Method Detail

      • getConfigStore

        IConfigStore getConfigStore()
        Retrieves the configuration store of this default.
        Returns:
        configuration store of this default policy
      • populate

        void populate​(IRequest request)
               throws EProfileException
        Populates the request with this policy default.
        Parameters:
        request - request to be populated
        Throws:
        EProfileException - failed to populate
      • getName

        java.lang.String getName​(java.util.Locale locale)
        Retrieves the localizable name of this policy.
        Parameters:
        locale - locale of the end user
        Returns:
        localized name of this default policy
      • getText

        java.lang.String getText​(java.util.Locale locale)
        Retrieves the localizable description of this policy.
        Parameters:
        locale - locale of the end user
        Returns:
        localized description of this default policy
      • getValueNames

        java.util.Enumeration<java.lang.String> getValueNames()
        Retrieves a list of names of the property.
        Returns:
        a list of property names. The values are of type java.lang.String
      • getValueDescriptor

        IDescriptor getValueDescriptor​(java.util.Locale locale,
                                       java.lang.String name)
        Retrieves the descriptor of the given property by name. The descriptor contains syntax information.
        Parameters:
        locale - locale of the end user
        name - name of property
        Returns:
        descriptor of the property
      • setValue

        void setValue​(java.lang.String name,
                      java.util.Locale locale,
                      IRequest request,
                      java.lang.String value)
               throws EPropertyException
        Sets the value of the given value property by name.
        Parameters:
        name - name of property
        locale - locale of the end user
        request - request
        value - value to be set in the given request
        Throws:
        EPropertyException - failed to set property
      • getValue

        java.lang.String getValue​(java.lang.String name,
                                  java.util.Locale locale,
                                  IRequest request)
                           throws EPropertyException
        Retrieves the value of the given value property by name.
        Parameters:
        name - name of property
        locale - locale of the end user
        request - request
        Throws:
        EPropertyException - failed to get property