Interface IProjektRessourcenHandler
- 
- All Superinterfaces:
- IAPIHandler,- IGenericHandler,- Serializable
 - All Known Implementing Classes:
- ProjektRessourceHandler
 
 public interface IProjektRessourcenHandler extends IGenericHandler 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ProjektRessourcecreate(UserContext uc, String name, byte[] daten, String userName, String fileName, Mandant mandant, Projekt projekt)List<ProjektRessource>getAllByProjekt(UserContext uc, Projekt projekt)ProjektRessourcegetByName(UserContext uc, Projekt projekt, String name)ProjektRessourcegetDownloadResource(UserContext uc, FrontendServer fs, long projectId, String resourceName)Gets theProjektRessourcefor the given client and project UUID, with the given name.ProjektRessourcegetDownloadResource(UserContext uc, FrontendServer fs, Long clientId, Long projectId, String resourceName)Gets theProjektRessourcefor the given client and project UUID, with the given name.ProjektRessourcegetDownloadResource(UserContext uc, FrontendServer fs, Long clientId, UUID projectUuid, String resourceName)Gets theProjektRessourcefor the given client and project UUID, with the given name.ProjektRessourcegetDownloadResource(UserContext uc, FrontendServer fs, UUID clientUuid, Long projectId, String resourceName)Gets theProjektRessourcefor the given client and project UUID, with the given name.ProjektRessourcegetDownloadResource(UserContext uc, FrontendServer fs, UUID clientUuid, UUID projectUuid, String resourceName)Gets theProjektRessourcefor the given client and project UUID, with the given name.ProjektRessourcegetDownloadRessource(UserContext uc, FrontendServer fs, Integer projectId, String resourceName)Deprecated, for removal: This API element is subject to removal in a future version.ETagResource<ByteArrayFile>handleDownloadResourceRequest(UserContext uc, FrontendServer fs, Long clientId, Long projectId, String resourceName, ETagRequest eTagRequest)Gets theProjektRessourcefor the given client and project UUID, with the given name.ETagResource<ByteArrayFile>handleDownloadResourceRequest(UserContext uc, FrontendServer fs, Long projectId, String resourceName, ETagRequest eTagRequest)Gets theProjektRessourcefor the given client and project UUID, with the given name.ETagResource<ByteArrayFile>handleDownloadResourceRequest(UserContext uc, FrontendServer fs, Long clientId, UUID projectUuid, String resourceName, ETagRequest eTagRequest)Gets theProjektRessourcefor the given client and project UUID, with the given name.ETagResource<ByteArrayFile>handleDownloadResourceRequest(UserContext uc, FrontendServer fs, UUID clientUuid, Long projectId, String resourceName, ETagRequest eTagRequest)Gets theProjektRessourcefor the given client and project UUID, with the given name.ETagResource<ByteArrayFile>handleDownloadResourceRequest(UserContext uc, FrontendServer fs, UUID clientUuid, UUID projectUuid, String resourceName, ETagRequest eTagRequest)Gets theProjektRessourcefor the given client and project UUID, with the given name.ProjektRessourceupdate(UserContext uc, byte[] daten, String userName, String fileName, ProjektRessource res)- 
Methods inherited from interface de.xima.fc.com.interfaces.IAPIHandlergetName
 - 
Methods inherited from interface de.xima.fc.handler.interfaces.entity.IGenericHandlercreate, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
 
- 
 
- 
- 
- 
Method Detail- 
getByNameProjektRessource getByName(UserContext uc, Projekt projekt, String name) 
 - 
getAllByProjektList<ProjektRessource> getAllByProjekt(UserContext uc, Projekt projekt) 
 - 
createProjektRessource create(UserContext uc, String name, byte[] daten, String userName, String fileName, Mandant mandant, Projekt projekt) 
 - 
updateProjektRessource update(UserContext uc, byte[] daten, String userName, String fileName, ProjektRessource res) 
 - 
getDownloadRessource@Deprecated(forRemoval=true, since="8.3.0") ProjektRessource getDownloadRessource(UserContext uc, FrontendServer fs, Integer projectId, String resourceName) Deprecated, for removal: This API element is subject to removal in a future version.Gets theProjektRessourcefor the given client and project UUID, with the given name.- Parameters:
- uc- User context.
- fs- Frontend server.
- projectId- ID of the project that contains the resource.
- resourceName- Resource name.
- Returns:
- The resource with the given name, or null if no such resource exists.
 
 - 
getDownloadResourceProjektRessource getDownloadResource(UserContext uc, FrontendServer fs, long projectId, String resourceName) Gets theProjektRessourcefor the given client and project UUID, with the given name.- Parameters:
- uc- User context.
- fs- Frontend server.
- projectId- ID of the project that contains the resource.
- resourceName- Resource name.
- Returns:
- The resource with the given name, or null if no such resource exists.
- Since:
- 8.3.0
 
 - 
getDownloadResourceProjektRessource getDownloadResource(UserContext uc, FrontendServer fs, UUID clientUuid, UUID projectUuid, String resourceName) Gets theProjektRessourcefor the given client and project UUID, with the given name.- Parameters:
- uc- User context.
- fs- Frontend server.
- clientUuid- UUID of the client that owns the project.
- projectUuid- UUID of the project that contains the resource.
- resourceName- Resource name.
- Returns:
- The resource with the given name, or null if no such resource exists.
- Since:
- 8.3.0
 
 - 
getDownloadResourceProjektRessource getDownloadResource(UserContext uc, FrontendServer fs, Long clientId, Long projectId, String resourceName) Gets theProjektRessourcefor the given client and project UUID, with the given name.- Parameters:
- uc- User context.
- fs- Frontend server.
- clientId- ID of the client that owns the project.
- projectId- ID of the project that contains the resource.
- resourceName- Resource name.
- Returns:
- The resource with the given name, or null if no such resource exists.
- Since:
- 8.3.0
 
 - 
getDownloadResourceProjektRessource getDownloadResource(UserContext uc, FrontendServer fs, UUID clientUuid, Long projectId, String resourceName) Gets theProjektRessourcefor the given client and project UUID, with the given name.- Parameters:
- uc- User context.
- fs- Frontend server.
- clientUuid- UUID of the client that owns the project.
- projectId- ID of the project that contains the resource.
- resourceName- Resource name.
- Returns:
- The resource with the given name, or null if no such resource exists.
- Since:
- 8.3.0
 
 - 
getDownloadResourceProjektRessource getDownloadResource(UserContext uc, FrontendServer fs, Long clientId, UUID projectUuid, String resourceName) Gets theProjektRessourcefor the given client and project UUID, with the given name.- Parameters:
- uc- User context.
- fs- Frontend server.
- clientId- ID of the client that owns the project.
- projectUuid- UUID of the project that contains the resource.
- resourceName- Resource name.
- Returns:
- The resource with the given name, or null if no such resource exists.
- Since:
- 8.3.0
 
 - 
handleDownloadResourceRequestETagResource<ByteArrayFile> handleDownloadResourceRequest(UserContext uc, FrontendServer fs, Long projectId, String resourceName, ETagRequest eTagRequest) Gets theProjektRessourcefor the given client and project UUID, with the given name.- Parameters:
- uc- User context.
- fs- Frontend server.
- projectId- ID of the project that contains the resource.
- resourceName- Resource name.
- eTagRequest- Data of the ETag request.
- Returns:
- The resource with the given name, or null if no such resource exists.
- Since:
- 8.3.0
 
 - 
handleDownloadResourceRequestETagResource<ByteArrayFile> handleDownloadResourceRequest(UserContext uc, FrontendServer fs, UUID clientUuid, UUID projectUuid, String resourceName, ETagRequest eTagRequest) Gets theProjektRessourcefor the given client and project UUID, with the given name.- Parameters:
- uc- User context.
- fs- Frontend server.
- clientUuid- UUID of the client that owns the project.
- projectUuid- UUID of the project that contains the resource.
- resourceName- Resource name.
- eTagRequest- Data of the ETag request.
- Returns:
- The resource with the given name, or null if no such resource exists.
- Since:
- 8.3.0
 
 - 
handleDownloadResourceRequestETagResource<ByteArrayFile> handleDownloadResourceRequest(UserContext uc, FrontendServer fs, UUID clientUuid, Long projectId, String resourceName, ETagRequest eTagRequest) Gets theProjektRessourcefor the given client and project UUID, with the given name.- Parameters:
- uc- User context.
- fs- Frontend server.
- clientUuid- UUID of the client that owns the project.
- projectId- ID of the project that contains the resource.
- resourceName- Resource name.
- eTagRequest- Data of the ETag request.
- Returns:
- The resource with the given name, or null if no such resource exists.
- Since:
- 8.3.0
 
 - 
handleDownloadResourceRequestETagResource<ByteArrayFile> handleDownloadResourceRequest(UserContext uc, FrontendServer fs, Long clientId, UUID projectUuid, String resourceName, ETagRequest eTagRequest) Gets theProjektRessourcefor the given client and project UUID, with the given name.- Parameters:
- uc- User context.
- fs- Frontend server.
- clientId- ID of the client that owns the project.
- projectUuid- UUID of the project that contains the resource.
- resourceName- Resource name.
- eTagRequest- Data of the ETag request.
- Returns:
- The resource with the given name, or null if no such resource exists.
- Since:
- 8.3.0
 
 - 
handleDownloadResourceRequestETagResource<ByteArrayFile> handleDownloadResourceRequest(UserContext uc, FrontendServer fs, Long clientId, Long projectId, String resourceName, ETagRequest eTagRequest) Gets theProjektRessourcefor the given client and project UUID, with the given name.- Parameters:
- uc- User context.
- fs- Frontend server.
- clientId- ID of the client that owns the project.
- projectId- ID of the project that contains the resource.
- resourceName- Resource name.
- eTagRequest- Data of the ETag request.
- Returns:
- The resource with the given name, or null if no such resource exists.
- Since:
- 8.3.0
 
 
- 
 
-