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, update
getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, create, delete, delete, deleteBy, deleteById, getAll, getAllBy, getBy, getById, getById, resultTotalCount, update, update
getName
public boolean isActivationAllowed(UserContext uc, Projekt projekt)
isActivationAllowed
in interface IProjektHandler
public boolean isFsAllowed(UserContext uc, Projekt project, FrontendServer fs)
isFsAllowed
in interface IProjektHandler
uc
- the ucproject
- the projectfs
- the frontendserverpublic FormVersion getCurrentFormVersion(UserContext uc, Projekt projekt, FrontendServer fs)
getCurrentFormVersion
in interface IProjektHandler
uc
- the ucprojekt
- the projektpublic Projekt addProjektRessource(UserContext uc, int projektId, int ressourceId)
addProjektRessource
in interface IProjektHandler
public Boolean isZugriffsbeschraenkt(UserContext uc, Projekt projekt)
isZugriffsbeschraenkt
in interface IProjektHandler
public Boolean isZugriffsberechtigt(UserContext uc, Projekt projekt, Benutzer ben)
isZugriffsberechtigt
in interface IProjektHandler
public Projekt importProjekt(UserContext uc, Mandant mandant, byte[] bytes, String name, String beschreibung, String title) throws Exception
importProjekt
in interface IProjektHandler
Exception
public List<Projekt> getAllByMandant(UserContext uc, Mandant mandant)
getAllByMandant
in interface IProjektHandler
public Projekt copy(UserContext uc, Projekt projekt, int sourceProjectId, int formVersionId) throws Exception
copy
in interface IProjektHandler
Exception
Copyright © 2018 XIMA MEDIA GmbH. All rights reserved.