Adempiere 3.5.2a

org.compiere.model
Class X_CM_Template

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_CM_Template
All Implemented Interfaces:
Serializable, Comparator, I_CM_Template, I_Persistent, Evaluatee
Direct Known Subclasses:
MTemplate

public class X_CM_Template
extends PO
implements I_CM_Template, I_Persistent

Generated Model for CM_Template

Version:
Release 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Fields inherited from interface org.compiere.model.I_CM_Template
accessLevel, COLUMNNAME_CM_Template_ID, COLUMNNAME_CM_WebProject_ID, COLUMNNAME_Description, COLUMNNAME_Elements, COLUMNNAME_Help, COLUMNNAME_IsInclude, COLUMNNAME_IsNews, COLUMNNAME_IsSummary, COLUMNNAME_IsUseAd, COLUMNNAME_IsValid, COLUMNNAME_Name, COLUMNNAME_Processing, COLUMNNAME_TemplateXST, COLUMNNAME_Value, Model, Table_ID, Table_Name
 
Constructor Summary
X_CM_Template(Properties ctx, int CM_Template_ID, String trxName)
          Standard Constructor
X_CM_Template(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getCM_Template_ID()
          Get Template.
 int getCM_WebProject_ID()
          Get Web Project.
 I_CM_WebProject getCM_WebProject()
           
 String getDescription()
          Get Description.
 String getElements()
          Get Elements.
 String getHelp()
          Get Comment/Help.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 String getName()
          Get Name.
 String getTemplateXST()
          Get TemplateXST.
 String getValue()
          Get Search Key.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isInclude()
          Get Included.
 boolean isNews()
          Get Uses News.
 boolean isProcessing()
          Get Process Now.
 boolean isSummary()
          Get Summary Level.
 boolean isUseAd()
          Get Use Ad.
 boolean isValid()
          Get Valid.
 void setCM_Template_ID(int CM_Template_ID)
          Set Template.
 void setCM_WebProject_ID(int CM_WebProject_ID)
          Set Web Project.
 void setDescription(String Description)
          Set Description.
 void setElements(String Elements)
          Set Elements.
 void setHelp(String Help)
          Set Comment/Help.
 void setIsInclude(boolean IsInclude)
          Set Included.
 void setIsNews(boolean IsNews)
          Set Uses News.
 void setIsSummary(boolean IsSummary)
          Set Summary Level.
 void setIsUseAd(boolean IsUseAd)
          Set Use Ad.
 void setIsValid(boolean IsValid)
          Set Valid.
 void setName(String Name)
          Set Name.
 void setProcessing(boolean Processing)
          Set Process Now.
 void setTemplateXST(String TemplateXST)
          Set TemplateXST.
 void setValue(String Value)
          Set Search Key.
 String toString()
          String representation
 
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.compiere.model.I_Persistent
save
 

Constructor Detail

X_CM_Template

public X_CM_Template(Properties ctx,
                     int CM_Template_ID,
                     String trxName)
Standard Constructor


X_CM_Template

public X_CM_Template(Properties ctx,
                     ResultSet rs,
                     String trxName)
Load Constructor

Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

Specified by:
get_AccessLevel in class PO
Returns:
6 - System - Client

initPO

protected POInfo initPO(Properties ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
POInfo

toString

public String toString()
Description copied from class: PO
String representation

Overrides:
toString in class PO
Returns:
String representation

setCM_Template_ID

public void setCM_Template_ID(int CM_Template_ID)
Set Template.

Specified by:
setCM_Template_ID in interface I_CM_Template
Parameters:
CM_Template_ID - Template defines how content is displayed

getCM_Template_ID

public int getCM_Template_ID()
Get Template.

Specified by:
getCM_Template_ID in interface I_CM_Template
Returns:
Template defines how content is displayed

getCM_WebProject

public I_CM_WebProject getCM_WebProject()
                                 throws Exception
Specified by:
getCM_WebProject in interface I_CM_Template
Throws:
Exception

setCM_WebProject_ID

public void setCM_WebProject_ID(int CM_WebProject_ID)
Set Web Project.

Specified by:
setCM_WebProject_ID in interface I_CM_Template
Parameters:
CM_WebProject_ID - A web project is the main data container for Containers, URLs, Ads, Media etc.

getCM_WebProject_ID

public int getCM_WebProject_ID()
Get Web Project.

Specified by:
getCM_WebProject_ID in interface I_CM_Template
Returns:
A web project is the main data container for Containers, URLs, Ads, Media etc.

setDescription

public void setDescription(String Description)
Set Description.

Specified by:
setDescription in interface I_CM_Template
Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Specified by:
getDescription in interface I_CM_Template
Returns:
Optional short description of the record

setElements

public void setElements(String Elements)
Set Elements.

Specified by:
setElements in interface I_CM_Template
Parameters:
Elements - Contains list of elements seperated by CR

getElements

public String getElements()
Get Elements.

Specified by:
getElements in interface I_CM_Template
Returns:
Contains list of elements seperated by CR

setHelp

public void setHelp(String Help)
Set Comment/Help.

Specified by:
setHelp in interface I_CM_Template
Parameters:
Help - Comment or Hint

getHelp

public String getHelp()
Get Comment/Help.

Specified by:
getHelp in interface I_CM_Template
Returns:
Comment or Hint

setIsInclude

public void setIsInclude(boolean IsInclude)
Set Included.

Specified by:
setIsInclude in interface I_CM_Template
Parameters:
IsInclude - Defines whether this content / template is included into another one

isInclude

public boolean isInclude()
Get Included.

Specified by:
isInclude in interface I_CM_Template
Returns:
Defines whether this content / template is included into another one

setIsNews

public void setIsNews(boolean IsNews)
Set Uses News.

Specified by:
setIsNews in interface I_CM_Template
Parameters:
IsNews - Template or container uses news channels

isNews

public boolean isNews()
Get Uses News.

Specified by:
isNews in interface I_CM_Template
Returns:
Template or container uses news channels

setIsSummary

public void setIsSummary(boolean IsSummary)
Set Summary Level.

Specified by:
setIsSummary in interface I_CM_Template
Parameters:
IsSummary - This is a summary entity

isSummary

public boolean isSummary()
Get Summary Level.

Specified by:
isSummary in interface I_CM_Template
Returns:
This is a summary entity

setIsUseAd

public void setIsUseAd(boolean IsUseAd)
Set Use Ad.

Specified by:
setIsUseAd in interface I_CM_Template
Parameters:
IsUseAd - Whether or not this templates uses Ad's

isUseAd

public boolean isUseAd()
Get Use Ad.

Specified by:
isUseAd in interface I_CM_Template
Returns:
Whether or not this templates uses Ad's

setIsValid

public void setIsValid(boolean IsValid)
Set Valid.

Specified by:
setIsValid in interface I_CM_Template
Parameters:
IsValid - Element is valid

isValid

public boolean isValid()
Get Valid.

Specified by:
isValid in interface I_CM_Template
Returns:
Element is valid

setName

public void setName(String Name)
Set Name.

Specified by:
setName in interface I_CM_Template
Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Specified by:
getName in interface I_CM_Template
Returns:
Alphanumeric identifier of the entity

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setProcessing

public void setProcessing(boolean Processing)
Set Process Now.

Specified by:
setProcessing in interface I_CM_Template
Parameters:
Processing - Process Now

isProcessing

public boolean isProcessing()
Get Process Now.

Specified by:
isProcessing in interface I_CM_Template
Returns:
Process Now

setTemplateXST

public void setTemplateXST(String TemplateXST)
Set TemplateXST.

Specified by:
setTemplateXST in interface I_CM_Template
Parameters:
TemplateXST - Contains the template code itself

getTemplateXST

public String getTemplateXST()
Get TemplateXST.

Specified by:
getTemplateXST in interface I_CM_Template
Returns:
Contains the template code itself

setValue

public void setValue(String Value)
Set Search Key.

Specified by:
setValue in interface I_CM_Template
Parameters:
Value - Search key for the record in the format required - must be unique

getValue

public String getValue()
Get Search Key.

Specified by:
getValue in interface I_CM_Template
Returns:
Search key for the record in the format required - must be unique

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.