public class ProjektHandler extends GenericHandler implements IProjektHandler
LOG| Constructor and Description |
|---|
ProjektHandler() |
| Modifier and Type | Method and Description |
|---|---|
Projekt |
addProjektRessource(UserContext uc,
int projektId,
int ressourceId) |
Projekt |
copy(UserContext uc,
Projekt projekt,
int sourceProjectId,
int formVersionId) |
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 |
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, getAll, getAllBy, getBy, getById, getById, resultTotalCount, update, updategetNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, create, delete, delete, deleteBy, deleteById, getAll, getAllBy, getBy, 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, int projektId, int 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 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 Projekt copy(UserContext uc, Projekt projekt, int sourceProjectId, int formVersionId) throws Exception
copy in interface IProjektHandlerExceptionCopyright © 2018 XIMA MEDIA GmbH. All rights reserved.