public class ProjektHandler extends GenericHandler implements IProjektHandler
LOG| Constructor and Description |
|---|
ProjektHandler() |
| Modifier and Type | Method and Description |
|---|---|
Projekt |
addProjektRessource(UserContext uc,
long projektId,
long ressourceId) |
Projekt |
copy(UserContext uc,
Projekt projekt,
long sourceProjectId,
long formVersionId) |
List<Projekt> |
getAllByEditorUser(UserContext uc,
Benutzer editor,
Mandant client)
Gets all projects where the given user is editor of
|
List<Projekt> |
getAllByMandant(UserContext uc,
Mandant mandant) |
FormVersion |
getCurrentFormVersion(UserContext uc,
Projekt projekt,
FrontendServer fs)
Gets the current form version.
|
Projekt |
importProjekt(UserContext uc,
Mandant mandant,
byte[] bytes,
String name,
String beschreibung,
String title) |
boolean |
isActivationAllowed(UserContext uc,
Projekt projekt) |
Boolean |
isEditingAllowed(UserContext uc,
Projekt projekt,
Benutzer ben) |
boolean |
isFsAllowed(UserContext uc,
Projekt project,
FrontendServer fs)
Checks on whether the project can be accessed via the frontend server.
|
Boolean |
isZugriffsberechtigt(UserContext uc,
Projekt projekt,
Benutzer ben) |
Boolean |
isZugriffsbeschraenkt(UserContext uc,
Projekt projekt) |
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getBy, getById, getById, getById, resultTotalCount, update, updategetNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, 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 ucproject - the projectfs - the frontendserverpublic FormVersion getCurrentFormVersion(UserContext uc, Projekt projekt, FrontendServer fs)
getCurrentFormVersion in interface IProjektHandleruc - the ucprojekt - the projektpublic 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 IProjektHandlerExceptionpublic List<Projekt> getAllByMandant(UserContext uc, Mandant mandant)
getAllByMandant in interface IProjektHandlerpublic List<Projekt> getAllByEditorUser(UserContext uc, Benutzer editor, Mandant client)
IProjektHandlergetAllByEditorUser in interface IProjektHandleruc - UserContexteditor - Benutzer eidtor of the projectsclient - Mandant client of the projectsList of Projektspublic Projekt copy(UserContext uc, Projekt projekt, long sourceProjectId, long formVersionId) throws Exception
copy in interface IProjektHandlerExceptionCopyright © 2019 XIMA MEDIA GmbH. All rights reserved.