public interface ProjectDao extends BambooObjectDao<Project>
| Modifier and Type | Method and Description |
|---|---|
Number |
count() |
void |
delete(Project project)
Removes the given entity from the database
|
Collection<? extends Project> |
findAll() |
Project |
findById(long id) |
List<Project> |
getAllProjectsMarkedForDeletion() |
Project |
getProjectByKey(String key) |
Project |
getProjectByName(String projectName) |
boolean |
isExistingProjectKey(String projectKey) |
boolean |
isExistingProjectName(String projectName) |
countAll, countWithRestriction, deleteAll, executeReturnInt, executeReturnLong, findAll, findById, save, saveAllProject findById(long id)
Collection<? extends Project> findAll()
Number count()
void delete(@NotNull
Project project)
BambooObjectDaodelete in interface BambooObjectDao<Project>project - entity to be removedboolean isExistingProjectName(@NotNull
String projectName)
boolean isExistingProjectKey(@NotNull
String projectKey)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.