org.paneris.bibliomania.generated
Class CampaignBase

java.lang.Object
  extended by org.melati.poem.transaction.Transactioned
      extended by org.melati.poem.JdbcPersistent
          extended by org.paneris.bibliomania.generated.CampaignBase
All Implemented Interfaces:
java.lang.Cloneable, org.melati.poem.Persistable, org.melati.poem.Persistent, org.melati.poem.Treeable
Direct Known Subclasses:
Campaign

public abstract class CampaignBase
extends org.melati.poem.JdbcPersistent

Melati POEM generated abstract base class for a Persistent Campaign Object.

See Also:
org.melati.poem.prepro.TableDef#generatePersistentBaseJava

Field Summary
protected  java.lang.String comment
          comment - Any comments on this Campaign
protected  java.sql.Timestamp created
          Date Created - When this Campaign was created
protected  java.lang.String displayname
          Display name - The Campaign's name
protected  java.lang.Integer id
          id
protected  java.sql.Timestamp lastrun
          Date Last Run - When the users in this his Campaign were last emailed
protected  java.lang.String output
          Output - The file containing the output from the last run
protected  java.lang.String template
          template - A template for the email to be sent
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
CampaignBase()
           
 
Method Summary
 BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
          Retrieves the Database object.
 CampaignTable getCampaignTable()
          Retrieves the CampaignTable table which this Persistent is from.
 java.lang.String getComment_unsafe()
          Retrieves the Comment value, without locking, for this Campaign Persistent.
 java.lang.String getComment()
          Retrieves the Comment value, with locking, for this Campaign Persistent.
 org.melati.poem.Field getCommentField()
          Retrieves the Comment value as a Field from this Campaign Persistent.
 java.sql.Timestamp getCreated_unsafe()
          Retrieves the Created value, without locking, for this Campaign Persistent.
 java.sql.Timestamp getCreated()
          Retrieves the Created value, with locking, for this Campaign Persistent.
 org.melati.poem.Field getCreatedField()
          Retrieves the Created value as a Field from this Campaign Persistent.
 java.lang.String getDisplayname_unsafe()
          Retrieves the Displayname value, without locking, for this Campaign Persistent.
 java.lang.String getDisplayname()
          Retrieves the Displayname value, with locking, for this Campaign Persistent.
 org.melati.poem.Field getDisplaynameField()
          Retrieves the Displayname value as a Field from this Campaign Persistent.
 java.lang.Integer getId_unsafe()
          Retrieves the Id value, without locking, for this Campaign Persistent.
 java.lang.Integer getId()
          Retrieves the Id value, with locking, for this Campaign Persistent.
 org.melati.poem.Field getIdField()
          Retrieves the Id value as a Field from this Campaign Persistent.
 java.sql.Timestamp getLastrun_unsafe()
          Retrieves the Lastrun value, without locking, for this Campaign Persistent.
 java.sql.Timestamp getLastrun()
          Retrieves the Lastrun value, with locking, for this Campaign Persistent.
 org.melati.poem.Field getLastrunField()
          Retrieves the Lastrun value as a Field from this Campaign Persistent.
 java.lang.String getOutput_unsafe()
          Retrieves the Output value, without locking, for this Campaign Persistent.
 java.lang.String getOutput()
          Retrieves the Output value, with locking, for this Campaign Persistent.
 org.melati.poem.Field getOutputField()
          Retrieves the Output value as a Field from this Campaign Persistent.
 java.lang.String getTemplate_unsafe()
          Retrieves the Template value, without locking, for this Campaign Persistent.
 java.lang.String getTemplate()
          Retrieves the Template value, with locking, for this Campaign Persistent.
 org.melati.poem.Field getTemplateField()
          Retrieves the Template value as a Field from this Campaign Persistent.
 void setComment_unsafe(java.lang.String cooked)
          Sets the Comment value directly, without checking, for this Campaign Persistent.
 void setComment(java.lang.String cooked)
          Sets the Comment value, with checking, for this Campaign Persistent.
 void setCreated_unsafe(java.sql.Timestamp cooked)
          Sets the Created value directly, without checking, for this Campaign Persistent.
 void setCreated(java.sql.Timestamp cooked)
          Sets the Created value, with checking, for this Campaign Persistent.
 void setDisplayname_unsafe(java.lang.String cooked)
          Sets the Displayname value directly, without checking, for this Campaign Persistent.
 void setDisplayname(java.lang.String cooked)
          Sets the Displayname value, with checking, for this Campaign Persistent.
 void setId_unsafe(java.lang.Integer cooked)
          Sets the Id value directly, without checking, for this Campaign Persistent.
 void setId(int cooked)
          Sets the Id value, with checking, for this Campaign Persistent.
 void setId(java.lang.Integer cooked)
          Sets the Id value, with checking, for this Campaign Persistent.
 void setLastrun_unsafe(java.sql.Timestamp cooked)
          Sets the Lastrun value directly, without checking, for this Campaign Persistent.
 void setLastrun(java.sql.Timestamp cooked)
          Sets the Lastrun value, with checking, for this Campaign Persistent.
 void setOutput_unsafe(java.lang.String cooked)
          Sets the Output value directly, without checking, for this Campaign Persistent.
 void setOutput(java.lang.String cooked)
          Sets the Output value, with checking, for this Campaign Persistent.
 void setTemplate_unsafe(java.lang.String cooked)
          Sets the Template value directly, without checking, for this Campaign Persistent.
 void setTemplate(java.lang.String cooked)
          Sets the Template value, with checking, for this Campaign Persistent.
 
