diff --git a/src/main/java/ca/tweetzy/auctionhouse/api/sync/ListingDeleteResult.java b/src/main/java/ca/tweetzy/auctionhouse/api/sync/ListingDeleteResult.java new file mode 100644 index 0000000..0f257c4 --- /dev/null +++ b/src/main/java/ca/tweetzy/auctionhouse/api/sync/ListingDeleteResult.java @@ -0,0 +1,26 @@ +/* + * Auction House + * Copyright 2023 Kiran Hart + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package ca.tweetzy.auctionhouse.api.sync; + +public enum ListingDeleteResult { + + DELETED, + NOT_FOUND, + NOT_DELETED +} \ No newline at end of file diff --git a/src/main/java/ca/tweetzy/auctionhouse/api/sync/Synchronize.java b/src/main/java/ca/tweetzy/auctionhouse/api/sync/Synchronize.java new file mode 100644 index 0000000..60b9375 --- /dev/null +++ b/src/main/java/ca/tweetzy/auctionhouse/api/sync/Synchronize.java @@ -0,0 +1,26 @@ +/* + * Auction House + * Copyright 2023 Kiran Hart + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package ca.tweetzy.auctionhouse.api.sync; + +import java.util.function.Consumer; + +public interface Synchronize { + + void sync(Consumer wasSuccess); +} \ No newline at end of file diff --git a/src/main/java/ca/tweetzy/auctionhouse/api/sync/SynchronizeResult.java b/src/main/java/ca/tweetzy/auctionhouse/api/sync/SynchronizeResult.java new file mode 100644 index 0000000..c473a5f --- /dev/null +++ b/src/main/java/ca/tweetzy/auctionhouse/api/sync/SynchronizeResult.java @@ -0,0 +1,25 @@ +/* + * Auction House + * Copyright 2023 Kiran Hart + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package ca.tweetzy.auctionhouse.api.sync; + +public enum SynchronizeResult { + + SUCCESS, + FAILURE +} diff --git a/src/main/java/ca/tweetzy/auctionhouse/api/sync/Unstoreable.java b/src/main/java/ca/tweetzy/auctionhouse/api/sync/Unstoreable.java new file mode 100644 index 0000000..d8c3c36 --- /dev/null +++ b/src/main/java/ca/tweetzy/auctionhouse/api/sync/Unstoreable.java @@ -0,0 +1,30 @@ +/* + * Auction House + * Copyright 2023 Kiran Hart + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package ca.tweetzy.auctionhouse.api.sync; + +import org.jetbrains.annotations.Nullable; + +import java.util.function.Consumer; + +public interface Unstoreable { + + default void unStore(@Nullable final Consumer status) { + + } +} \ No newline at end of file