public interface IProjektDao extends IMandantDependentBaseDao<Projekt>
Modifier and Type | Method and Description |
---|---|
List<Projekt> |
allByClient(IEntityContext ec,
Mandant mandant,
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 mandant) |
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) |
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 p,
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 p,
Benutzer ben) |
void |
updatePreviewImage(IEntityContext ec,
Projekt project,
byte[] data) |
getEntityRefs, read
all, 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, update
Projekt getByUUID(IEntityContext ec, Mandant client, String uuid)
Projekt getByUUID(IEntityContext ec, Mandant client, UUID uuid)
boolean isActivationAllowed(IEntityContext ec, Projekt projekt)
boolean isZugriffsberechtigt(IEntityContext ec, Projekt p, Benutzer ben)
boolean isEditingAllowed(IEntityContext ec, Projekt p, Benutzer ben)
boolean isFsAllowed(IEntityContext ec, Projekt p, FrontendServer fs)
byte[] getPreviewImage(IEntityContext ec, Projekt project)
List<Projekt> allByClient(IEntityContext ec, Mandant mandant, boolean includeTemplates)
List<Projekt> allByClient(IEntityContext ec, Mandant client, String scope, boolean includeTemplates)
List<Projekt> allTemplatesByClient(IEntityContext ec, Mandant mandant)
List<Projekt> allTemplatesByClient(IEntityContext ec, Mandant client, String scope)
List<Projekt> getProjektByEditorBenutzer(IEntityContext ec, Benutzer benutzer, Mandant mandant)
List<Projekt> getProjektByEditorBenutzer(IEntityContext ec, Benutzer benutzer, Mandant mandant, String projectScope)
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)
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)
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)
Projekt
in the given client other than the excluded data
source. An index will be added to the candidate if necessary.ec
- 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 searchString findUniqueTitle(IEntityContext ec, Mandant client, String candidate, Projekt exclude)
Projekt
in the given client other than the excluded data
source. An index will be added to the candidate if necessary.ec
- 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 searchboolean isNameExisiting(IEntityContext ec, Mandant client, String name)
ec
- IEntityContext
to be usedclient
- Mandant
for which to check uniquenesscandidate
- String
project name to checkboolean isTitleExisiting(IEntityContext ec, Mandant client, String name)
ec
- IEntityContext
to be usedclient
- Mandant
for which to check uniquenesscandidate
- String
project title to checkvoid updatePreviewImage(IEntityContext ec, Projekt project, byte[] data)
@Deprecated List<Projekt> allByMandant(IEntityContext ec, Mandant mandant)
allByClient(IEntityContext, Mandant, boolean)
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.