mbmessage

package
Version: v0.0.0-...-d84e329 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2017 License: LGPL-2.1 Imports: 1 Imported by: 0

Documentation

Index

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 NewService(s liferay.Session) *Service

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 (s *Service) AddMessage(groupId int64, categoryId int64, subject string, body string, format string, inputStreamOVPs []interface{}, anonymous bool, priority float64, allowPingbacks bool, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

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 (s *Service) AddMessage3(categoryId int64, subject string, body string, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) AddMessage4

func (s *Service) AddMessage4(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) DeleteDiscussionMessage

func (s *Service) DeleteDiscussionMessage(groupId int64, className string, classPK int64, permissionClassName string, permissionClassPK int64, permissionOwnerId int64, messageId int64) error

func (*Service) DeleteMessage

func (s *Service) DeleteMessage(messageId int64) error

func (*Service) DeleteMessageAttachments

func (s *Service) DeleteMessageAttachments(messageId int64) error

func (*Service) GetCategoryMessages

func (s *Service) GetCategoryMessages(groupId int64, categoryId int64, status int, start int, end int) ([]interface{}, error)

func (*Service) GetCategoryMessagesCount

func (s *Service) GetCategoryMessagesCount(groupId int64, categoryId int64, status int) (int, error)

func (*Service) GetCategoryMessagesRss

func (s *Service) GetCategoryMessagesRss(groupId int64, categoryId int64, status int, max int, _type string, version float64, displayStyle string, feedURL string, entryURL string, themeDisplay *liferay.ObjectWrapper) (string, error)

func (*Service) GetCompanyMessagesRss

func (s *Service) GetCompanyMessagesRss(companyId int64, status int, max int, _type string, version float64, displayStyle string, feedURL string, entryURL string, themeDisplay *liferay.ObjectWrapper) (string, error)

func (*Service) GetGroupMessagesCount

func (s *Service) GetGroupMessagesCount(groupId int64, status int) (int, error)

func (*Service) GetGroupMessagesRss

func (s *Service) GetGroupMessagesRss(groupId int64, userId int64, status int, max int, _type string, version float64, displayStyle string, feedURL string, entryURL string, themeDisplay *liferay.ObjectWrapper) (string, error)

func (*Service) GetGroupMessagesRss2

func (s *Service) GetGroupMessagesRss2(groupId int64, status int, max int, _type string, version float64, displayStyle string, feedURL string, entryURL string, themeDisplay *liferay.ObjectWrapper) (string, error)

func (*Service) GetMessage

func (s *Service) GetMessage(messageId int64) (map[string]interface{}, error)

func (*Service) GetMessageDisplay

func (s *Service) GetMessageDisplay(messageId int64, status int, threadView string, includePrevAndNext bool) (map[string]interface{}, error)

func (*Service) GetThreadAnswersCount

func (s *Service) GetThreadAnswersCount(groupId int64, categoryId int64, threadId int64) (int, error)

func (*Service) GetThreadMessages

func (s *Service) GetThreadMessages(groupId int64, categoryId int64, threadId int64, status int, start int, end int) ([]interface{}, error)

func (*Service) GetThreadMessagesCount

func (s *Service) GetThreadMessagesCount(groupId int64, categoryId int64, threadId int64, status int) (int, error)

func (*Service) GetThreadMessagesRss

func (s *Service) GetThreadMessagesRss(threadId int64, status int, max int, _type string, version float64, displayStyle string, feedURL string, entryURL string, themeDisplay *liferay.ObjectWrapper) (string, error)

func (*Service) RestoreMessageAttachmentFromTrash

func (s *Service) RestoreMessageAttachmentFromTrash(messageId int64, fileName string) error

func (*Service) SubscribeMessage

func (s *Service) SubscribeMessage(messageId int64) error

func (*Service) UnsubscribeMessage

func (s *Service) UnsubscribeMessage(messageId int64) error

func (*Service) UpdateAnswer

func (s *Service) UpdateAnswer(messageId int64, answer bool, cascade bool) error

func (*Service) UpdateDiscussionMessage

func (s *Service) UpdateDiscussionMessage(className string, classPK int64, permissionClassName string, permissionClassPK int64, permissionOwnerId int64, messageId int64, subject string, body string, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) UpdateMessage

func (s *Service) UpdateMessage(messageId int64, subject string, body string, inputStreamOVPs []interface{}, existingFiles []interface{}, priority float64, allowPingbacks bool, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL