Interface PageManagementService
-
- All Known Implementing Classes:
PageManagementServiceImpl
public interface PageManagementService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
askAiAssistant(java.util.LinkedHashMap<java.lang.String,java.lang.Object> prompt)
This method does copy template to specific route.void
copyPage(CopyPageRequest copyRequest)
This method does copy template to anothervoid
copyPage(java.util.LinkedHashMap<java.lang.String,java.lang.Object> copyRequest)
This method does copy template to anotherjava.lang.String
createPage(CreatePageRequest pageRequest)
This method create a new pagejava.lang.String
createPage(java.util.LinkedHashMap<java.lang.String,java.lang.Object> pageRequest)
This method create a new pagevoid
deletePage(java.lang.String pageId)
This method delete a pagevoid
deletePages(java.util.ArrayList<java.lang.String> pageIds)
This method delete many pagesvoid
duplicatePage(CopyPageRequest copyRequest)
This method does copy template to anothervoid
duplicatePage(java.util.LinkedHashMap<java.lang.String,java.lang.Object> copyRequest)
This method does copy template to anothervoid
publishToUrl(CreateRouteRequest routeRequest)
This method does copy template to specific routevoid
publishToUrl(java.util.LinkedHashMap<java.lang.String,java.lang.Object> routeRequest)
This method does copy template to specific routevoid
updatePage(CreatePageRequest pageRequest)
This method does update an existing pagevoid
updatePage(java.util.LinkedHashMap<java.lang.String,java.lang.Object> pageRequest)
This method does update an existing page
-
-
-
Method Detail
-
createPage
java.lang.String createPage(java.util.LinkedHashMap<java.lang.String,java.lang.Object> pageRequest)
This method create a new page- Parameters:
pageRequest
- this request object as map- Returns:
- identifier from created page
-
createPage
java.lang.String createPage(CreatePageRequest pageRequest)
This method create a new page- Parameters:
pageRequest
- this request object as entity- Returns:
- identifier from created page
-
deletePage
void deletePage(java.lang.String pageId)
This method delete a page- Parameters:
pageId
- identifier for page
-
deletePages
void deletePages(java.util.ArrayList<java.lang.String> pageIds)
This method delete many pages- Parameters:
pageIds
- identifiers for pages
-
updatePage
void updatePage(java.util.LinkedHashMap<java.lang.String,java.lang.Object> pageRequest)
This method does update an existing page- Parameters:
pageRequest
- this request object as map
-
updatePage
void updatePage(CreatePageRequest pageRequest)
This method does update an existing page- Parameters:
pageRequest
- this request object as entity
-
copyPage
void copyPage(java.util.LinkedHashMap<java.lang.String,java.lang.Object> copyRequest)
This method does copy template to another- Parameters:
copyRequest
- this request object as map
-
duplicatePage
void duplicatePage(CopyPageRequest copyRequest)
This method does copy template to another- Parameters:
copyRequest
- this request object as entity
-
duplicatePage
void duplicatePage(java.util.LinkedHashMap<java.lang.String,java.lang.Object> copyRequest)
This method does copy template to another- Parameters:
copyRequest
- this request object as map
-
copyPage
void copyPage(CopyPageRequest copyRequest)
This method does copy template to another- Parameters:
copyRequest
- this request object as entity
-
publishToUrl
void publishToUrl(java.util.LinkedHashMap<java.lang.String,java.lang.Object> routeRequest)
This method does copy template to specific route- Parameters:
routeRequest
- this request object as map
-
publishToUrl
void publishToUrl(CreateRouteRequest routeRequest)
This method does copy template to specific route- Parameters:
routeRequest
- this request object as entity
-
askAiAssistant
java.lang.String askAiAssistant(java.util.LinkedHashMap<java.lang.String,java.lang.Object> prompt)
This method does copy template to specific route. Only interact with web-socket calls.- Parameters:
prompt
- this prompt to Ai-assistant- Returns:
- the answer from ChatGPT
-
-