Documentation ¶
Index ¶
- type Service
- func (s *Service) AddDiscussionMessage(groupId int64, className string, classPK int64, permissionClassName string, ...) (map[string]interface{}, error)
- func (s *Service) AddMessage(groupId int64, categoryId int64, subject string, body string, format string, ...) (map[string]interface{}, error)
- func (s *Service) AddMessage2(groupId int64, categoryId int64, threadId int64, parentMessageId int64, ...) (map[string]interface{}, error)
- func (s *Service) AddMessage3(categoryId int64, subject string, body string, ...) (map[string]interface{}, error)
- func (s *Service) AddMessage4(parentMessageId int64, subject string, body string, format string, ...) (map[string]interface{}, error)
- func (s *Service) DeleteDiscussionMessage(groupId int64, className string, classPK int64, permissionClassName string, ...) error
- func (s *Service) DeleteMessage(messageId int64) error
- func (s *Service) DeleteMessageAttachments(messageId int64) error
- func (s *Service) GetCategoryMessages(groupId int64, categoryId int64, status int, start int, end int) ([]interface{}, error)
- func (s *Service) GetCategoryMessagesCount(groupId int64, categoryId int64, status int) (int, error)
- func (s *Service) GetCategoryMessagesRss(groupId int64, categoryId int64, status int, max int, _type string, ...) (string, error)
- func (s *Service) GetCompanyMessagesRss(companyId int64, status int, max int, _type string, version float64, ...) (string, error)
- func (s *Service) GetGroupMessagesCount(groupId int64, status int) (int, error)
- func (s *Service) GetGroupMessagesRss(groupId int64, userId int64, status int, max int, _type string, ...) (string, error)
- func (s *Service) GetGroupMessagesRss2(groupId int64, status int, max int, _type string, version float64, ...) (string, error)
- func (s *Service) GetMessage(messageId int64) (map[string]interface{}, error)
- func (s *Service) GetMessageDisplay(messageId int64, status int, threadView string, includePrevAndNext bool) (map[string]interface{}, error)
- func (s *Service) GetThreadAnswersCount(groupId int64, categoryId int64, threadId int64) (int, error)
- func (s *Service) GetThreadMessages(groupId int64, categoryId int64, threadId int64, status int, start int, ...) ([]interface{}, error)
- func (s *Service) GetThreadMessagesCount(groupId int64, categoryId int64, threadId int64, status int) (int, error)
- func (s *Service) GetThreadMessagesRss(threadId int64, status int, max int, _type string, version float64, ...) (string, error)
- func (s *Service) RestoreMessageAttachmentFromTrash(messageId int64, fileName string) error
- func (s *Service) SubscribeMessage(messageId int64) error
- func (s *Service) UnsubscribeMessage(messageId int64) error
- func (s *Service) UpdateAnswer(messageId int64, answer bool, cascade bool) error
- func (s *Service) UpdateDiscussionMessage(className string, classPK int64, permissionClassName string, ...) (map[string]interface{}, error)
- func (s *Service) UpdateMessage(messageId int64, subject string, body string, inputStreamOVPs []interface{}, ...) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) AddDiscussionMessage ¶
func (s *Service) AddDiscussionMessage(groupId int64, className string, classPK int64, permissionClassName string, permissionClassPK int64, permissionOwnerId int64, threadId int64, parentMessageId int64, subject string, body string, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)
func (*Service) AddMessage ¶
func (*Service) AddMessage2 ¶
func (s *Service) AddMessage2(groupId int64, categoryId int64, threadId int64, parentMessageId int64, subject string, body string, format string, inputStreamOVPs []interface{}, anonymous bool, priority float64, allowPingbacks bool, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)
func (*Service) AddMessage3 ¶
func (*Service) AddMessage4 ¶
func (*Service) DeleteDiscussionMessage ¶
func (*Service) DeleteMessage ¶
func (*Service) DeleteMessageAttachments ¶
func (*Service) GetCategoryMessages ¶
func (*Service) GetCategoryMessagesCount ¶
func (*Service) GetCategoryMessagesRss ¶
func (*Service) GetCompanyMessagesRss ¶
func (*Service) GetGroupMessagesCount ¶
func (*Service) GetGroupMessagesRss ¶
func (*Service) GetGroupMessagesRss2 ¶
func (*Service) GetMessage ¶
func (*Service) GetMessageDisplay ¶
func (*Service) GetThreadAnswersCount ¶
func (*Service) GetThreadMessages ¶
func (*Service) GetThreadMessagesCount ¶
func (*Service) GetThreadMessagesRss ¶
func (*Service) RestoreMessageAttachmentFromTrash ¶
func (*Service) SubscribeMessage ¶
func (*Service) UnsubscribeMessage ¶
func (*Service) UpdateAnswer ¶
func (*Service) UpdateDiscussionMessage ¶
Click to show internal directories.
Click to hide internal directories.