com.ibm.commerce.context.content.resources.file.beans

Class ManagedFileDataBean

  • java.lang.Object
    • com.ibm.commerce.context.content.resources.file.beans.ManagedFileDataBean
  • All Implemented Interfaces:
    DataBean, java.io.Serializable


    public class ManagedFileDataBean
    extends java.lang.Object
    implements DataBean
    This class holds the metadata of a content managed file.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright notice field.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Short getAssociated()
      This method returns the Short value to indicate whether the managed file is associated with an attachment.
      java.lang.Long getFileDirectoryId()
      This method returns the content managed file directory id.
      java.lang.Long getFileId()
      This method returns the content managed file id.
      java.lang.String getFilePath()
      This method returns the content managed file path.
      java.lang.Long getFileSize()
      This method returns the content managed file size.
      java.lang.Integer getStoreId()
      This method returns the store ID of the managed file.
      void setAssociated(java.lang.Short aAssociated)
      This method sets the Short value to indicate whether the managed file is associated with an attachment.
      void setFileDirectoryId(java.lang.Long anValue)
      This method sets the id of the content managed file directory.
      void setFileId(java.lang.Long anFileId)
      This method sets the content managed file id.
      void setFilePath(java.lang.String astrFilePath)
      This method sets the content managed file path.
      void setFileSize(java.lang.Long anFileSize)
      This method sets the content managed file size.
      void setStoreId(java.lang.Integer anStoreId)
      This method sets the store ID of the managed file.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

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

      • ManagedFileDataBean

        public ManagedFileDataBean()
    • Method Detail

      • getFileDirectoryId

        public java.lang.Long getFileDirectoryId()
        This method returns the content managed file directory id.
        Returns:
        The content managed file directory id.
      • setFileDirectoryId

        public void setFileDirectoryId(java.lang.Long anValue)
        This method sets the id of the content managed file directory.
        Parameters:
        anValue - The directory id to set.
      • getFileId

        public java.lang.Long getFileId()
        This method returns the content managed file id.
        Returns:
        The content managed file id.
      • setFileId

        public void setFileId(java.lang.Long anFileId)
        This method sets the content managed file id.
        Parameters:
        anFileId - The content managed file id to set.
      • getFileSize

        public java.lang.Long getFileSize()
        This method returns the content managed file size.
        Returns:
        The content managed file size.
      • setFileSize

        public void setFileSize(java.lang.Long anFileSize)
        This method sets the content managed file size.
        Parameters:
        anFileSize - The content managed file size to set.
      • getFilePath

        public java.lang.String getFilePath()
        This method returns the content managed file path.
        Returns:
        The content managed file path.
      • setFilePath

        public void setFilePath(java.lang.String astrFilePath)
        This method sets the content managed file path.
        Parameters:
        astrFilePath - The content managed file path to set.
      • getAssociated

        public java.lang.Short getAssociated()
        This method returns the Short value to indicate whether the managed file is associated with an attachment.
        Returns:
        the Short value to indicate whether the managed file is associated with an attachment.
      • setAssociated

        public void setAssociated(java.lang.Short aAssociated)
        This method sets the Short value to indicate whether the managed file is associated with an attachment.
        Parameters:
        aAssociated - the Short value to indicate whether the managed file is associated with an attachment.
      • getStoreId

        public java.lang.Integer getStoreId()
        This method returns the store ID of the managed file.
        Returns:
        Returns the store ID.
      • setStoreId

        public void setStoreId(java.lang.Integer anStoreId)
        This method sets the store ID of the managed file.
        Parameters:
        anStoreId - The store ID to set.