2010-05-29 20:47:04 +02:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2010
|
|
|
|
*
|
|
|
|
* Robert von Burg
|
|
|
|
* eitch@eitchnet.ch
|
|
|
|
*
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
package ch.eitchnet.privilege.handler;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
import ch.eitchnet.privilege.model.internal.User;
|
2010-05-30 00:32:53 +02:00
|
|
|
import ch.eitchnet.privilege.policy.RestrictionPolicy;
|
2010-05-29 20:47:04 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @author rvonburg
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public interface PersistenceHandler {
|
|
|
|
|
|
|
|
public List<User> getAllUsers();
|
|
|
|
public void saveUsers(List<User> users);
|
|
|
|
public List<RestrictionPolicy> getAllRestrictionPolicies();
|
|
|
|
}
|