Package step.core.access
Class InMemoryUserAccessor
- java.lang.Object
-
- step.core.accessors.InMemoryCRUDAccessor<User>
-
- step.core.access.InMemoryUserAccessor
-
- All Implemented Interfaces:
UserAccessor
,Accessor<User>
,CRUDAccessor<User>
public class InMemoryUserAccessor extends InMemoryCRUDAccessor<User> implements UserAccessor
-
-
Field Summary
-
Fields inherited from class step.core.accessors.InMemoryCRUDAccessor
map
-
-
Constructor Summary
Constructors Constructor Description InMemoryUserAccessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<User>
getAllUsers()
User
getByUsername(String username)
void
remove(String username)
-
Methods inherited from class step.core.accessors.InMemoryCRUDAccessor
findByAttributes, findByAttributes, findManyByAttributes, findManyByAttributes, get, get, getAll, getRange, notImplemented, remove, save, save
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface step.core.accessors.Accessor
findByAttributes, findByAttributes, findManyByAttributes, findManyByAttributes, get, get, getAll, getRange
-
Methods inherited from interface step.core.accessors.CRUDAccessor
remove, save, save
-
-
-
-
Method Detail
-
remove
public void remove(String username)
- Specified by:
remove
in interfaceUserAccessor
-
getAllUsers
public List<User> getAllUsers()
- Specified by:
getAllUsers
in interfaceUserAccessor
-
getByUsername
public User getByUsername(String username)
- Specified by:
getByUsername
in interfaceUserAccessor
-
-