0,0 → 1,46 |
package ak.hostadmiral.core.model.store; |
|
import java.util.Collection; |
import ak.hostadmiral.util.CollectionInfo; |
import ak.hostadmiral.util.ModelStoreException; |
import ak.hostadmiral.core.model.User; |
import ak.hostadmiral.core.model.UserLogin; |
|
public interface UserStore |
{ |
public User get(Long id) |
throws ModelStoreException; |
|
public boolean loginExists(User user, String login) |
throws ModelStoreException; |
|
public User findForLogin(String login) |
throws ModelStoreException; |
|
public void save(User user) |
throws ModelStoreException; |
|
public void delete(User user) |
throws ModelStoreException; |
|
public Collection listAllUsers(CollectionInfo info, int rowsPerPage, int pageNumber, |
Integer[] sortingKeys) |
throws ModelStoreException; |
|
public Collection listUsers(CollectionInfo info, int rowsPerPage, int pageNumber, |
Integer[] sortingKeys, User user) |
throws ModelStoreException; |
|
public void saveUserLogin(UserLogin userLogin) |
throws ModelStoreException; |
|
public Collection listFailedLogins() |
throws ModelStoreException; |
|
public Collection listSubusers(User user) |
throws ModelStoreException; |
|
public Collection listUserLogins(CollectionInfo info, int rowsPerPage, int pageNumber, |
Integer[] sortingKeys, User user) |
throws ModelStoreException; |
} |