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

org.yuequan.watchdog.client.ApplicationRepository Maven / Gradle / Ivy

There is a newer version: 0.8.3.BETA
Show newest version
package org.yuequan.watchdog.client;

import org.springframework.security.oauth2.provider.ClientDetails;

import java.util.List;
import java.util.Optional;

/**
 * 对{@link Application}持久化管理的接口定义
 * @author yuequan
 * @since 1.0
 **/
public interface ApplicationRepository {
    T save(ClientDetails t);
    Optional findByClientId(String clientId);
    T update(ClientDetails t);
    List findAll();
    List findAll(int pageNo, int pageSize);
    void delete(String clientId);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy