Advertisement
Guest User

Untitled

a guest
Apr 9th, 2020
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 1.98 KB | None | 0 0
  1.     CreateSection(title, codeName string) (section *DSection.Section)
  2.     UpdateSection(updateSection *DSection.Section) (section *DSection.Section)
  3.     RemoveSection(sectionId int64) (err *CoreError.CompositableError)
  4.     SetCurrentSection(sectionId int64) (section *DSection.Section)
  5.     GetCurrentSection() (section *DSection.Section)
  6.     NextSection() (section *DSection.Section)
  7.     PreviousSection() (section *DSection.Section)
  8.     GetSections() (sections SectionListInterface.List)
  9.     GetSectionById(sectionId int64) (section *DSection.Section)
  10.     AddCategoryToSection(sectionId, categoryId int64) (err *CoreError.CompositableError)
  11.     RemoveCategoryOfSection(sectionId, categoryId int64) (err *CoreError.CompositableError)
  12.  
  13.     CreateCategory(title, codeName string) (category *DCategory.Category)
  14.     UpdateCategory(updateCategory *DCategory.Category) (category *DCategory.Category)
  15.     RemoveCategory(categoryId int64) (err *CoreError.CompositableError)
  16.     GetCategoryById(categoryId int64) (category *DCategory.Category)
  17.     GetCategoryList(sectionId int64, page int) (categoryList CategoryListInterface.List)
  18.  
  19.     GetSectionChatList(sectionId int64, page int) (chatList ChatListInterface.List)
  20.     GetCurrentSectionChatList(page int) (chatList ChatListInterface.List)
  21.     GetCategoryChatList(categoryId int64, page int) (chatList ChatListInterface.List)
  22.     GetCurrentCategoryChatList(page int) (chatList ChatListInterface.List)
  23.  
  24.     GetSectionContactList(sectionId int64, page int) (contactList ContactListInterface.List)   // TODO 07.04.2020: Red_byte move to Contact manager?
  25.     GetCurrentSectionContactList(page int) (contactList ContactListInterface.List)             // TODO 07.04.2020: Red_byte move to Contact manager?
  26.     GetCategoryContactList(categoryId int64, page int) (contactList ContactListInterface.List) // TODO 07.04.2020: Red_byte move to Contact manager?
  27.     GetCurrentCategoryContactList(page int) (contactList ContactListInterface.List)
  28.     PreviousSectionsCountUnreadMessage() (count int64)
  29.     NextSectionsCountUnreadMessage() (count int64)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement