Package step.core.access
Class EnterpriseUserAccessorImpl
- java.lang.Object
-
- step.core.accessors.AbstractAccessor<step.core.access.User>
-
- step.core.access.UserAccessorImpl
-
- step.core.access.EnterpriseUserAccessorImpl
-
- All Implemented Interfaces:
step.core.access.UserAccessor,step.core.accessors.Accessor<step.core.access.User>
public class EnterpriseUserAccessorImpl extends step.core.access.UserAccessorImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected step.core.GlobalContextcontext
-
Constructor Summary
Constructors Constructor Description EnterpriseUserAccessorImpl(step.core.GlobalContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonServerStart()voidpreShutdownHook()voidremove(java.lang.String username)voidsave(java.lang.Iterable<step.core.access.User> entities)step.core.access.Usersave(step.core.access.User user)voidsetProjectAccessor(ProjectAccessor projectAccessor)-
Methods inherited from class step.core.access.UserAccessorImpl
encryptPwd, getAllUsers, getByUsername
-
Methods inherited from class step.core.accessors.AbstractAccessor
createOrUpdateCompoundIndex, createOrUpdateIndex, enableVersioning, findByAttributes, findByAttributes, findByCriteria, findManyByAttributes, findManyByAttributes, findManyByCriteria, get, get, getAll, getCollectionDriver, getHistory, getRange, isVersioningEnabled, remove, restoreVersion, stream
-
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
enableVersioning, findByAttributes, findByAttributes, findByCriteria, findManyByAttributes, findManyByAttributes, findManyByCriteria, get, get, getAll, getCollectionDriver, getHistory, getRange, isVersioningEnabled, remove, restoreVersion, stream
-
-
-
-
Method Detail
-
onServerStart
public void onServerStart()
-
preShutdownHook
public void preShutdownHook()
-
setProjectAccessor
public void setProjectAccessor(ProjectAccessor projectAccessor)
-
save
public step.core.access.User save(step.core.access.User user)
- Specified by:
savein interfacestep.core.accessors.Accessor<step.core.access.User>- Overrides:
savein classstep.core.accessors.AbstractAccessor<step.core.access.User>
-
save
public void save(java.lang.Iterable<step.core.access.User> entities)
- Specified by:
savein interfacestep.core.accessors.Accessor<step.core.access.User>- Overrides:
savein classstep.core.accessors.AbstractAccessor<step.core.access.User>
-
remove
public void remove(java.lang.String username)
- Specified by:
removein interfacestep.core.access.UserAccessor- Overrides:
removein classstep.core.access.UserAccessorImpl
-
-