Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the Info objects in jspXCMS

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces what are the Info objects in jspXCMS, which can be used for reference by interested friends. I hope you can learn a lot after reading this article.

Document object. Class name: com.jspxcms.core.domain.Info.

Nodes: expand the column list (including the main column). Type java.util.List.

NodesExcludeMain: expand the column list (excluding the main column). Type java.util.List.

Tags: a list of keywords. Type java.util.List

Specials: list of topics. Type java.util.List

Customs: a collection of custom fields. Get method such as info.customs ['abc']. Type java.util.Map.

Clobs: customize the collection of large fields. Get method such as info.clobs ['abc']. Type java.util.Map.

Attrs: a list of document properties. Type java.util.List

Name: name.

Number: encoding.

WithImage: whether there is a picture. Type java.lang.Boolean.

ImageWidth: picture width. Type java.lang.Integer.

ImageHeight: picture height. Type java.lang.Integer.

Images: photo collection. Type java.util.List

Name: name of the picture.

Image: picture URL.

Text: the body of the picture.

Files: fileset. Type java.util.List

Name: file name.

File: file URL.

Length: file length. Type java.lang.Long.

Size: file size, automatically converted to KB, MB, or GB. Type java.lang.String.

Extension: file extension (excluding.).

TextList: a list of paged bodies. Type java.util.List

Title: title.

Text: text.

Node: the main column. Type com.jspxcms.core.domain.Node.

Org: organization. The organization in which the user publishes the document. Type com.jspxcms.core.domain.Org.

Createor: publisher. Type com.jspxcms.core.domain.User.

Site: site. Type com.jspxcms.core.domain.Site.

Model: document model. Type com.jspxcms.core.domain.Model.

Url: link address.

Title: title.

Keywords: key words.

Description: description.

Text: text.

Source: source.

SourceUrl: source URL.

Author: author.

PublishDate: release time. Type java.util.Date.

OffDate: offline time. Type java.util.Date.

SmallImage: title diagram URL.

SmallImageUrl: title diagram URL (show noPictureUrl if not saved).

LargeImage: body graph URL.

LargeImageUrl: text graph URL (show noPictureUrl if not saved).

AttrImage: attribute graph URL. Get the corresponding attribute graph according to the attr parameter of the current InfoList.

AttrImageUrl: attribute graph URL. Get the corresponding attribute graph according to the attr parameter of the current InfoList. (display noPictureUrl if not saved).

Video: video URL.

VideoName: video name.

VideoLength: video byte length. Type java.lang.Long.

VideoSize: video size, automatically converted to KB, MB or GB. Type java.lang.String.

VideoTime: video duration.

File: file URL.

FileName: file name.

FileLength: file byte length. Type java.lang.Long.

FileSize: file size, automatically converted to KB, MB, or GB. Type java.lang.String.

FileExtension: file extension (excluding.).

Doc: library URL.

DocName: library name.

DocLength: library byte length. Type java.lang.Long.

DocPdf: library PDF format file URL.

DocSwf: library SWF format file URL.

BufferViews: number of views (including number of caches). Type java.lang.Integer.

Views: number of views (excluding cache times). Type java.lang.Integer.

BufferDownloads: number of downloads (including number of caches). Type java.lang.Integer.

Downloads: number of downloads (excluding cache times). Type java.lang.Integer.

BufferComments: number of comments (including number of caches). Type java.lang.Integer.

Comments: number of comments (excluding cached times). Type java.lang.Integer.

BufferInvolveds: number of comments participated (including the number of caches). Type java.lang.Integer.

BufferDiggs: the top number (including the number of caches). Type java.lang.Integer.

Diggs: top times (excluding cache times). Type java.lang.Integer.

BufferBurys: number of steps (including number of caches). Type java.lang.Integer.

Burys: number of steps (excluding cache times). Type java.lang.Integer.

Score: score.

Subtitle: subtitle.

FullTitle: full title.

TextWithoutPageBreak: text without a paging logo.

PlainText: plain text (with html tags removed).

New: whether it was released within 1 day (24 hours). Type java.lang.Boolean.

IsNew (int day): whether it is released within day days (day * 24 hours). Type boolean.

Linked: whether to redirect to the link. Type boolean.

LinkUrl: go to the link URL.

NewWindow: whether a new window opens. Type java.lang.Boolean.

Strong: whether the title is bold. Type java.lang.Boolean.

Em: whether the title is italic. Type java.lang.Boolean.

Color: title color.

HighlightTitle: keyword highlights the title (available in full-text retrieval).

HighlightText: keyword highlights the body (available in full-text retrieval).

P0: parameter 0 can be queried. Type java.lang.Integer.

P1: parameter 1 can be queried. Type java.lang.Integer.

P2: parameter 2 can be queried. Type java.lang.Integer.

P3: parameter 3 can be queried. Type java.lang.Integer.

P4: parameter 4 can be queried. Type java.lang.Integer.

P5: parameter 5 can be queried. Type java.lang.Integer.

P6: parameter 6 can be queried. Type java.lang.Integer.

P0Value: the parameter value 0 can be queried.

P1Value: you can query the parameter value 1.

P2Value: parameter value 2 can be queried.

P3Value: the parameter value 3 can be queried.

P4Value: the parameter value 4 can be queried.

P5Value: the parameter value 5 can be queried.

P6Value: the parameter value 6 can be queried.

Thank you for reading this article carefully. I hope the article "what are the Info objects in jspXCMS" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report