wikipage

package
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: 2 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) AddPage

func (s *Service) AddPage(nodeId int64, title string, content string, summary string, minorEdit bool, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) AddPage2

func (s *Service) AddPage2(nodeId int64, title string, content string, summary string, minorEdit bool, format string, parentTitle string, redirectTitle string, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) AddPageAttachment

func (s *Service) AddPageAttachment(nodeId int64, title string, fileName string, file io.Reader, mimeType string) error

func (*Service) AddPageAttachments

func (s *Service) AddPageAttachments(nodeId int64, title string, inputStreamOVPs []interface{}) error

func (*Service) ChangeParent

func (s *Service) ChangeParent(nodeId int64, title string, newParentTitle string, serviceContext *liferay.ObjectWrapper) error

func (*Service) CopyPageAttachments

func (s *Service) CopyPageAttachments(templateNodeId int64, templateTitle string, nodeId int64, title string) error

func (*Service) DeletePage

func (s *Service) DeletePage(nodeId int64, title string) error

func (*Service) DeletePage2

func (s *Service) DeletePage2(nodeId int64, title string, version float64) error

func (*Service) DeletePageAttachment

func (s *Service) DeletePageAttachment(nodeId int64, title string, fileName string) error

func (*Service) DeletePageAttachments

func (s *Service) DeletePageAttachments(nodeId int64, title string) error

func (*Service) DeleteTempPageAttachment

func (s *Service) DeleteTempPageAttachment(nodeId int64, fileName string, tempFolderName string) error

func (*Service) DeleteTrashPageAttachments

func (s *Service) DeleteTrashPageAttachments(nodeId int64, title string) error

func (*Service) DiscardDraft

func (s *Service) DiscardDraft(nodeId int64, title string, version float64) error

func (*Service) GetChildren

func (s *Service) GetChildren(groupId int64, nodeId int64, head bool, parentTitle string) ([]interface{}, error)

func (*Service) GetDraftPage

func (s *Service) GetDraftPage(nodeId int64, title string) (map[string]interface{}, error)

func (*Service) GetNodePages

func (s *Service) GetNodePages(nodeId int64, max int) ([]interface{}, error)

func (*Service) GetNodePagesRss

func (s *Service) GetNodePagesRss(nodeId int64, max int, _type string, version float64, displayStyle string, feedURL string, entryURL string) (string, error)

func (*Service) GetNodePagesRss2

func (s *Service) GetNodePagesRss2(nodeId int64, max int, _type string, version float64, displayStyle string, feedURL string, entryURL string, attachmentURLPrefix string) (string, error)

func (*Service) GetOrphans

func (s *Service) GetOrphans(groupId int64, nodeId int64) ([]interface{}, error)

func (*Service) GetPage

func (s *Service) GetPage(nodeId int64, title string) (map[string]interface{}, error)

func (*Service) GetPage2

func (s *Service) GetPage2(groupId int64, nodeId int64, title string) (map[string]interface{}, error)

func (*Service) GetPage3

func (s *Service) GetPage3(nodeId int64, title string, head *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) GetPage4

func (s *Service) GetPage4(nodeId int64, title string, version float64) (map[string]interface{}, error)

func (*Service) GetPages

func (s *Service) GetPages(groupId int64, userId int64, nodeId int64, status int, start int, end int) ([]interface{}, error)

func (*Service) GetPages2

func (s *Service) GetPages2(groupId int64, nodeId int64, head bool, status int, start int, end int, obc *liferay.ObjectWrapper) ([]interface{}, error)

func (*Service) GetPagesCount

func (s *Service) GetPagesCount(groupId int64, nodeId int64, head bool) (int, error)

func (*Service) GetPagesCount2

func (s *Service) GetPagesCount2(groupId int64, userId int64, nodeId int64, status int) (int, error)

func (*Service) GetPagesRss

func (s *Service) GetPagesRss(companyId int64, nodeId int64, title string, max int, _type string, version float64, displayStyle string, feedURL string, entryURL string, locale string) (string, error)

func (*Service) GetPagesRss2

func (s *Service) GetPagesRss2(companyId int64, nodeId int64, title string, max int, _type string, version float64, displayStyle string, feedURL string, entryURL string, attachmentURLPrefix string, locale string) (string, error)

func (*Service) GetRecentChanges

func (s *Service) GetRecentChanges(groupId int64, nodeId int64, start int, end int) ([]interface{}, error)

func (*Service) GetRecentChangesCount

func (s *Service) GetRecentChangesCount(groupId int64, nodeId int64) (int, error)

func (*Service) GetTempPageAttachmentNames

func (s *Service) GetTempPageAttachmentNames(nodeId int64, tempFolderName string) ([]interface{}, error)

func (*Service) MovePage

func (s *Service) MovePage(nodeId int64, title string, newTitle string, serviceContext *liferay.ObjectWrapper) error

func (*Service) MovePageAttachmentToTrash

func (s *Service) MovePageAttachmentToTrash(nodeId int64, title string, fileName string) (map[string]interface{}, error)

func (*Service) MovePageToTrash

func (s *Service) MovePageToTrash(nodeId int64, title string) (map[string]interface{}, error)

func (*Service) MovePageToTrash2

func (s *Service) MovePageToTrash2(nodeId int64, title string, version float64) (map[string]interface{}, error)

func (*Service) RestorePageAttachmentFromTrash

func (s *Service) RestorePageAttachmentFromTrash(nodeId int64, title string, fileName string) error

func (*Service) RestorePageFromTrash

func (s *Service) RestorePageFromTrash(resourcePrimKey int64) error

func (*Service) RevertPage

func (s *Service) RevertPage(nodeId int64, title string, version float64, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) SubscribePage

func (s *Service) SubscribePage(nodeId int64, title string) error

func (*Service) UnsubscribePage

func (s *Service) UnsubscribePage(nodeId int64, title string) error

func (*Service) UpdatePage

func (s *Service) UpdatePage(nodeId int64, title string, version float64, content string, summary string, minorEdit bool, format string, parentTitle string, redirectTitle string, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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