Class ProjectDao


public class ProjectDao extends AbstractDao
Provides a DAO for the Project entity.
Since:
4.0.0
  • Constructor Details

    • ProjectDao

      public ProjectDao()
  • Method Details

    • getProjectForPK

      public Project getProjectForPK(Object projectId)
      Return the project with the specified ID
      Parameters:
      projectId - the OID of the project (required)
      Returns:
      the matching project, or null if not found
    • getClientProjectForName

      public Project getClientProjectForName(Long clientId, String projectName)
      Return the project for the specified client and project name.
      Parameters:
      clientId - the owning client ID (required)
      projectName - the name of the project (required)
      Returns:
      the project for the specified client and project name
    • getClientProjectForNormalizedName

      public Project getClientProjectForNormalizedName(Long clientId, String projectNormalizedName)
      Return the project for the specified client and project normalized name.
      Parameters:
      clientId - the owning client ID (required)
      projectNormalizedName - the normalized name of the project (required)
      Returns:
      the project for the specified client and project normalized name
      Since:
      17.10.0