Class UserVariablesRpcServiceImpl
RemoteServiceServlet
net.datenwerke.gf.base.server.DwRemoteServiceServlet
net.datenwerke.security.server.SecuredRemoteServiceServlet
net.datenwerke.rs.uservariables.server.uservariables.UserVariablesRpcServiceImpl
- All Implemented Interfaces:
RemoteRequest,UserVariablesRpcService
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
public class UserVariablesRpcServiceImpl
extends SecuredRemoteServiceServlet
implements UserVariablesRpcService
-
Constructor Summary
ConstructorsConstructorDescriptionUserVariablesRpcServiceImpl(UserVariableService userVariableService, DtoService dtoService) -
Method Summary
Modifier and TypeMethodDescriptionUserVariableDefinitionDtoaddUserVariableDefinition(UserVariableDefinitionDto definitionDto) Adds a new user variable to the list of available variables.List<UserVariableInstanceDto> addUserVariableInstances(List<UserVariableDefinitionDto> definitionDtos, AbstractUserManagerNodeDto nodeDto) <any>Returns all defined variables.List<UserVariableInstanceDto> getDefinedUserVariableInstances(AbstractUserManagerNodeDto nodeDto) Returns the instances for a given node.List<UserVariableInstanceDto> getInheritedUserVariableInstances(AbstractUserManagerNodeDto nodeDto) Returns the inherited instances for a given node.voidremoveUserVariableDefinitions(Collection<UserVariableDefinitionDto> definitionDtos, boolean force) voidremoveUserVariableInstances(Collection<UserVariableInstanceDto> instanceDtos) UserVariableDefinitionDtoupdateUserVariableDefinition(UserVariableDefinitionDto definitionDto) Changes the definition of a user variable in the list of available variables.UserVariableInstanceDtoupdateUserVariableInstance(UserVariableInstanceDto instanceDto) Methods inherited from class net.datenwerke.security.server.SecuredRemoteServiceServlet
getRequest
-
Constructor Details
-
UserVariablesRpcServiceImpl
-
-
Method Details
-
addUserVariableDefinition
public UserVariableDefinitionDto addUserVariableDefinition(UserVariableDefinitionDto definitionDto) throws ServerCallFailedException Description copied from interface:UserVariablesRpcServiceAdds a new user variable to the list of available variables.- Specified by:
addUserVariableDefinitionin interfaceUserVariablesRpcService- Parameters:
definitionDto-- Throws:
ServerCallFailedException
-
removeUserVariableDefinitions
public void removeUserVariableDefinitions(Collection<UserVariableDefinitionDto> definitionDtos, boolean force) throws ServerCallFailedException - Specified by:
removeUserVariableDefinitionsin interfaceUserVariablesRpcService- Throws:
ServerCallFailedException
-
updateUserVariableDefinition
public UserVariableDefinitionDto updateUserVariableDefinition(UserVariableDefinitionDto definitionDto) throws ServerCallFailedException Description copied from interface:UserVariablesRpcServiceChanges the definition of a user variable in the list of available variables.- Specified by:
updateUserVariableDefinitionin interfaceUserVariablesRpcService- Parameters:
definitionDto-- Throws:
ServerCallFailedException
-
getDefinedUserVariableDefinitions
Description copied from interface:UserVariablesRpcServiceReturns all defined variables.- Specified by:
getDefinedUserVariableDefinitionsin interfaceUserVariablesRpcService- Throws:
ServerCallFailedException
-
getDefinedUserVariableInstances
public List<UserVariableInstanceDto> getDefinedUserVariableInstances(AbstractUserManagerNodeDto nodeDto) throws ServerCallFailedException Description copied from interface:UserVariablesRpcServiceReturns the instances for a given node.- Specified by:
getDefinedUserVariableInstancesin interfaceUserVariablesRpcService- Parameters:
nodeDto-- Throws:
ServerCallFailedException
-
getInheritedUserVariableInstances
public List<UserVariableInstanceDto> getInheritedUserVariableInstances(AbstractUserManagerNodeDto nodeDto) throws ServerCallFailedException Description copied from interface:UserVariablesRpcServiceReturns the inherited instances for a given node.- Specified by:
getInheritedUserVariableInstancesin interfaceUserVariablesRpcService- Parameters:
nodeDto-- Throws:
ServerCallFailedException
-
addUserVariableInstances
public List<UserVariableInstanceDto> addUserVariableInstances(List<UserVariableDefinitionDto> definitionDtos, AbstractUserManagerNodeDto nodeDto) throws ServerCallFailedException - Specified by:
addUserVariableInstancesin interfaceUserVariablesRpcService- Throws:
ServerCallFailedException
-
updateUserVariableInstance
public UserVariableInstanceDto updateUserVariableInstance(UserVariableInstanceDto instanceDto) throws ServerCallFailedException - Specified by:
updateUserVariableInstancein interfaceUserVariablesRpcService- Throws:
ServerCallFailedException
-
removeUserVariableInstances
public void removeUserVariableInstances(Collection<UserVariableInstanceDto> instanceDtos) throws ServerCallFailedException - Specified by:
removeUserVariableInstancesin interfaceUserVariablesRpcService- Throws:
ServerCallFailedException
-