All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.vpro.domain.user.OrganizationRepository Maven / Gradle / Ivy

Go to download

Domain classes and interfaces related to accountability, users and organizations.

There is a newer version: 8.3.1
Show newest version
/*
 * 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