Methods inherited from class org.melati.poem.JdbcPersistent
assertCanCreate, assertCanCreate, assertCanDelete, assertCanDelete, assertCanRead, assertCanRead, assertCanWrite, assertCanWrite, clone, commit, countMatchSQL, delete_unsafe, delete, delete, deleteAndCommit, deleteAndCommit, deleteLock, displayString, displayString, displayString, dump, dump, duplicated, duplicatedFloating, equals, existenceLock, existenceLock, fieldsOfColumns, fromClause, getCanDelete, getCanRead, getCanSelect, getCanWrite, getChildren, getCooked, getCookedString, getDatabase, getDetailDisplayFields, getField, getFields, getName, getPrimaryDisplayField, getRaw, getRawString, getReadable, getRecordDisplayFields, getSearchCriterionFields, getSummaryDisplayFields, getTable, getTroid, hashCode, invalidate, isDirty, load, makePersistent, postEdit, postInsert, postModify, postWrite, preEdit, readLock, readLock, readLock, rollback, setCooked, setDirty, setRaw, setRawString, statusExistent, statusNonexistent, toString, troid, upToDate, writeDown, writeLock, writeLock, writeLock
 
Methods inherited from class org.melati.poem.transaction.Transactioned
markValid, reset, setTransactionPool, transactionPool, unSee
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected java.lang.Integer id
id


displayname

protected java.lang.String displayname
Display name - The Campaign's name


created

protected java.sql.Timestamp created
Date Created - When this Campaign was created


lastrun

protected java.sql.Timestamp lastrun
Date Last Run - When the users in this his Campaign were last emailed


output

protected java.lang.String output
Output - The file containing the output from the last run


comment

protected java.lang.String comment
comment - Any comments on this Campaign


template

protected java.lang.String template
template - A template for the email to be sent

Constructor Detail

CampaignBase

public CampaignBase()
Method Detail

getBibliomaniaDatabaseTables

public BibliomaniaDatabaseTables getBibliomaniaDatabaseTables()
Retrieves the Database object.

Returns:
the database
See Also:
org.melati.poem.prepro.TableDef#generatePersistentBaseJava

getCampaignTable

public CampaignTable getCampaignTable()
Retrieves the CampaignTable table which this Persistent is from.

Returns:
the CampaignTable
See Also:
org.melati.poem.prepro.TableDef#generatePersistentBaseJava

getId_unsafe

public java.lang.Integer getId_unsafe()
Retrieves the Id value, without locking, for this Campaign Persistent.

Returns:
the Integer id
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setId_unsafe

public void setId_unsafe(java.lang.Integer cooked)
Sets the Id value directly, without checking, for this Campaign Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getId

public java.lang.Integer getId()
                        throws org.melati.poem.AccessPoemException
Retrieves the Id value, with locking, for this Campaign Persistent.

Returns:
the value of the field Id for this Campaign Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

setId

public void setId(java.lang.Integer cooked)
           throws org.melati.poem.AccessPoemException,
                  org.melati.poem.ValidationPoemException
Sets the Id value, with checking, for this Campaign Persistent.

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

setId

public final void setId(int cooked)
                 throws org.melati.poem.AccessPoemException,
                        org.melati.poem.ValidationPoemException
Sets the Id value, with checking, for this Campaign Persistent.

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid
Generator
org.melati.poem.prepro.IntegerFieldDef#generateBaseMethods

getIdField

public org.melati.poem.Field getIdField()
                                 throws org.melati.poem.AccessPoemException
Retrieves the Id value as a Field from this Campaign Persistent.

Returns:
the Integer id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getDisplayname_unsafe

public java.lang.String getDisplayname_unsafe()
Retrieves the Displayname value, without locking, for this Campaign Persistent.

Returns:
the String displayname
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setDisplayname_unsafe

public void setDisplayname_unsafe(java.lang.String cooked)
Sets the Displayname value directly, without checking, for this Campaign Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getDisplayname

public java.lang.String getDisplayname()
                                throws org.melati.poem.AccessPoemException
Retrieves the Displayname value, with locking, for this Campaign Persistent. Field description: The Campaign's name

Returns:
the value of the field Displayname for this Campaign Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

setDisplayname

public void setDisplayname(java.lang.String cooked)
                    throws org.melati.poem.AccessPoemException,
                           org.melati.poem.ValidationPoemException
Sets the Displayname value, with checking, for this Campaign Persistent. Field description: The Campaign's name

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

getDisplaynameField

public org.melati.poem.Field getDisplaynameField()
                                          throws org.melati.poem.AccessPoemException
Retrieves the Displayname value as a Field from this Campaign Persistent.

Returns:
the String displayname
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getCreated_unsafe

public java.sql.Timestamp getCreated_unsafe()
Retrieves the Created value, without locking, for this Campaign Persistent.

Returns:
the Timestamp created
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setCreated_unsafe

public void setCreated_unsafe(java.sql.Timestamp cooked)
Sets the Created value directly, without checking, for this Campaign Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getCreated

public java.sql.Timestamp getCreated()
                              throws org.melati.poem.AccessPoemException
Retrieves the Created value, with locking, for this Campaign Persistent. Field description: When this Campaign was created

Returns:
the value of the field Created for this Campaign Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

setCreated

public void setCreated(java.sql.Timestamp cooked)
                throws org.melati.poem.AccessPoemException,
                       org.melati.poem.ValidationPoemException
Sets the Created value, with checking, for this Campaign Persistent. Field description: When this Campaign was created

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

getCreatedField

public org.melati.poem.Field getCreatedField()
                                      throws org.melati.poem.AccessPoemException
Retrieves the Created value as a Field from this Campaign Persistent.

Returns:
the Timestamp created
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getLastrun_unsafe

public java.sql.Timestamp getLastrun_unsafe()
Retrieves the Lastrun value, without locking, for this Campaign Persistent.

Returns:
the Timestamp lastrun
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setLastrun_unsafe

public void setLastrun_unsafe(java.sql.Timestamp cooked)
Sets the Lastrun value directly, without checking, for this Campaign Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getLastrun

