Class FolderDao


  • public class FolderDao
    extends AbstractDao
    Provides a DAO for the Folder entity.
    Since:
    4.0.0
    • Constructor Detail

      • FolderDao

        public FolderDao()
    • Method Detail

      • getFolderForPK

        public Folder getFolderForPK​(Object folderId)
        Return the folder with the specified ID
        Parameters:
        folderId - the OID of the folder (required)
        Returns:
        the matching folder, or null if not found
      • getFolderForName

        public Folder getFolderForName​(Long projectId,
                                       String folderName)
        Return the folder for the specified project and name.
        Parameters:
        projectId - the project ID (required)
        folderName - the name of the folder (required)
        Returns:
        the folder for the specified project and name