Package de.dlr.proseo.ui.gui
Klasse GUIBaseController
java.lang.Object
de.dlr.proseo.ui.gui.GUIBaseController
- Bekannte direkte Unterklassen:
GUIConfigurationController
,GUIFacilityController
,GUIMissionController
,GUIOrbitController
,GUIOrderController
,GUIProcessorClassController
,GUIProcessorController
,GUIProductClassController
,GUIProductController
,GUISettingsController
,GUISpaceCraftController
,GUIStatisticsController
,GUIWorkflowController
A base controller for the prosEO GUI, to be extended for specific entities
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Checks if the cache needs to be cleared based on the user's login status.Retrieve the configured processors of missionRetrieve the processing facilitiesRetrieve the file classes of missionprotected void
handleHTTPError
(org.springframework.web.reactive.function.client.ClientResponse clientResponse, org.springframework.ui.Model model) Handles HTTP errors and sets the appropriate error message in the model.protected void
handleHTTPWarning
(org.springframework.web.reactive.function.client.ClientResponse clientResponse, org.springframework.ui.Model model, javax.servlet.http.HttpServletResponse httpResponse) Handles HTTP warnings and sets the appropriate warning message in the model and HTTP response headers.Create, update and delete access to configurations and configured processorsRead access to configurations and configured processorsCreate, update and delete access to processing facilitiesRead access to facility monitoring dataRead access to processing facilitiesNotify of job step completionRead and update access to missions, spacecrafts and orbitsRead access to missions, spacecrafts and orbitsApprove ordersCreate, update, close and delete ordersRead access to order monitoring dataPlan, release, suspend, cancel and retry orders, jobs and job stepsRead access to processing order, jobs and job stepsCreate, update and delete access to processor classes, processors and tasksRead access to processor classes, processors, configurations, configured processors and any sub-objects of themCreate, update and delete access to product classes and selection rulesRead access to product classes and selection rulesUpdate and delete products and product filesQuery and download public productsQuery and download all productsQuery and download public and restricted productsReturns the mission code of the authenticated userRetrieves the list of parameter types and returns it as a list of Strings.Retrieve the processing level enumRetrieve the processing modes of missionRetrieve the product classes of missionRetrieve the product classes of missionRetrieve the production type enumRetrieve the product quality levelsGets the current version of prosEORetrieve the slicing type enumRetrieve the space crafts of missionuser()
Returns the authenticated userReturns the roles of the authenticated userRetrieve the product visibility enumRetrieve the workflows of mission
-
Konstruktordetails
-
GUIBaseController
public GUIBaseController()A no-argument constructor
-
-
Methodendetails
-
proseoversion
Gets the current version of prosEO- Gibt zurück:
- the prosEO version
-
facilities
Retrieve the processing facilities- Gibt zurück:
- a list with the names of available processing facilities
-
productclasses
Retrieve the product classes of mission- Gibt zurück:
- A list of product class names
-
processorclassnames
Retrieve the product classes of mission- Gibt zurück:
- A list of parameter types in String format
-
configuredProcessors
Retrieve the configured processors of mission- Gibt zurück:
- A list of parameter types in String format
-
workflows
Retrieve the workflows of mission- Gibt zurück:
- A list of parameter types in String format
-
fileClasses
Retrieve the file classes of mission- Gibt zurück:
- A list of parameter types in String format
-
processingModes
Retrieve the processing modes of mission- Gibt zurück:
- A list of parameter types in String format
-
spaceCrafts
Retrieve the space crafts of mission- Gibt zurück:
- A list of parameter types in String format
-
productiontypes
Retrieve the production type enum- Gibt zurück:
- A list of parameter types in String format
-
processinglevels
Retrieve the processing level enum- Gibt zurück:
- A list of processing levels in String format
-
visibilities
Retrieve the product visibility enum- Gibt zurück:
- A list of visibility levels in String format
-
productqualities
Retrieve the product quality levels- Gibt zurück:
- A list of product quality types in String format
-
slicingtypes
Retrieve the slicing type enum- Gibt zurück:
- A list of slicing types in String format
-
parametertypes
Retrieves the list of parameter types and returns it as a list of Strings.- Gibt zurück:
- A list of parameter types in String format
-
checkClearCache
public void checkClearCache()Checks if the cache needs to be cleared based on the user's login status. -
missioncode
Returns the mission code of the authenticated user- Gibt zurück:
- The mission code of the authenticated user
-
user
Returns the authenticated user- Gibt zurück:
- The authenticated user
-
userroles
Returns the roles of the authenticated user- Gibt zurück:
- The roles of authenticated user
-
hasrolemissionreader
Read access to missions, spacecrafts and orbits- Gibt zurück:
- true, if the user has the mission reader role
-
hasrolemissionmgr
Read and update access to missions, spacecrafts and orbits- Gibt zurück:
- true, if the user has the mission manager role
-
hasroleproductclassreader
Read access to product classes and selection rules- Gibt zurück:
- true, if the user has the product class reader role
-
hasroleproductclassmgr
Create, update and delete access to product classes and selection rules- Gibt zurück:
- true, if the user has the product class manager role
-
hasroleproductreader
Query and download public products- Gibt zurück:
- true, if the user has the product reader role
-
hasroleproductrestrictedreader
Query and download public and restricted products- Gibt zurück:
- true, if the user has the restricted product reader role
-
hasroleproductreaderall
Query and download all products- Gibt zurück:
- true, if the user has the product reader (all) role
-
hasroleproductmgr
Update and delete products and product files- Gibt zurück:
- true, if the user has the product manager role
-
hasroleprocessorreader
Read access to processor classes, processors, configurations, configured processors and any sub-objects of them- Gibt zurück:
- true, if the user has the processor reader role
-
hasroleprocessorclassmgr
Create, update and delete access to processor classes, processors and tasks- Gibt zurück:
- true, if the user has the processor class manager role
-
hasroleconfigurationreader
Read access to configurations and configured processors- Gibt zurück:
- true, if the user has the configuration reader role
-
hasroleconfigurationmgr
Create, update and delete access to configurations and configured processors- Gibt zurück:
- true, if the user has the configuration manager role
-
hasrolefacilityreader
Read access to processing facilities- Gibt zurück:
- true, if the user has the facility reader role
-
hasrolefacilitymgr
Create, update and delete access to processing facilities- Gibt zurück:
- true, if the user has the facility manager role
-
hasrolefacilitymonitor
Read access to facility monitoring data- Gibt zurück:
- true, if the user has the facility monitoring role
-
hasroleorderreader
Read access to processing order, jobs and job steps- Gibt zurück:
- true, if the user has the order reader role
-
hasroleordermgr
Create, update, close and delete orders- Gibt zurück:
- true, if the user has the order manager role
-
hasroleorderapprover
Approve orders- Gibt zurück:
- true, if the user has the order approver role
-
hasroleorderplanner
Plan, release, suspend, cancel and retry orders, jobs and job steps- Gibt zurück:
- true, if the user has the order planner role
-
hasroleordermonitor
Read access to order monitoring data- Gibt zurück:
- true, if the user has the order monitoring role
-
hasrolejobstepprocessor
Notify of job step completion- Gibt zurück:
- true, if the user has the job step processor role
-
handleHTTPError
protected void handleHTTPError(org.springframework.web.reactive.function.client.ClientResponse clientResponse, org.springframework.ui.Model model) Handles HTTP errors and sets the appropriate error message in the model.- Parameter:
clientResponse
- The HTTP response from the clientmodel
- The model to hold the error message
-
handleHTTPWarning
protected void handleHTTPWarning(org.springframework.web.reactive.function.client.ClientResponse clientResponse, org.springframework.ui.Model model, javax.servlet.http.HttpServletResponse httpResponse) Handles HTTP warnings and sets the appropriate warning message in the model and HTTP response headers.- Parameter:
clientResponse
- The HTTP response from the clientmodel
- The model to hold the warning messagehttpResponse
- The HTTP response to set the warning headers
-