Class AttachmentRequestDAO

  • All Implemented Interfaces:
    IAttachmentRequestDAO

    public final class AttachmentRequestDAO
    extends java.lang.Object
    implements IAttachmentRequestDAO
    This class provides Data Access methods for AttachmentRequest objects
    • Constructor Detail

      • AttachmentRequestDAO

        public AttachmentRequestDAO()
    • Method Detail

      • insert

        public void insert​(AttachmentRequest attachmentRequest)
        Insert a new record in the table.
        Specified by:
        insert in interface IAttachmentRequestDAO
        Parameters:
        attachmentRequest - instance of the AttachmentRequest object to inssert
      • loadByCuid

        public java.util.List<AttachmentRequest> loadByCuid​(java.lang.String strCuid)
        Load the data from the table
        Specified by:
        loadByCuid in interface IAttachmentRequestDAO
        Parameters:
        strCuid - The cuid of the attachmentRequest
        Returns:
        The instance of the attachmentRequest
      • delete

        public void delete​(int nAttachmentRequestId)
        Delete a record from the table
        Specified by:
        delete in interface IAttachmentRequestDAO
        Parameters:
        nAttachmentRequestId - int identifier of the AttachmentRequest to delete
      • store

        public void store​(AttachmentRequest attachmentRequest)
        Update the record in the table
        Specified by:
        store in interface IAttachmentRequestDAO
        Parameters:
        attachmentRequest - the reference of the AttachmentRequest
      • selectAttachmentRequestsList

        public java.util.List<AttachmentRequest> selectAttachmentRequestsList()
        Load the data of all the attachmentRequest objects and returns them as a List
        Specified by:
        selectAttachmentRequestsList in interface IAttachmentRequestDAO
        Returns:
        The List which contains the data of all the attachmentRequest objects