journalarticle

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: 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) AddArticle

func (s *Service) AddArticle(groupId int64, folderId int64, classNameId int64, classPK int64, articleId string, autoArticleId bool, titleMap map[string]interface{}, descriptionMap map[string]interface{}, content string, _type string, ddmStructureKey string, ddmTemplateKey string, layoutUuid string, displayDateMonth int, displayDateDay int, displayDateYear int, displayDateHour int, displayDateMinute int, expirationDateMonth int, expirationDateDay int, expirationDateYear int, expirationDateHour int, expirationDateMinute int, neverExpire bool, reviewDateMonth int, reviewDateDay int, reviewDateYear int, reviewDateHour int, reviewDateMinute int, neverReview bool, indexable bool, articleURL string, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) AddArticle2

func (s *Service) AddArticle2(groupId int64, folderId int64, classNameId int64, classPK int64, articleId string, autoArticleId bool, titleMap map[string]interface{}, descriptionMap map[string]interface{}, content string, _type string, ddmStructureKey string, ddmTemplateKey string, layoutUuid string, displayDateMonth int, displayDateDay int, displayDateYear int, displayDateHour int, displayDateMinute int, expirationDateMonth int, expirationDateDay int, expirationDateYear int, expirationDateHour int, expirationDateMinute int, neverExpire bool, reviewDateMonth int, reviewDateDay int, reviewDateYear int, reviewDateHour int, reviewDateMinute int, neverReview bool, indexable bool, smallImage bool, smallImageURL string, smallFile io.Reader, images map[string]interface{}, articleURL string, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) CopyArticle

func (s *Service) CopyArticle(groupId int64, oldArticleId string, newArticleId string, autoArticleId bool, version float64) (map[string]interface{}, error)

func (*Service) DeleteArticle

func (s *Service) DeleteArticle(groupId int64, articleId string, articleURL string, serviceContext *liferay.ObjectWrapper) error

func (*Service) DeleteArticle2

func (s *Service) DeleteArticle2(groupId int64, articleId string, version float64, articleURL string, serviceContext *liferay.ObjectWrapper) error

func (*Service) ExpireArticle

func (s *Service) ExpireArticle(groupId int64, articleId string, articleURL string, serviceContext *liferay.ObjectWrapper) error

func (*Service) ExpireArticle2

func (s *Service) ExpireArticle2(groupId int64, articleId string, version float64, articleURL string, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) GetArticle

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

func (*Service) GetArticle2

func (s *Service) GetArticle2(groupId int64, articleId string) (map[string]interface{}, error)

func (*Service) GetArticle3

func (s *Service) GetArticle3(groupId int64, articleId string, version float64) (map[string]interface{}, error)

func (*Service) GetArticle4

func (s *Service) GetArticle4(groupId int64, className string, classPK int64) (map[string]interface{}, error)

func (*Service) GetArticleByUrlTitle

func (s *Service) GetArticleByUrlTitle(groupId int64, urlTitle string) (map[string]interface{}, error)

func (*Service) GetArticleContent

func (s *Service) GetArticleContent(groupId int64, articleId string, languageId string, themeDisplay *liferay.ObjectWrapper) (string, error)

func (*Service) GetArticleContent2

func (s *Service) GetArticleContent2(groupId int64, articleId string, version float64, languageId string, themeDisplay *liferay.ObjectWrapper) (string, error)

func (*Service) GetArticles

func (s *Service) GetArticles(groupId int64, folderId int64) ([]interface{}, error)

func (*Service) GetArticles2

func (s *Service) GetArticles2(groupId int64, folderId int64, start int, end int, obc *liferay.ObjectWrapper) ([]interface{}, error)

func (*Service) GetArticlesByArticleId

func (s *Service) GetArticlesByArticleId(groupId int64, articleId string, start int, end int, obc *liferay.ObjectWrapper) ([]interface{}, error)

func (*Service) GetArticlesByLayoutUuid

func (s *Service) GetArticlesByLayoutUuid(groupId int64, layoutUuid string) ([]interface{}, error)

func (*Service) GetArticlesByStructureId

func (s *Service) GetArticlesByStructureId(groupId int64, ddmStructureKey string, start int, end int, obc *liferay.ObjectWrapper) ([]interface{}, error)

func (*Service) GetArticlesByStructureId2

func (s *Service) GetArticlesByStructureId2(groupId int64, classNameId int64, ddmStructureKey string, status int, start int, end int, obc *liferay.ObjectWrapper) ([]interface{}, error)

func (*Service) GetArticlesCount

func (s *Service) GetArticlesCount(groupId int64, folderId int64) (int, error)

func (*Service) GetArticlesCount2

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

func (*Service) GetArticlesCountByArticleId

func (s *Service) GetArticlesCountByArticleId(groupId int64, articleId string) (int, error)

func (*Service) GetArticlesCountByStructureId

func (s *Service) GetArticlesCountByStructureId(groupId int64, ddmStructureKey string) (int, error)

func (*Service) GetArticlesCountByStructureId2

func (s *Service) GetArticlesCountByStructureId2(groupId int64, classNameId int64, ddmStructureKey string, status int) (int, error)

func (*Service) GetDisplayArticleByUrlTitle

func (s *Service) GetDisplayArticleByUrlTitle(groupId int64, urlTitle string) (map[string]interface{}, error)

func (*Service) GetFoldersAndArticlesCount

func (s *Service) GetFoldersAndArticlesCount(groupId int64, folderIds []interface{}) (int, error)

func (*Service) GetGroupArticles

func (s *Service) GetGroupArticles(groupId int64, userId int64, rootFolderId int64, start int, end int, orderByComparator *liferay.ObjectWrapper) ([]interface{}, error)

func (*Service) GetGroupArticles2

func (s *Service) GetGroupArticles2(groupId int64, userId int64, rootFolderId int64, status int, start int, end int, orderByComparator *liferay.ObjectWrapper) ([]interface{}, error)

func (*Service) GetGroupArticlesCount

func (s *Service) GetGroupArticlesCount(groupId int64, userId int64, rootFolderId int64) (int, error)

func (*Service) GetGroupArticlesCount2

func (s *Service) GetGroupArticlesCount2(groupId int64, userId int64, rootFolderId int64, status int) (int, error)

func (*Service) GetLatestArticle

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

func (*Service) GetLatestArticle2

func (s *Service) GetLatestArticle2(groupId int64, articleId string, status int) (map[string]interface{}, error)

func (*Service) GetLatestArticle3

func (s *Service) GetLatestArticle3(groupId int64, className string, classPK int64) (map[string]interface{}, error)

func (*Service) MoveArticle

func (s *Service) MoveArticle(groupId int64, articleId string, newFolderId int64) error

func (*Service) MoveArticleFromTrash

func (s *Service) MoveArticleFromTrash(groupId int64, articleId string, newFolderId int64, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) MoveArticleFromTrash2

func (s *Service) MoveArticleFromTrash2(groupId int64, resourcePrimKey int64, newFolderId int64, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) MoveArticleToTrash

func (s *Service) MoveArticleToTrash(groupId int64, articleId string) (map[string]interface{}, error)

func (*Service) RemoveArticleLocale

func (s *Service) RemoveArticleLocale(companyId int64, languageId string) error

func (*Service) RemoveArticleLocale2

func (s *Service) RemoveArticleLocale2(groupId int64, articleId string, version float64, languageId string) (map[string]interface{}, error)

func (*Service) RestoreArticleFromTrash

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

func (*Service) RestoreArticleFromTrash2

func (s *Service) RestoreArticleFromTrash2(groupId int64, articleId string) error

func (*Service) Search

func (s *Service) Search(companyId int64, groupId int64, folderIds []interface{}, classNameId int64, keywords string, version *liferay.ObjectWrapper, _type string, ddmStructureKey string, ddmTemplateKey string, displayDateGT int64, displayDateLT int64, status int, reviewDate int64, start int, end int, obc *liferay.ObjectWrapper) ([]interface{}, error)

func (*Service) Search2

