Package de.xima.fc.api.entity
Class FrontendServerAPI
- java.lang.Object
-
- de.xima.fc.api.ASubAPI
-
- de.xima.fc.api.entity.AEntityAPI<FrontendServer>
-
- de.xima.fc.api.entity.FrontendServerAPI
-
public class FrontendServerAPI extends AEntityAPI<FrontendServer>
API class for manipulation ofFrontendServer
entities.- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
-
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass
-
-
Constructor Summary
Constructors Constructor Description FrontendServerAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Projekt>
getProjektsBy(UserContext uc, Integer frontendServerID, Integer mandantID, Integer benutzerGruppenID)
Method for determining ofProjekt
s which are available on aFrontendServer
.Boolean
isAlreadyUsed(UserContext uc, MandantFrontendServer mfs)
Method for testing if a combination ofFrontendServer
andMandant
already exists.-
Methods inherited from class de.xima.fc.api.entity.AEntityAPI
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update
-
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
-
-
-
Method Detail
-
getProjektsBy
public List<Projekt> getProjektsBy(UserContext uc, Integer frontendServerID, Integer mandantID, Integer benutzerGruppenID)
Method for determining ofProjekt
s which are available on aFrontendServer
.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.frontendServerID
-Integer
the ID ofFrontendServer
.mandantID
-Integer
the ID ofMandant
.benutzerGruppenID
-Integer
the ID ofBenutzerGruppe
.- Returns:
List
the availableProjekt
s.- Since:
- 2.4.3
-
isAlreadyUsed
public Boolean isAlreadyUsed(UserContext uc, MandantFrontendServer mfs)
Method for testing if a combination ofFrontendServer
andMandant
already exists.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.mfs
-MandantFrontendServer
with the data to be tested.- Returns:
Boolean
if the combination already exists.- Since:
- 2.4.3
-
-