content

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2024 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

*

  • Copyright 2015 @ 56x.net.
  • name : article
  • author : jarryliu
  • date : 2016-06-27 15:57
  • description :
  • history :

*

  • Copyright 2015 @ 56x.net.
  • name : content
  • author : jarryliu
  • date : -- :
  • description :
  • history :

*

  • Copyright 2015 @ 56x.net.
  • name : pag
  • author : jarryliu
  • date : -- :
  • description :
  • history :

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCategory

func NewCategory(v *content.ArticleCategory, m *articleManagerImpl,
	rep content.IArchiveRepo) content.ICategory

Types

type Content

type Content struct {
	// contains filtered or unexported fields
}

func (*Content) ArticleManager

func (c *Content) ArticleManager() content.IArticleManager

ArticleManager 文章服务

func (*Content) CreatePage

func (c *Content) CreatePage(v *content.Page) content.IPage

CreatePage 创建页面

func (*Content) DeletePage

func (c *Content) DeletePage(id int32) error

DeletePage 删除页面

func (*Content) GetAggregateRootId

func (c *Content) GetAggregateRootId() int

GetAggregateRootId 获取聚合根编号

func (*Content) GetPage

func (c *Content) GetPage(id int32) content.IPage

GetPage 获取页面

func (*Content) GetPageByCode added in v0.4.4

func (c *Content) GetPageByCode(indent string) content.IPage

GetPageByCode 根据字符串标识获取页面

Jump to

Keyboard shortcuts

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