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
FieldsFields inherited from class step.core.deployment.AbstractStepServices
configuration, SESSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassertRights(Parameter newParameter) voidfindManyByAttributes(Map<String, String> attributes) getAllParameters(Integer skip, Integer limit) getParameterByAttributes(Map<String, String> attributes) protected booleanvoidinit()protected static booleanisProtected(Parameter oldParameter) static ParametermaskProtectedValue(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, requestMethods inherited from class step.core.deployment.AbstractStepAsyncServices
getSession, scheduleAsyncTaskWithinSessionContext, setCurrentSessionMethods inherited from class step.core.deployment.AbstractStepServices
checkRightsOnBehalfOf, getAuthorizationManager, getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getSchedulerMethods 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:
initin classAbstractEntityServices<Parameter>- Throws:
Exception
-
newParameter
-
save
- Overrides:
savein classAbstractEntityServices<Parameter>
-
assertRights
-
hasGlobalParamRight
protected boolean hasGlobalParamRight() -
isProtected
-
clone
- Overrides:
clonein classAbstractEntityServices<Parameter>
-
delete
- Overrides:
deletein classAbstractEntityServices<Parameter>
-
get
- Overrides:
getin classAbstractEntityServices<Parameter>
-
maskProtectedValue
-
maskProtectedValues
-
getParameterByAttributes
-
findManyByAttributes
- Overrides:
findManyByAttributesin classAbstractEntityServices<Parameter>
-
getAllParameters
-
restoreVersion
- Overrides:
restoreVersionin classAbstractEntityServices<Parameter>
-