Package org.lockss.laaws.config.impl
Class UsersApiServiceImpl
java.lang.Object
org.lockss.spring.base.BaseSpringApiServiceImpl
org.lockss.laaws.config.impl.UsersApiServiceImpl
- All Implemented Interfaces:
UsersApiDelegate
@Service
public class UsersApiServiceImpl
extends BaseSpringApiServiceImpl
implements UsersApiDelegate
-
Nested Class Summary
Nested classes/interfaces inherited from class org.lockss.spring.base.BaseSpringApiServiceImpl
BaseSpringApiServiceImpl.MapMessageListener -
Field Summary
Fields inherited from class org.lockss.spring.base.BaseSpringApiServiceImpl
DEFAULT_CONFIG_WAIT_TIME, DEFAULT_READY_WAIT_TIME, JMS_BOTH, JMS_RECEIVE, JMS_SEND, jmsConsumer, jmsProducer, PARAM_CONFIG_WAIT_TIME, PARAM_READY_WAIT_TIME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<String>addUserAccounts(String userAccountsJson) org.springframework.http.ResponseEntity<String>getUserAccount(String username) org.springframework.http.ResponseEntity<Void>removeUserAccount(String username) org.springframework.http.ResponseEntity<String>updateUserAccount(String username, String userAccountUpdates, String cookie) Methods inherited from class org.lockss.spring.base.BaseSpringApiServiceImpl
configMgrCreated, getClassName, getConfigWaitTime, getJMSManager, getPluginManager, getReadyWaitTime, getRunningLockssDaemon, getStateManager, getWaitTime, jmsSetUpDone, jsonResponse, receiveMessage, registerConfigCallback, setUpJms, setUpJms, setUpJms, stopJms, stringResponse, waitConfig, waitConfig, waitReady, waitReadyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.lockss.laaws.config.api.UsersApiDelegate
getAcceptHeader, getObjectMapper, getRequest
-
Constructor Details
-
UsersApiServiceImpl
public UsersApiServiceImpl()
-
-
Method Details
-
addUserAccounts
- Specified by:
addUserAccountsin interfaceUsersApiDelegate- See Also:
-
getUserAccount
- Specified by:
getUserAccountin interfaceUsersApiDelegate- See Also:
-
removeUserAccount
- Specified by:
removeUserAccountin interfaceUsersApiDelegate- See Also:
-
updateUserAccount
public org.springframework.http.ResponseEntity<String> updateUserAccount(String username, String userAccountUpdates, String cookie) - Specified by:
updateUserAccountin interfaceUsersApiDelegate- See Also:
-