Documentation ¶
Index ¶
- type Service
- func (s *Service) AddArticle(groupId int64, folderId int64, classNameId int64, classPK int64, ...) (map[string]interface{}, error)
- func (s *Service) AddArticle2(groupId int64, folderId int64, classNameId int64, classPK int64, ...) (map[string]interface{}, error)
- func (s *Service) CopyArticle(groupId int64, oldArticleId string, newArticleId string, autoArticleId bool, ...) (map[string]interface{}, error)
- func (s *Service) DeleteArticle(groupId int64, articleId string, articleURL string, ...) error
- func (s *Service) DeleteArticle2(groupId int64, articleId string, version float64, articleURL string, ...) error
- func (s *Service) ExpireArticle(groupId int64, articleId string, articleURL string, ...) error
- func (s *Service) ExpireArticle2(groupId int64, articleId string, version float64, articleURL string, ...) (map[string]interface{}, error)
- func (s *Service) GetArticle(id int64) (map[string]interface{}, error)
- func (s *Service) GetArticle2(groupId int64, articleId string) (map[string]interface{}, error)
- func (s *Service) GetArticle3(groupId int64, articleId string, version float64) (map[string]interface{}, error)
- func (s *Service) GetArticle4(groupId int64, className string, classPK int64) (map[string]interface{}, error)
- func (s *Service) GetArticleByUrlTitle(groupId int64, urlTitle string) (map[string]interface{}, error)
- func (s *Service) GetArticleContent(groupId int64, articleId string, languageId string, ...) (string, error)
- func (s *Service) GetArticleContent2(groupId int64, articleId string, version float64, languageId string, ...) (string, error)
- func (s *Service) GetArticles(groupId int64, folderId int64) ([]interface{}, error)
- func (s *Service) GetArticles2(groupId int64, folderId int64, start int, end int, obc *liferay.ObjectWrapper) ([]interface{}, error)
- func (s *Service) GetArticlesByArticleId(groupId int64, articleId string, start int, end int, ...) ([]interface{}, error)
- func (s *Service) GetArticlesByLayoutUuid(groupId int64, layoutUuid string) ([]interface{}, error)
- func (s *Service) GetArticlesByStructureId(groupId int64, ddmStructureKey string, start int, end int, ...) ([]interface{}, error)
- func (s *Service) GetArticlesByStructureId2(groupId int64, classNameId int64, ddmStructureKey string, status int, ...) ([]interface{}, error)
- func (s *Service) GetArticlesCount(groupId int64, folderId int64) (int, error)
- func (s *Service) GetArticlesCount2(groupId int64, folderId int64, status int) (int, error)
- func (s *Service) GetArticlesCountByArticleId(groupId int64, articleId string) (int, error)
- func (s *Service) GetArticlesCountByStructureId(groupId int64, ddmStructureKey string) (int, error)
- func (s *Service) GetArticlesCountByStructureId2(groupId int64, classNameId int64, ddmStructureKey string, status int) (int, error)
- func (s *Service) GetDisplayArticleByUrlTitle(groupId int64, urlTitle string) (map[string]interface{}, error)
- func (s *Service) GetFoldersAndArticlesCount(groupId int64, folderIds []interface{}) (int, error)
- func (s *Service) GetGroupArticles(groupId int64, userId int64, rootFolderId int64, start int, end int, ...) ([]interface{}, error)
- func (s *Service) GetGroupArticles2(groupId int64, userId int64, rootFolderId int64, status int, start int, ...) ([]interface{}, error)
- func (s *Service) GetGroupArticlesCount(groupId int64, userId int64, rootFolderId int64) (int, error)
- func (s *Service) GetGroupArticlesCount2(groupId int64, userId int64, rootFolderId int64, status int) (int, error)
- func (s *Service) GetLatestArticle(resourcePrimKey int64) (map[string]interface{}, error)
- func (s *Service) GetLatestArticle2(groupId int64, articleId string, status int) (map[string]interface{}, error)
- func (s *Service) GetLatestArticle3(groupId int64, className string, classPK int64) (map[string]interface{}, error)
- func (s *Service) MoveArticle(groupId int64, articleId string, newFolderId int64) error
- func (s *Service) MoveArticleFromTrash(groupId int64, articleId string, newFolderId int64, ...) (map[string]interface{}, error)
- func (s *Service) MoveArticleFromTrash2(groupId int64, resourcePrimKey int64, newFolderId int64, ...) (map[string]interface{}, error)
- func (s *Service) MoveArticleToTrash(groupId int64, articleId string) (map[string]interface{}, error)
- func (s *Service) RemoveArticleLocale(companyId int64, languageId string) error
- func (s *Service) RemoveArticleLocale2(groupId int64, articleId string, version float64, languageId string) (map[string]interface{}, error)
- func (s *Service) RestoreArticleFromTrash(resourcePrimKey int64) error
- func (s *Service) RestoreArticleFromTrash2(groupId int64, articleId string) error
- func (s *Service) Search(companyId int64, groupId int64, folderIds []interface{}, classNameId int64, ...) ([]interface{}, error)
- func (s *Service) Search2(companyId int64, groupId int64, folderIds []interface{}, classNameId int64, ...) ([]interface{}, error)
- func (s *Service) Search3(companyId int64, groupId int64, folderIds []interface{}, classNameId int64, ...) ([]interface{}, error)
- func (s *Service) Search4(groupId int64, creatorUserId int64, status int, start int, end int) (map[string]interface{}, error)
- func (s *Service) SearchCount(companyId int64, groupId int64, folderIds []interface{}, classNameId int64, ...) (int, error)
- func (s *Service) SearchCount2(companyId int64, groupId int64, folderIds []interface{}, classNameId int64, ...) (int, error)
- func (s *Service) SearchCount3(companyId int64, groupId int64, folderIds []interface{}, classNameId int64, ...) (int, error)
- func (s *Service) Subscribe(groupId int64) error
- func (s *Service) Unsubscribe(groupId int64) error
- func (s *Service) UpdateArticle(userId int64, groupId int64, folderId int64, articleId string, version float64, ...) (map[string]interface{}, error)
- func (s *Service) UpdateArticle2(groupId int64, folderId int64, articleId string, version float64, ...) (map[string]interface{}, error)
- func (s *Service) UpdateArticle3(groupId int64, folderId int64, articleId string, version float64, ...) (map[string]interface{}, error)
- func (s *Service) UpdateArticleTranslation(groupId int64, articleId string, version float64, locale string, title string, ...) (map[string]interface{}, error)
- func (s *Service) UpdateArticleTranslation2(groupId int64, articleId string, version float64, locale string, title string, ...) (map[string]interface{}, error)
- func (s *Service) UpdateContent(groupId int64, articleId string, version float64, content string) (map[string]interface{}, error)
- func (s *Service) UpdateStatus(groupId int64, articleId string, version float64, status int, ...) (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) 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 (*Service) DeleteArticle ¶
func (*Service) DeleteArticle2 ¶
func (*Service) ExpireArticle ¶
func (*Service) ExpireArticle2 ¶
func (*Service) GetArticle2 ¶
func (*Service) GetArticle3 ¶
func (*Service) GetArticle4 ¶
func (*Service) GetArticleByUrlTitle ¶
func (*Service) GetArticleContent ¶
func (*Service) GetArticleContent2 ¶
func (*Service) GetArticles ¶
func (*Service) GetArticles2 ¶
func (*Service) GetArticlesByArticleId ¶
func (*Service) GetArticlesByLayoutUuid ¶
func (*Service) GetArticlesByStructureId ¶
func (*Service) GetArticlesByStructureId2 ¶
func (*Service) GetArticlesCount ¶
func (*Service) GetArticlesCount2 ¶
func (*Service) GetArticlesCountByArticleId ¶
func (*Service) GetArticlesCountByStructureId ¶
func (*Service) GetArticlesCountByStructureId2 ¶
func (*Service) GetDisplayArticleByUrlTitle ¶
func (*Service) GetFoldersAndArticlesCount ¶
func (*Service) GetGroupArticles ¶
func (*Service) GetGroupArticles2 ¶
func (*Service) GetGroupArticlesCount ¶
func (*Service) GetGroupArticlesCount2 ¶
func (*Service) GetLatestArticle ¶
func (*Service) GetLatestArticle2 ¶
func (*Service) GetLatestArticle3 ¶
func (*Service) MoveArticle ¶
func (*Service) MoveArticleFromTrash ¶
func (*Service) MoveArticleFromTrash2 ¶
func (*Service) MoveArticleToTrash ¶
func (*Service) RemoveArticleLocale ¶
func (*Service) RemoveArticleLocale2 ¶
func (*Service) RestoreArticleFromTrash ¶
func (*Service) RestoreArticleFromTrash2 ¶
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) 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) Unsubscribe ¶
func (*Service) UpdateArticle ¶
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 (*Service) UpdateArticleTranslation ¶
func (*Service) UpdateArticleTranslation2 ¶
func (*Service) UpdateContent ¶
Click to show internal directories.
Click to hide internal directories.