public class ProjektDao extends MandantDependentBaseDao<Projekt> implements IProjektDao
| Constructor and Description |
|---|
ProjektDao() |
| Modifier and Type | Method and Description |
|---|---|
List<Projekt> |
allByClient(IEntityContext ec,
Mandant client,
boolean includeTemplates) |
List<Projekt> |
allByClient(IEntityContext ec,
Mandant client,
String scope,
boolean includeTemplates) |
List<Projekt> |
allByMandant(IEntityContext ec,
Mandant mandant)
Deprecated.
|
List<Projekt> |
allEditableProjects(IEntityContext ec,
Benutzer benutzer,
Mandant mandant,
String projectScope,
boolean includeTemplates) |
List<Projekt> |
allEditableProjects(IEntityContext ec,
Benutzer benutzer,
Mandant mandant,
String projectScope,
boolean includeTemplates,
de.xima.cmn.criteria.QueryCriteriaManager customQcm) |
List<Projekt> |
allTemplatesByClient(IEntityContext ec,
Mandant client) |
List<Projekt> |
allTemplatesByClient(IEntityContext ec,
Mandant client,
String scope) |
List<Projekt> |
allVisibleProjects(IEntityContext ec,
Benutzer benutzer,
Mandant mandant,
String projectScope,
boolean includeTemplates) |
List<Projekt> |
allVisibleProjects(IEntityContext ec,
Benutzer benutzer,
Mandant mandant,
String projectScope,
boolean includeTemplates,
de.xima.cmn.criteria.QueryCriteriaManager customQcm) |
de.xima.cmn.criteria.QueryCriteriaManager |
allVisibleProjectsQcm(IEntityContext ec,
Benutzer user,
Mandant client,
String projectScope,
boolean includeTemplates) |
String |
findUniqueName(IEntityContext ec,
Mandant client,
String candidate,
Projekt exclude)
Returns a name that is not taken by another
Projekt in the given client other than the excluded data
source. |
String |
findUniqueTitle(IEntityContext ec,
Mandant client,
String candidate,
Projekt exclude)
Returns a title that is not taken by another
Projekt in the given client other than the excluded data
source. |
Projekt |
getByUUID(IEntityContext ec,
Mandant client,
String uuid) |
Projekt |
getByUUID(IEntityContext ec,
Mandant client,
UUID uuid) |
protected IFCDaoActionHook<Projekt> |
getPostActionHook() |
protected IFCDaoActionHook<Projekt> |
getPreActionHook() |
byte[] |
getPreviewImage(IEntityContext ec,
Projekt project) |
List<Projekt> |
getProjektByEditorBenutzer(IEntityContext ec,
Benutzer benutzer,
Mandant mandant) |
List<Projekt> |
getProjektByEditorBenutzer(IEntityContext ec,
Benutzer benutzer,
Mandant mandant,
String projectScope) |
boolean |
isActivationAllowed(IEntityContext ec,
Projekt projekt) |
boolean |
isEditingAllowed(IEntityContext ec,
Projekt p,
Benutzer ben) |
boolean |
isFsAllowed(IEntityContext ec,
Projekt project,
FrontendServer fs) |
boolean |
isNameExisiting(IEntityContext ec,
Mandant client,
String name)
Returns whether or not the given project name exists within the given client
|
boolean |
isTitleExisiting(IEntityContext ec,
Mandant client,
String name)
Returns whether or not the given project title exists within the given client
|
boolean |
isZugriffsberechtigt(IEntityContext ec,
Projekt project,
Benutzer user) |
void |
updatePreviewImage(IEntityContext ec,
Projekt project,
byte[] data) |
getEntityRefs, readall, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEntityRefs, readall, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, updatepublic Projekt getByUUID(IEntityContext ec, Mandant client, String uuid)
getByUUID in interface IProjektDaopublic Projekt getByUUID(IEntityContext ec, Mandant client, UUID uuid)
getByUUID in interface IProjektDaopublic byte[] getPreviewImage(IEntityContext ec, Projekt project)
getPreviewImage in interface IProjektDaopublic boolean isActivationAllowed(IEntityContext ec, Projekt projekt)
isActivationAllowed in interface IProjektDaopublic boolean isZugriffsberechtigt(IEntityContext ec, Projekt project, Benutzer user)
isZugriffsberechtigt in interface IProjektDaopublic boolean isEditingAllowed(IEntityContext ec, Projekt p, Benutzer ben)
isEditingAllowed in interface IProjektDaopublic boolean isFsAllowed(IEntityContext ec, Projekt project, FrontendServer fs)
isFsAllowed in interface IProjektDaopublic List<Projekt> getProjektByEditorBenutzer(IEntityContext ec, Benutzer benutzer, Mandant mandant)
getProjektByEditorBenutzer in interface IProjektDaopublic List<Projekt> getProjektByEditorBenutzer(IEntityContext ec, Benutzer benutzer, Mandant mandant, String projectScope)
getProjektByEditorBenutzer in interface IProjektDaopublic List<Projekt> allVisibleProjects(IEntityContext ec, Benutzer benutzer, Mandant mandant, String projectScope, boolean includeTemplates)
allVisibleProjects in interface IProjektDaopublic List<Projekt> allVisibleProjects(IEntityContext ec, Benutzer benutzer, Mandant mandant, String projectScope, boolean includeTemplates, de.xima.cmn.criteria.QueryCriteriaManager customQcm)
allVisibleProjects in interface IProjektDaopublic de.xima.cmn.criteria.QueryCriteriaManager allVisibleProjectsQcm(IEntityContext ec, Benutzer user, Mandant client, String projectScope, boolean includeTemplates)
allVisibleProjectsQcm in interface IProjektDaopublic List<Projekt> allEditableProjects(IEntityContext ec, Benutzer benutzer, Mandant mandant, String projectScope, boolean includeTemplates)
allEditableProjects in interface IProjektDaopublic List<Projekt> allEditableProjects(IEntityContext ec, Benutzer benutzer, Mandant mandant, String projectScope, boolean includeTemplates, de.xima.cmn.criteria.QueryCriteriaManager customQcm)
allEditableProjects in interface IProjektDao@Deprecated public List<Projekt> allByMandant(IEntityContext ec, Mandant mandant)
allByClient(IEntityContext, Mandant, boolean)allByMandant in interface IProjektDaopublic List<Projekt> allByClient(IEntityContext ec, Mandant client, boolean includeTemplates)
allByClient in interface IProjektDaopublic List<Projekt> allByClient(IEntityContext ec, Mandant client, String scope, boolean includeTemplates)
allByClient in interface IProjektDaopublic List<Projekt> allTemplatesByClient(IEntityContext ec, Mandant client)
allTemplatesByClient in interface IProjektDaopublic String findUniqueName(IEntityContext ec, Mandant client, String candidate, Projekt exclude)
IProjektDaoProjekt in the given client other than the excluded data
source. An index will be added to the candidate if necessary.findUniqueName in interface IProjektDaoec - IEntityContext to be usedclient - Mandant for which a unique project name should be generatedcandidate - String project name candiate to be made uniqueexclude - Projekt project to be excluded from searchpublic String findUniqueTitle(IEntityContext ec, Mandant client, String candidate, Projekt exclude)
IProjektDaoProjekt in the given client other than the excluded data
source. An index will be added to the candidate if necessary.findUniqueTitle in interface IProjektDaoec - IEntityContext to be usedclient - Mandant for which a unique project title should be generatedcandidate - String project title candiate to be made uniqueexclude - Projekt project to be excluded from searchpublic boolean isNameExisiting(IEntityContext ec, Mandant client, String name)
IProjektDaoisNameExisiting in interface IProjektDaoec - IEntityContext to be usedclient - Mandant for which to check uniquenesspublic boolean isTitleExisiting(IEntityContext ec, Mandant client, String name)
IProjektDaoisTitleExisiting in interface IProjektDaoec - IEntityContext to be usedclient - Mandant for which to check uniquenesspublic List<Projekt> allTemplatesByClient(IEntityContext ec, Mandant client, String scope)
allTemplatesByClient in interface IProjektDaopublic void updatePreviewImage(IEntityContext ec, Projekt project, byte[] data)
updatePreviewImage in interface IProjektDaoprotected IFCDaoActionHook<Projekt> getPreActionHook()
getPreActionHook in class GenericDao<Projekt>protected IFCDaoActionHook<Projekt> getPostActionHook()
getPostActionHook in class GenericDao<Projekt>Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.