Class ManagedFileListDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, Delegator, Protectable,

    public class ManagedFileListDataBean
    extends SmartDataBeanImpl
    implements Protectable, Delegator
    The ManagedFileListDataBean can operate in two modes depending on the values of the file directory ID and the file full path.

    Mode 1: when the file directory ID is specified.
    This ManagedFileListDataBean when populated will give a list of managed file databeans. The list contains all the managed files in the given directory.

    Mode 2: when the file full path is specified.
    The ManagedFileListDataBean can be used to search managed files by the given file full path. The search is case sensitive. The search criteria can be starts with, contains, ends with and exact match.

    See Also:
    Serialized Form
    • Field Detail


        public static final java.lang.String COPYRIGHT
        The IBM copyright notice field.
        See Also:
        Constant Field Values

        public static final java.lang.String MATCHCASE_STARTWITH
        Case sensitive; starts with
        See Also:
        Constant Field Values

        public static final java.lang.String MATCHCASE_CONTAINING
        Case sensitive; contains
        See Also:
        Constant Field Values

        public static final java.lang.String MATCHCASE_ENDWITH
        Case sensitive; ends with
        See Also:
        Constant Field Values

        public static final java.lang.String EXACT_MATCH
        Case sensitive; exact match
        See Also:
        Constant Field Values
    • Constructor Detail

      • ManagedFileListDataBean

        public ManagedFileListDataBean()
    • Method Detail

      • setFileDirectoryId

        public void setFileDirectoryId(java.lang.Long aFileDirectoryId)
        This method sets the file directory id.
        aFileDirectoryId - the file directory id.
      • getFileDirectoryId

        public java.lang.Long getFileDirectoryId()
        This method gets the file directory id.
        the file directory id.
      • getFilePath

        public java.lang.String getFilePath()
        Get the file path.
        Returns the file path.
      • setFilePath

        public void setFilePath(java.lang.String astrFilePath)
        Set the file path.
        astrFilePath - The file path to set.
      • populate

        public void populate()
                      throws java.lang.Exception
        This method is used to populate the ManagedFileListDataBean. The file directory ID must be set using the setFileDirectoryId method before running this method.
        Specified by:
        populate in interface SmartDataBean
        populate in class SmartDataBeanImpl
      • getManagedFiles

        public java.util.List getManagedFiles()
        This method returns the list of managed files. The elements in the list are of type ManagedFileDataBean.
        the list of managed files.
      • setManagedFiles

        public void setManagedFiles(java.util.List alstManagedFiles)
        This method sets the list of managed files.
        alstManagedFiles - The list of managed files.
      • getDelegate

        public Protectable getDelegate()
                                throws java.lang.Exception
        This method returns the Protectable object whose access control policies will indirectly control the access control for this object.
        Specified by:
        getDelegate in interface Delegator
        The Protectable object whose access control policies will indirectly control the access control for this object
      • getOwner

        public java.lang.Long getOwner()
                                throws java.lang.Exception
        Return the member reference number of the owner.
        Specified by:
        getOwner in interface Protectable
        the member ID of the owner.
        java.lang.Exception - thrown when the owner's member ID cannot be retrieved through the StoreAccessBean.
      • getFilePathSearchCriteria

        public java.lang.String getFilePathSearchCriteria()
        Get file path search criteria.
        Returns the file path search criteria.
      • setFilePathSearchCriteria

        public void setFilePathSearchCriteria(java.lang.String astrFilePathSearchCriteria)
        Set file path search criteria.
        astrFilePathSearchCriteria - The file path search criteria to set.