public class ProjektDao extends MandantDependentBaseDao<Projekt> implements IProjektDao
Constructor and Description |
---|
ProjektDao() |
getEntityRefs, read
all, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntityRefs, read
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getTransactionHandler, read, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, update, update
public Projekt getByUUID(IEntityContext ec, Mandant client, String uuid)
getByUUID
in interface IProjektDao
public Projekt getByUUID(IEntityContext ec, Mandant client, UUID uuid)
getByUUID
in interface IProjektDao
public byte[] getPreviewImage(IEntityContext ec, Projekt project)
getPreviewImage
in interface IProjektDao
public boolean isActivationAllowed(IEntityContext ec, Projekt projekt)
isActivationAllowed
in interface IProjektDao
public boolean isZugriffsberechtigt(IEntityContext ec, Projekt project, Benutzer user)
isZugriffsberechtigt
in interface IProjektDao
public boolean isEditingAllowed(IEntityContext ec, Projekt p, Benutzer ben)
isEditingAllowed
in interface IProjektDao
public boolean isFsAllowed(IEntityContext ec, Projekt project, FrontendServer fs)
isFsAllowed
in interface IProjektDao
public List<Projekt> getProjektByEditorBenutzer(IEntityContext ec, Benutzer benutzer, Mandant mandant)
getProjektByEditorBenutzer
in interface IProjektDao
public List<Projekt> getProjektByEditorBenutzer(IEntityContext ec, Benutzer benutzer, Mandant mandant, String projectScope)
getProjektByEditorBenutzer
in interface IProjektDao
public List<Projekt> allVisibleProjects(IEntityContext ec, Benutzer benutzer, Mandant mandant, String projectScope, boolean includeTemplates)
allVisibleProjects
in interface IProjektDao
public List<Projekt> allVisibleProjects(IEntityContext ec, Benutzer benutzer, Mandant mandant, String projectScope, boolean includeTemplates, de.xima.cmn.criteria.QueryCriteriaManager customQcm)
allVisibleProjects
in interface IProjektDao
public de.xima.cmn.criteria.QueryCriteriaManager allVisibleProjectsQcm(IEntityContext ec, Benutzer user, Mandant client, String projectScope, boolean includeTemplates)
allVisibleProjectsQcm
in interface IProjektDao
public List<Projekt> allEditableProjects(IEntityContext ec, Benutzer benutzer, Mandant mandant, String projectScope, boolean includeTemplates)
allEditableProjects
in interface IProjektDao
public 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 IProjektDao
public List<Projekt> allByClient(IEntityContext ec, Mandant client, boolean includeTemplates)
allByClient
in interface IProjektDao
public List<Projekt> allByClient(IEntityContext ec, Mandant client, String scope, boolean includeTemplates)
allByClient
in interface IProjektDao
public List<Projekt> allTemplatesByClient(IEntityContext ec, Mandant client)
allTemplatesByClient
in interface IProjektDao
public List<Projekt> allTemplatesByClient(IEntityContext ec, Mandant client, String scope)
allTemplatesByClient
in interface IProjektDao
public void updatePreviewImage(IEntityContext ec, Projekt project, byte[] data)
updatePreviewImage
in interface IProjektDao
protected IFCDaoActionHook<Projekt> getPreActionHook()
getPreActionHook
in class GenericDao<Projekt>
protected IFCDaoActionHook<Projekt> getPostActionHook()
getPostActionHook
in class GenericDao<Projekt>
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.