com.ibm.commerce.edp.beans

Class EDPSensitiveDataMaskHelperDataBean

    • Field Detail

      • COPYRIGHT

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

      • EDPSensitiveDataMaskHelperDataBean

        public EDPSensitiveDataMaskHelperDataBean()
    • Method Detail

      • setViewCommandContext

        public void setViewCommandContext(ViewCommandContext aViewCommandContext)
        This method sets the view command context within this bean.
        Overrides:
        setViewCommandContext in class SmartDataBeanImpl
        Parameters:
        aViewCommandContext - A ViewCommandContext that specifies the view command context.
      • setPlainString

        public void setPlainString(java.lang.String plainString)
        This method sets the plain string which will be masked.
        Specified by:
        setPlainString in interface EDPSensitiveDataMaskHelperInputDataBean
        Parameters:
        plainString - A String that specifies the plain string.
      • setMaskChar

        public void setMaskChar(java.lang.String maskChar)
        This method sets the char used to mark the string.
        Specified by:
        setMaskChar in interface EDPSensitiveDataMaskHelperInputDataBean
        Parameters:
        maskChar - A String that specifies the char used to mask the string.
      • getMaskChar

        public java.lang.String getMaskChar()
        This method gets the char used to mark the string.
        Returns:
        A String that specifies the char used to mask the string.
      • setPlainLength

        public void setPlainLength(int plainLength)
        This method sets the length of the plain text after masking the string.
        Specified by:
        setPlainLength in interface EDPSensitiveDataMaskHelperInputDataBean
        Parameters:
        plainLength - An int that specifies the length of the plain text after masking the string.
      • getPlainLength

        public int getPlainLength()
        THis method gets the length of the plain text after masking the string.
        Returns:
        An int that specifies the length of the plain text.
      • populate

        public void populate()
                      throws java.lang.Exception
        This method retrieves data from the database.
        Specified by:
        populate in interface SmartDataBean
        Overrides:
        populate in class SmartDataBeanImpl
        Throws:
        java.lang.Exception