public class ProjektHandler extends GenericHandler implements IProjektHandler
LOG| Constructor and Description |
|---|
ProjektHandler() |
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, resultTotalCount, serializableList, update, updategetNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, resultTotalCount, update, updategetNamepublic boolean isActivationAllowed(UserContext uc, Projekt projekt)
isActivationAllowed in interface IProjektHandlerpublic boolean isFsAllowed(UserContext uc, Projekt project, FrontendServer fs)
isFsAllowed in interface IProjektHandleruc - the UserContext to useproject - the projectfs - the frontendserverBoolean of the Projekt is allowed on this FrontendServerpublic FormVersion getCurrentFormVersion(UserContext uc, Projekt projekt, FrontendServer fs)
getCurrentFormVersion in interface IProjektHandleruc - the ucprojekt - the projektfs - the FrontendServerpublic Projekt addProjektRessource(UserContext uc, long projektId, long ressourceId)
addProjektRessource in interface IProjektHandlerpublic Boolean isZugriffsbeschraenkt(UserContext uc, Projekt projekt)
isZugriffsbeschraenkt in interface IProjektHandlerpublic Boolean isZugriffsberechtigt(UserContext uc, Projekt projekt, Benutzer ben)
isZugriffsberechtigt in interface IProjektHandlerpublic Boolean isEditingAllowed(UserContext uc, Projekt projekt, Benutzer ben)
isEditingAllowed in interface IProjektHandleruc - Current user context.projekt - Project for which to check if the user may edit it.ben - User to check.public Projekt importProjekt(UserContext uc, Mandant mandant, byte[] bytes, String name, String beschreibung, String title) throws Exception
importProjekt in interface IProjektHandlerException@Deprecated public List<Projekt> getAllByMandant(UserContext uc, Mandant mandant)
getAllByClient(UserContext, Mandant, boolean)getAllByMandant in interface IProjektHandleruc - the UserContext to usemandant - the clientList of Projektspublic List<Projekt> getAllByClient(UserContext uc, Mandant mandant, boolean includeTemplates)
getAllByClient in interface IProjektHandlerpublic List<Projekt> getAllByClient(UserContext uc, Mandant mandant, String scope, boolean includeTemplates)
getAllByClient in interface IProjektHandlerpublic List<Projekt> getAllTemplatesByClient(UserContext uc, Mandant client)
getAllTemplatesByClient in interface IProjektHandlerpublic List<Projekt> getAllTemplatesByClient(UserContext uc, Mandant client, String scope)
getAllTemplatesByClient in interface IProjektHandlerpublic List<Projekt> getAllByEditorUser(UserContext uc, Benutzer editor, Mandant client, String projectScope)
IProjektHandlergetAllByEditorUser in interface IProjektHandleruc - UserContexteditor - Benutzer eidtor of the projectsclient - Mandant client of the projectsprojectScope - the scope of the projects to loadList of Projektspublic Projekt copy(UserContext uc, Projekt projekt, long sourceProjectId, long formVersionId) throws Exception
copy in interface IProjektHandlerExceptionpublic Projekt getByUUID(UserContext uc, Mandant client, String uuid)
getByUUID in interface IProjektHandlerpublic Projekt getByUUID(UserContext uc, Mandant client, UUID uuid)
getByUUID in interface IProjektHandlerpublic Map<String,String> getCustomAttributes(UserContext uc, Projekt project)
getCustomAttributes in interface IProjektHandlerpublic List<BenutzerGruppe> getAccessGroups(UserContext uc, Projekt project)
getAccessGroups in interface IProjektHandlerCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.