public java.sql.Timestamp getLastrun()
                              throws org.melati.poem.AccessPoemException
Retrieves the Lastrun value, with locking, for this Campaign Persistent. Field description: When the users in this his Campaign were last emailed

Returns:
the value of the field Lastrun for this Campaign Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

setLastrun

public void setLastrun(java.sql.Timestamp cooked)
                throws org.melati.poem.AccessPoemException,
                       org.melati.poem.ValidationPoemException
Sets the Lastrun value, with checking, for this Campaign Persistent. Field description: When the users in this his Campaign were last emailed

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

getLastrunField

public org.melati.poem.Field getLastrunField()
                                      throws org.melati.poem.AccessPoemException
Retrieves the Lastrun value as a Field from this Campaign Persistent.

Returns:
the Timestamp lastrun
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getOutput_unsafe

public java.lang.String getOutput_unsafe()
Retrieves the Output value, without locking, for this Campaign Persistent.

Returns:
the String output
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setOutput_unsafe

public void setOutput_unsafe(java.lang.String cooked)
Sets the Output value directly, without checking, for this Campaign Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getOutput

public java.lang.String getOutput()
                           throws org.melati.poem.AccessPoemException
Retrieves the Output value, with locking, for this Campaign Persistent. Field description: The file containing the output from the last run

Returns:
the value of the field Output for this Campaign Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

setOutput

public void setOutput(java.lang.String cooked)
               throws org.melati.poem.AccessPoemException,
                      org.melati.poem.ValidationPoemException
Sets the Output value, with checking, for this Campaign Persistent. Field description: The file containing the output from the last run

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

getOutputField

public org.melati.poem.Field getOutputField()
                                     throws org.melati.poem.AccessPoemException
Retrieves the Output value as a Field from this Campaign Persistent.

Returns:
the String output
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getComment_unsafe

public java.lang.String getComment_unsafe()
Retrieves the Comment value, without locking, for this Campaign Persistent.

Returns:
the String comment
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setComment_unsafe

public void setComment_unsafe(java.lang.String cooked)
Sets the Comment value directly, without checking, for this Campaign Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getComment

public java.lang.String getComment()
                            throws org.melati.poem.AccessPoemException
Retrieves the Comment value, with locking, for this Campaign Persistent. Field description: Any comments on this Campaign

Returns:
the value of the field Comment for this Campaign Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

setComment

public void setComment(java.lang.String cooked)
                throws org.melati.poem.AccessPoemException,
                       org.melati.poem.ValidationPoemException
Sets the Comment value, with checking, for this Campaign Persistent. Field description: Any comments on this Campaign

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

getCommentField

public org.melati.poem.Field getCommentField()
                                      throws org.melati.poem.AccessPoemException
Retrieves the Comment value as a Field from this Campaign Persistent.

Returns:
the String comment
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getTemplate_unsafe

public java.lang.String getTemplate_unsafe()
Retrieves the Template value, without locking, for this Campaign Persistent.

Returns:
the String template
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setTemplate_unsafe

public void setTemplate_unsafe(java.lang.String cooked)
Sets the Template value directly, without checking, for this Campaign Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getTemplate

public java.lang.String getTemplate()
                             throws org.melati.poem.AccessPoemException
Retrieves the Template value, with locking, for this Campaign Persistent. Field description: A template for the email to be sent

Returns:
the value of the field Template for this Campaign Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

setTemplate

public void setTemplate(java.lang.String cooked)
                 throws org.melati.poem.AccessPoemException,
                        org.melati.poem.ValidationPoemException
Sets the Template value, with checking, for this Campaign Persistent. Field description: A template for the email to be sent

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

getTemplateField

public org.melati.poem.Field getTemplateField()
                                       throws org.melati.poem.AccessPoemException
Retrieves the Template value as a Field from this Campaign Persistent.

Returns:
the String template
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator


Copyright © 2000-2009 PanEris. All Rights Reserved.