pageinfointerface.java
来自「java 写的一个新闻发布系统」· Java 代码 · 共 59 行
JAVA
59 行
//// ____.// __/\ ______| |__/\. _______// __ .____| | \ | +----+ \// _______| /--| | | - \ _ | : - \_________// \\______: :---| : : | : | \________>// |__\---\_____________:______: :____|____:_____\// /_____|//// . . . i n j a h i a w e t r u s t . . .//package org.jahia.services.pages;/** * This interface holds constants related to the pages. * * @author Fulco Houkes * @version 1.0 */public interface PageInfoInterface{ //--------------------------------- // The following constants define the different kind of pages present // inside of Jahia. A TYPE_DIRECT page is a real page holding renderable // content, while the TYPE_LINK and TYPE_URL are references on other pages. // Respectively the TYPE_LINK and TYPE_URL type are links to an internal // jahia page and a remote URL, which is usually a non jahia page. /** Real page type */ public static final int TYPE_DIRECT = 0; /** Link type page */ public static final int TYPE_LINK = 1; /** Remote URL page type */ public static final int TYPE_URL = 2; /** Array holding the constant type names */ public static final String[] PAGE_TYPE_NAMES = {"TYPE_DIRECT", "TYPE_LINK", "TYPE_URL"}; //--------------------------------- // page default link values. /** Default remote URL value */ public static final String NO_REMOTE_URL = "http://"; /** Page tree hierarchy termination value. <b>No real page should have this * page ID!</b> */ public static final int TERMINATION_PAGE_ID = -1;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?