nl.vpro.domain.user.OrganizationRepository Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of user-domain Show documentation
Show all versions of user-domain Show documentation
Domain classes and interfaces related to accountability, users and organizations.
/*
* Copyright (C) 2012 Licensed under the Apache License, Version 2.0
* VPRO The Netherlands
*/
package nl.vpro.domain.user;
import java.util.List;
interface OrganizationRepository {
List findAll(Class clazz);
/**
* @return {@code null} if the entity does not exist
*/
T get(String id, Class clazz);
/**
* @return {@code null} if the entity cannot be found
*/
T getByProperty(String property, String value, Class clazz);
/**
* @return {@code null} if the entity cannot be found
*/
T getByPropertyIgnoreCase(String property, String value, Class clazz);
T merge(T broadcaster);
void delete(T broadcaster);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy