Package com.patreonshout.jpa
Class CreatorPageFunctions
java.lang.Object
com.patreonshout.jpa.CreatorPageFunctions
@Component
public class CreatorPageFunctions
extends java.lang.Object
Component that contains functions for
CreatorPage endpoints that allow interaction with the database-
Field Summary
Fields Modifier and Type Field Description (package private) CreatorPageRepositorycreatorPageRepositoryAn autowired Spring repository that handles all database CRUD operations with the creator pages -
Constructor Summary
Constructors Constructor Description CreatorPageFunctions() -
Method Summary
Modifier and Type Method Description voidputCreatorPage(int campaignId, java.lang.String vanity)puts aCreatorPageobject into the database based on campaignId and vanity nameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
creatorPageRepository
An autowired Spring repository that handles all database CRUD operations with the creator pages
-
-
Constructor Details
-
CreatorPageFunctions
public CreatorPageFunctions()
-
-
Method Details
-
putCreatorPage
public void putCreatorPage(int campaignId, java.lang.String vanity)puts aCreatorPageobject into the database based on campaignId and vanity name- Parameters:
campaignId- is the user's Patreon campaign idvanity- is the user's Patreon url name
-