public interface IProjektHandler extends IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
getName
FormVersion getCurrentFormVersion(UserContext uc, Projekt projekt, FrontendServer fs)
uc
- the ucprojekt
- the projektfs
- the FrontendServer
List<BenutzerGruppe> getAccessGroups(UserContext uc, Projekt project)
uc
- project
- Boolean isEditingAllowed(UserContext uc, Projekt projekt, Benutzer ben)
uc
- Current user context.projekt
- Project for which to check if the user may edit it.ben
- User to check.Boolean isZugriffsbeschraenkt(UserContext uc, Projekt projekt)
Boolean isZugriffsberechtigt(UserContext uc, Projekt projekt, Benutzer ben)
Projekt importProjekt(UserContext uc, Mandant mandant, byte[] bytes, String name, String beschreibung, String title) throws Exception
Exception
Projekt addProjektRessource(UserContext uc, long projektId, long ressourceId)
List<Projekt> getAllByClient(UserContext uc, Mandant mandant, boolean includeTemplates)
List<Projekt> getAllByClient(UserContext uc, Mandant mandant, String scope, boolean includeTemplates)
List<Projekt> getAllTemplatesByClient(UserContext uc, Mandant client)
List<Projekt> getAllTemplatesByClient(UserContext uc, Mandant client, String scope)
List<Projekt> getAllByEditorUser(UserContext uc, Benutzer editor, Mandant client, String projectScope)
uc
- UserContext
editor
- Benutzer
eidtor of the projectsclient
- Mandant
client of the projectsprojectScope
- the scope of the projects to loadList
of Projekt
sProjekt copy(UserContext uc, Projekt projekt, long id, long fvId) throws Exception
Exception
boolean isActivationAllowed(UserContext uc, Projekt projekt)
boolean isFsAllowed(UserContext uc, Projekt project, FrontendServer fs)
uc
- the UserContext
to useproject
- the projectfs
- the frontendserverBoolean
of the Projekt
is allowed on this FrontendServer
Projekt getByUUID(UserContext uc, Mandant client, String uuid)
Projekt getByUUID(UserContext uc, Mandant client, UUID uuid)
Map<String,String> getCustomAttributes(UserContext uc, Projekt project)
@Deprecated List<Projekt> getAllByMandant(UserContext uc, Mandant mandant)
getAllByClient(UserContext, Mandant, boolean)
uc
- the UserContext
to usemandant
- the clientList
of Projekt
sCopyright © 2021 XIMA MEDIA GmbH. All rights reserved.