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

tw.yukina.notion.sdk.client.NotionSession Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
package tw.yukina.notion.sdk.client;


import tw.yukina.notion.sdk.model.block.Block;
import tw.yukina.notion.sdk.model.database.Database;
import tw.yukina.notion.sdk.model.page.Page;

import java.util.List;

public interface NotionSession extends AutoCloseable {

    Page getPageByUuid(String uuid);

    Database getDatabaseByUuid(String uuid);

//    Block getBlockByUuid(String uuid);

    Page save(Page page);

//    Page save(Page page, List content);

    Database save(Database database);

    void flush();

    void close();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy