Package de.xima.fc.api.entity
Class ProjektRessourcenAPI
- java.lang.Object
-
- de.xima.fc.api.ASubAPI
-
- de.xima.fc.api.entity.AEntityAPI<ProjektRessource>
-
- de.xima.fc.api.entity.ProjektRessourcenAPI
-
public class ProjektRessourcenAPI extends AEntityAPI<ProjektRessource>
-
-
Field Summary
-
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass
-
-
Constructor Summary
Constructors Constructor Description ProjektRessourcenAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjektRessource
create(UserContext uc, String name, byte[] daten, String userName, String fileName, Mandant mandant, Projekt projekt)
List<ProjektRessource>
getAllByProjekt(UserContext uc, Projekt projekt)
ProjektRessource
getByName(UserContext uc, Projekt projekt, String name)
ProjektRessource
getDownloadResource(UserContext uc, FrontendServer fs, Integer projektId, String ressourceName)
ProjektRessource
update(UserContext uc, byte[] daten, String userName, String fileName, ProjektRessource res)
-
Methods inherited from class de.xima.fc.api.entity.AEntityAPI
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update
-
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
-
-
-
Method Detail
-
getByName
public ProjektRessource getByName(UserContext uc, Projekt projekt, String name)
-
getAllByProjekt
public List<ProjektRessource> getAllByProjekt(UserContext uc, Projekt projekt)
-
create
public ProjektRessource create(UserContext uc, String name, byte[] daten, String userName, String fileName, Mandant mandant, Projekt projekt)
-
update
public ProjektRessource update(UserContext uc, byte[] daten, String userName, String fileName, ProjektRessource res)
-
getDownloadResource
public ProjektRessource getDownloadResource(UserContext uc, FrontendServer fs, Integer projektId, String ressourceName)
-
-