Package step.plugins.parametermanager
Class ParameterServices
java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
step.core.deployment.AbstractStepAsyncServices
step.controller.services.entities.AbstractEntityServices<Parameter>
step.plugins.parametermanager.ParameterServices
-
Nested Class Summary
Nested classes/interfaces inherited from class step.controller.services.entities.AbstractEntityServices
AbstractEntityServices.History
-
Field Summary
Fields inherited from class step.core.deployment.AbstractStepServices
configuration, SESSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
assertRights
(Parameter newParameter) void
findManyByAttributes
(Map<String, String> attributes) getAllParameters
(Integer skip, Integer limit) getParameterByAttributes
(Map<String, String> attributes) protected boolean
void
init()
protected static boolean
isProtected
(Parameter oldParameter) static Parameter
maskProtectedValue
(Parameter parameter) maskProtectedValues
(Stream<Parameter> stream) restoreVersion
(String id, String versionId) Methods inherited from class step.controller.services.entities.AbstractEntityServices
beforeSave, bulkDelete, cloneEntities, cloneEntity, getVersions, request
Methods inherited from class step.core.deployment.AbstractStepAsyncServices
getSession, scheduleAsyncTaskWithinSessionContext, setCurrentSession
Methods inherited from class step.core.deployment.AbstractStepServices
checkRightsOnBehalfOf, getAuthorizationManager, getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
Methods inherited from class step.framework.server.AbstractServices
getAbstractContext, getHttpSession, getSession, invalidateSession, setHttpServletRequest, setSession
-
Field Details
-
PROTECTED_VALUE
- See Also:
-
-
Constructor Details
-
ParameterServices
public ParameterServices()
-
-
Method Details
-
init
- Overrides:
init
in classAbstractEntityServices<Parameter>
- Throws:
Exception
-
newParameter
-
save
- Overrides:
save
in classAbstractEntityServices<Parameter>
-
assertRights
-
hasGlobalParamRight
protected boolean hasGlobalParamRight() -
isProtected
-
clone
- Overrides:
clone
in classAbstractEntityServices<Parameter>
-
delete
- Overrides:
delete
in classAbstractEntityServices<Parameter>
-
get
- Overrides:
get
in classAbstractEntityServices<Parameter>
-
maskProtectedValue
-
maskProtectedValues
-
getParameterByAttributes
-
findManyByAttributes
- Overrides:
findManyByAttributes
in classAbstractEntityServices<Parameter>
-
getAllParameters
-
restoreVersion
- Overrides:
restoreVersion
in classAbstractEntityServices<Parameter>
-