0,0 → 1,39 |
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.InetDomain; |
|
public interface InetDomainStore |
{ |
public InetDomain get(Long id) |
throws ModelStoreException; |
|
public boolean nameExists(InetDomain domain, String name) |
throws ModelStoreException; |
|
public InetDomain findForName(String name) |
throws ModelStoreException; |
|
public void save(InetDomain domain) |
throws ModelStoreException; |
|
public void delete(InetDomain domain) |
throws ModelStoreException; |
|
public Collection listAllInetDomains(CollectionInfo info, int rowsPerPage, int pageNumber, |
Integer[] sortingKeys) |
throws ModelStoreException; |
|
public Collection listInetDomains(CollectionInfo info, int rowsPerPage, int pageNumber, |
Integer[] sortingKeys, User user) |
throws ModelStoreException; |
|
public int countInetDomainsAvailable(User user) |
throws ModelStoreException; |
|
public Collection listOwnInetDomains(User user) |
throws ModelStoreException; |
} |