Adempiere 3.5.2a

org.compiere.model
Class X_CM_Media

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_CM_Media
All Implemented Interfaces:
Serializable, Comparator, I_CM_Media, I_Persistent, Evaluatee
Direct Known Subclasses:
MMedia

public class X_CM_Media
extends PO
implements I_CM_Media, I_Persistent

Generated Model for CM_Media

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

Field Summary
static int MEDIATYPE_AD_Reference_ID
          MediaType AD_Reference_ID=388
static String MEDIATYPE_ApplicationPdf
          application/pdf = PDF
static String MEDIATYPE_ImageGif
          image/gif = GIF
static String MEDIATYPE_ImageJpeg
          image/jpeg = JPG
static String MEDIATYPE_ImagePng
          image/png = PNG
static String MEDIATYPE_TextCss
          text/css = CSS
static String MEDIATYPE_TextJs
          text/js = JS
 
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_Media
accessLevel, COLUMNNAME_AD_Image_ID, COLUMNNAME_CM_Media_ID, COLUMNNAME_CM_WebProject_ID, COLUMNNAME_ContentText, COLUMNNAME_Description, COLUMNNAME_DirectDeploy, COLUMNNAME_Help, COLUMNNAME_IsSummary, COLUMNNAME_MediaType, COLUMNNAME_Name, Model, Table_ID, Table_Name
 
Constructor Summary
X_CM_Media(Properties ctx, int CM_Media_ID, String trxName)
          Standard Constructor
X_CM_Media(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAD_Image_ID()
          Get Image.
 int getCM_Media_ID()
          Get Media Item.
 int getCM_WebProject_ID()
          Get Web Project.
 I_CM_WebProject getCM_WebProject()
           
 String getContentText()
          Get Content.
 String getDescription()
          Get Description.
 String getDirectDeploy()
          Get Direct Deploy.
 String getHelp()
          Get Comment/Help.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 String getMediaType()
          Get Media Type.
 String getName()
          Get Name.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isSummary()
          Get Summary Level.
 void setAD_Image_ID(int AD_Image_ID)
          Set Image.
 void setCM_Media_ID(int CM_Media_ID)
          Set Media Item.
 void setCM_WebProject_ID(int CM_WebProject_ID)
          Set Web Project.
 void setContentText(String ContentText)
          Set Content.
 void setDescription(String Description)
          Set Description.
 void setDirectDeploy(String DirectDeploy)
          Set Direct Deploy.
 void setHelp(String Help)
          Set Comment/Help.
 void setIsSummary(boolean IsSummary)
          Set Summary Level.
 void setMediaType(String MediaType)
          Set Media Type.
 void setName(String Name)
          Set Name.
 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
 

Field Detail

MEDIATYPE_AD_Reference_ID

public static final int MEDIATYPE_AD_Reference_ID
MediaType AD_Reference_ID=388

See Also:
Constant Field Values

MEDIATYPE_ImageGif

public static final String MEDIATYPE_ImageGif
image/gif = GIF

See Also:
Constant Field Values

MEDIATYPE_ImageJpeg

public static final String MEDIATYPE_ImageJpeg
image/jpeg = JPG

See Also:
Constant Field Values

MEDIATYPE_ImagePng

public static final String MEDIATYPE_ImagePng
image/png = PNG

See Also:
Constant Field Values

MEDIATYPE_ApplicationPdf

public static final String MEDIATYPE_ApplicationPdf
application/pdf = PDF

See Also:
Constant Field Values

MEDIATYPE_TextCss

public static final String MEDIATYPE_TextCss
text/css = CSS

See Also:
Constant Field Values

MEDIATYPE_TextJs

public static final String MEDIATYPE_TextJs
text/js = JS

See Also:
Constant Field Values
Constructor Detail

X_CM_Media

public X_CM_Media(Properties ctx,
                  int CM_Media_ID,
                  String trxName)
Standard Constructor


X_CM_Media

public X_CM_Media(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

setAD_Image_ID

public void setAD_Image_ID(int AD_Image_ID)
Set Image.

Specified by:
setAD_Image_ID in interface I_CM_Media
Parameters:
AD_Image_ID - Image or Icon

getAD_Image_ID

public int getAD_Image_ID()
Get Image.

Specified by:
getAD_Image_ID in interface I_CM_Media
Returns:
Image or Icon

setCM_Media_ID

public void setCM_Media_ID(int CM_Media_ID)
Set Media Item.

Specified by:
setCM_Media_ID in interface I_CM_Media
Parameters:
CM_Media_ID - Contains media content like images, flash movies etc.

getCM_Media_ID

public int getCM_Media_ID()
Get Media Item.

Specified by:
getCM_Media_ID in interface I_CM_Media
Returns:
Contains media content like images, flash movies etc.

getCM_WebProject

public I_CM_WebProject getCM_WebProject()
                                 throws Exception
Specified by:
getCM_WebProject in interface I_CM_Media
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_Media
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_Media
Returns:
A web project is the main data container for Containers, URLs, Ads, Media etc.

setContentText

public void setContentText(String ContentText)
Set Content.

Specified by:
setContentText in interface I_CM_Media
Parameters:
ContentText - Content

getContentText

public String getContentText()
Get Content.

Specified by:
getContentText in interface I_CM_Media
Returns:
Content

setDescription

public void setDescription(String Description)
Set Description.

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

getDescription

public String getDescription()
Get Description.

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

setDirectDeploy

public void setDirectDeploy(String DirectDeploy)
Set Direct Deploy.

Specified by:
setDirectDeploy in interface I_CM_Media
Parameters:
DirectDeploy - Direct Deploy

getDirectDeploy

public String getDirectDeploy()
Get Direct Deploy.

Specified by:
getDirectDeploy in interface I_CM_Media
Returns:
Direct Deploy

setHelp

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

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

getHelp

public String getHelp()
Get Comment/Help.

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

setIsSummary

public void setIsSummary(boolean IsSummary)
Set Summary Level.

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

isSummary

public boolean isSummary()
Get Summary Level.

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

setMediaType

public void setMediaType(String MediaType)
Set Media Type.

Specified by:
setMediaType in interface I_CM_Media
Parameters:
MediaType - Defines the media type for the browser

getMediaType

public String getMediaType()
Get Media Type.

Specified by:
getMediaType in interface I_CM_Media
Returns:
Defines the media type for the browser

setName

public void setName(String Name)
Set Name.

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

getName

public String getName()
Get Name.

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

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

Adempiere 3.5.2a

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