com.ibm.commerce.usermanagement.commands

Class AuditBaseCmdImpl

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
      • CLASSNAME

        public static final java.lang.String CLASSNAME
        The full qualified class name.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AuditBaseCmdImpl

        public AuditBaseCmdImpl()
    • Method Detail

      • getAuditResult

        public boolean getAuditResult()
        Return the audit result.
        Returns:
        true if passes the audit; false otherwise.
      • getPathSeparator

        public java.lang.String getPathSeparator()
        Gets the path separator. Path separator is used to separate the store directory and the property file name. For example:
         "store1/UserRegistration"
         
        "/" is the path separator.
        Returns:
        The path separator.
      • getPropertyFileName

        public java.lang.String getPropertyFileName()
        Gets the name of property file.
        Returns:
        The name of the property file.
      • getStoreDirectory

        public java.lang.String getStoreDirectory()
        Gets the name of the store directory, which is used for finding property files that belong to this store.
        Returns:
        The name of the store directory.
      • setErrorViewName

        public void setErrorViewName(java.lang.String astrErrorViewName)
        Sets the name of the error view.
        Specified by:
        setErrorViewName in interface AuditBaseCmd
        Parameters:
        astrErrorViewName - The name of the error view.
      • setPathSeparator

        public void setPathSeparator(java.lang.String astrPathSeparator)
        Sets the path separator. Path separator is used to separate the store directory and the property file name. For example:
         "store1/UserRegistration"
         
        "/" is the path separator.
        If path separator is not set, the databean will use the default one: "/" (working under Windows platform).
        Parameters:
        astrPathSeparator - The path separator.
      • setPropertyFileName

        public void setPropertyFileName(java.lang.String astrPropertyFileName)
        Sets the name of the property file.
        Specified by:
        setPropertyFileName in interface AuditBaseCmd
        Parameters:
        The - name of the property file.
      • setStoreDirectory

        public void setStoreDirectory(java.lang.String astrStoreDirectory)
        Sets the name of store directory, which is used as the path to find the property files. For example, if the property files of a store are under the directory "store31" and the parent directory of "store31" directory is included in the class path, then call this method to set StoreDirectory to "store31". If the store directory is not set, ResourceBundleDataBean will try to get it from the commandContext.
        Parameters:
        astrStoreDirectory - The name of store directory.