func (s *Service) Search2(companyId int64, groupId int64, folderIds []interface{}, classNameId int64, articleId string, version *liferay.ObjectWrapper, title string, description string, content string, _type string, ddmStructureKey string, ddmTemplateKey string, displayDateGT int64, displayDateLT int64, status int, reviewDate int64, andOperator bool, start int, end int, obc *liferay.ObjectWrapper) ([]interface{}, error)

func (*Service) Search3

func (s *Service) Search3(companyId int64, groupId int64, folderIds []interface{}, classNameId int64, articleId string, version *liferay.ObjectWrapper, title string, description string, content string, _type string, ddmStructureKeys []interface{}, ddmTemplateKeys []interface{}, displayDateGT int64, displayDateLT int64, status int, reviewDate int64, andOperator bool, start int, end int, obc *liferay.ObjectWrapper) ([]interface{}, error)

func (*Service) Search4

func (s *Service) Search4(groupId int64, creatorUserId int64, status int, start int, end int) (map[string]interface{}, error)

func (*Service) SearchCount

func (s *Service) SearchCount(companyId int64, groupId int64, folderIds []interface{}, classNameId int64, keywords string, version *liferay.ObjectWrapper, _type string, ddmStructureKey string, ddmTemplateKey string, displayDateGT int64, displayDateLT int64, status int, reviewDate int64) (int, error)

func (*Service) SearchCount2

func (s *Service) SearchCount2(companyId int64, groupId int64, folderIds []interface{}, classNameId int64, articleId string, version *liferay.ObjectWrapper, title string, description string, content string, _type string, ddmStructureKey string, ddmTemplateKey string, displayDateGT int64, displayDateLT int64, status int, reviewDate int64, andOperator bool) (int, error)

func (*Service) SearchCount3

func (s *Service) SearchCount3(companyId int64, groupId int64, folderIds []interface{}, classNameId int64, articleId string, version *liferay.ObjectWrapper, title string, description string, content string, _type string, ddmStructureKeys []interface{}, ddmTemplateKeys []interface{}, displayDateGT int64, displayDateLT int64, status int, reviewDate int64, andOperator bool) (int, error)

func (*Service) Subscribe

func (s *Service) Subscribe(groupId int64) error

func (*Service) Unsubscribe

func (s *Service) Unsubscribe(groupId int64) error

func (*Service) UpdateArticle

func (s *Service) UpdateArticle(userId int64, groupId int64, folderId int64, articleId string, version float64, titleMap map[string]interface{}, descriptionMap map[string]interface{}, content string, layoutUuid string, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) UpdateArticle2

func (s *Service) UpdateArticle2(groupId int64, folderId int64, articleId string, version float64, titleMap map[string]interface{}, descriptionMap map[string]interface{}, content string, _type string, ddmStructureKey string, ddmTemplateKey string, layoutUuid string, displayDateMonth int, displayDateDay int, displayDateYear int, displayDateHour int, displayDateMinute int, expirationDateMonth int, expirationDateDay int, expirationDateYear int, expirationDateHour int, expirationDateMinute int, neverExpire bool, reviewDateMonth int, reviewDateDay int, reviewDateYear int, reviewDateHour int, reviewDateMinute int, neverReview bool, indexable bool, smallImage bool, smallImageURL string, smallFile io.Reader, images map[string]interface{}, articleURL string, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) UpdateArticle3

func (s *Service) UpdateArticle3(groupId int64, folderId int64, articleId string, version float64, content string, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) UpdateArticleTranslation

func (s *Service) UpdateArticleTranslation(groupId int64, articleId string, version float64, locale string, title string, description string, content string, images map[string]interface{}) (map[string]interface{}, error)

func (*Service) UpdateArticleTranslation2

func (s *Service) UpdateArticleTranslation2(groupId int64, articleId string, version float64, locale string, title string, description string, content string, images map[string]interface{}, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) UpdateContent

func (s *Service) UpdateContent(groupId int64, articleId string, version float64, content string) (map[string]interface{}, error)

func (*Service) UpdateStatus

func (s *Service) UpdateStatus(groupId int64, articleId string, version float64, status int, articleURL 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