📄 jahiatemplatedef.java
字号:
//// ____.// __/\ ______| |__/\. _______// __ .____| | \ | +----+ \// _______| /--| | | - \ _ | : - \_________// \\______: :---| : : | : | \________>// |__\---\_____________:______: :____|____:_____\// /_____|//// . . . i n j a h i a w e t r u s t . . .//////// JahiaTemplateDef//// NK 16.01.2001////package org.jahia.data.templates;/** * Holds Informations about a Template Definition * * @author Khue ng * @version 1.0 */ public class JahiaTemplateDef { /** Name of the template **/ private String m_Name; /** The filename of the template **/ private String m_Filename; /** The display Name of the template **/ private String m_DisplayName; /** If the template is visible **/ private boolean m_Visible; /** Is a Home page template **/ private boolean m_IsHomePage; /** * Constructor * */ public JahiaTemplateDef ( String name, String filename, String displayName, boolean visible, boolean isHomePage ) { m_Name = name; m_Filename= filename; m_DisplayName = displayName; m_Visible = visible; m_IsHomePage = isHomePage; } /** * Return the template name * * @return (String) the name of the template */ public String getName(){ return m_Name; } /** * Set the name * @param (String) the name of the template */ public void setName(String name){ m_Name = name; } /** * Return the template filename * * @return (String) the name of the template filename */ public String getFileName(){ return m_Filename; } /** * Set the filename * @param (String) the template filename */ public void setFilename(String filename){ m_Filename = filename; } /** * Return the template dislay name * * @return (String) the name of the template display name */ public String getDisplayName(){ return m_DisplayName; } /** * Set the display name * @param (String) the template display name */ public void setDisplayName(String displayName){ m_DisplayName = displayName; } /** * is the template visible to user ? * * @return (boolean) visible */ public boolean isVisible(){ return m_Visible; } /** * Set template visible to user ? * * @param (boolean) visible status */ public void setVisible(boolean visible){ m_Visible = visible; } /** * is the template a home page like template ? * * @return (boolean) is a home page like template */ public boolean isHomePage(){ return m_IsHomePage; } /** * Set this template as a Home Page template like * * @param (boolean) home page like properties */ public void setIsHomePage(boolean isHomePage){ m_IsHomePage = isHomePage; } } // end JahiaTemplateDef
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -