Package step.plugins.parametermanager
Class ParameterServices
java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
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
FieldsFields inherited from class step.core.deployment.AbstractStepServices
configuration, SESSION
-
Constructor Summary
Constructors -
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()
static boolean
isPassword
(String key) static boolean
isPassword
(Parameter parameter) protected static boolean
isProtected
(Parameter oldParameter) static Parameter
maskProtectedValue
(Parameter parameter) maskProtectedValues
(Stream<Parameter> stream) Methods inherited from class step.controller.services.entities.AbstractEntityServices
beforeSave, bulkDelete, cloneEntities, cloneEntity, getSession, getVersions, request, restoreVersion, scheduleAsyncTaskWithinSessionContext, setCurrentSession
Methods inherited from class step.core.deployment.AbstractStepServices
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>
-
isPassword
-
isPassword
-
get
- Overrides:
get
in classAbstractEntityServices<Parameter>
-
maskProtectedValue
-
maskProtectedValues
-
getParameterByAttributes
-
findManyByAttributes
- Overrides:
findManyByAttributes
in classAbstractEntityServices<Parameter>
-
getAllParameters
-