org.paneris.melati.site.model.generated
Class UploadedFileBase

java.lang.Object
  extended by org.melati.poem.transaction.Transactioned
      extended by org.melati.poem.JdbcPersistent
          extended by org.paneris.melati.site.model.generated.UploadedFileBase
All Implemented Interfaces:
java.lang.Cloneable, org.melati.poem.Persistable, org.melati.poem.Persistent, org.melati.poem.Treeable
Direct Known Subclasses:
UploadedFile

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

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

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

Field Summary
protected  java.lang.Boolean deleted
          deleted - Whether this file been deleted or not
protected  java.lang.String description
          description - A description of the file
protected  java.lang.String displayname
          Display name - The layout's name
protected  java.lang.Integer size
          size - The size of this file
protected  java.lang.Integer type
          type - The type of this file
protected  java.lang.Integer uploadedby
          Uploaded By - The user who uploaded this file
protected  java.sql.Date when
          when - The date on which this file was uploaded
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
UploadedFileBase()
           
 
Method Summary
 java.lang.Boolean getDeleted_unsafe()
          Retrieves the Deleted value, without locking, for this UploadedFile Persistent.
 java.lang.Boolean getDeleted()
          Retrieves the Deleted value, with locking, for this UploadedFile Persistent.
 org.melati.poem.Field getDeletedField()
          Retrieves the Deleted value as a Field from this UploadedFile Persistent.
 java.lang.String getDescription_unsafe()
          Retrieves the Description value, without locking, for this UploadedFile Persistent.
 java.lang.String getDescription()
          Retrieves the Description value, with locking, for this UploadedFile Persistent.
 org.melati.poem.Field getDescriptionField()
          Retrieves the Description value as a Field from this UploadedFile Persistent.
 java.lang.String getDisplayname_unsafe()
          Retrieves the Displayname value, without locking, for this UploadedFile Persistent.
 java.lang.String getDisplayname()
          Retrieves the Displayname value, with locking, for this UploadedFile Persistent.
 org.melati.poem.Field getDisplaynameField()
          Retrieves the Displayname value as a Field from this UploadedFile Persistent.
 SiteDatabaseTables getSiteDatabaseTables()
          Retrieves the Database object.
 java.lang.Integer getSize_unsafe()
          Retrieves the Size value, without locking, for this UploadedFile Persistent.
 java.lang.Integer getSize()
          Retrieves the Size value, with locking, for this UploadedFile Persistent.
 org.melati.poem.Field getSizeField()
          Retrieves the Size value as a Field from this UploadedFile Persistent.
 java.lang.Integer getType_unsafe()
          Retrieves the Type value, without locking, for this UploadedFile Persistent.
 UploadedFileType getType()
          Retrieves the Type object referred to.
 org.melati.poem.Field getTypeField()
          Retrieves the Type value as a Field from this UploadedFile Persistent.
 java.lang.Integer getTypeTroid()
          Retrieves the Table Row Object ID.
 java.lang.Integer getUploadedby_unsafe()
          Retrieves the Uploadedby value, without locking, for this UploadedFile Persistent.
 org.melati.poem.User getUploadedby()
          Retrieves the Uploadedby object referred to.
 org.melati.poem.Field getUploadedbyField()
          Retrieves the Uploadedby value as a Field from this UploadedFile Persistent.
 java.lang.Integer getUploadedbyTroid()
          Retrieves the Table Row Object ID.
 UploadedFileTable getUploadedFileTable()
          Retrieves the UploadedFileTable table which this Persistent is from.
 java.sql.Date getWhen_unsafe()
          Retrieves the When value, without locking, for this UploadedFile Persistent.
 java.sql.Date getWhen()
          Retrieves the When value, with locking, for this UploadedFile Persistent.
 org.melati.poem.Field getWhenField()
          Retrieves the When value as a Field from this UploadedFile Persistent.
 void setDeleted_unsafe(java.lang.Boolean cooked)
          Sets the Deleted value directly, without checking, for this UploadedFile Persistent.
 void setDeleted(boolean cooked)
          Sets the Deleted value, with checking, from a boolean, for this UploadedFile Persistent.
 void setDeleted(java.lang.Boolean cooked)
          Sets the Deleted value, with checking, for this UploadedFile Persistent.
 void setDescription_unsafe(java.lang.String cooked)
          Sets the Description value directly, without checking, for this UploadedFile Persistent.
 void setDescription(java.lang.String cooked)
          Sets the Description value, with checking, for this UploadedFile Persistent.
 void setDisplayname_unsafe(java.lang.String cooked)
          Sets the Displayname value directly, without checking, for this UploadedFile Persistent.
 void setDisplayname(java.lang.String cooked)
          Sets the Displayname value, with checking, for this UploadedFile Persistent.
 void setSize_unsafe(java.lang.Integer cooked)
          Sets the Size value directly, without checking, for this UploadedFile Persistent.
 void setSize(int cooked)
          Sets the Size value, with checking, for this UploadedFile Persistent.
 void setSize(java.lang.Integer cooked)
          Sets the Size value, with checking, for this UploadedFile Persistent.
 void setType_unsafe(java.lang.Integer cooked)
          Sets the Type value directly, without checking, for this UploadedFile Persistent.
 void setType(UploadedFileType cooked)
          Set the Type.
 void setTypeTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 void setUploadedby_unsafe(java.lang.Integer cooked)
          Sets the Uploadedby value directly, without checking, for this UploadedFile Persistent.
 void setUploadedby(org.melati.poem.User cooked)
          Set the Uploadedby.
 void setUploadedbyTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 void setWhen_unsafe(java.sql.Date cooked)
          Sets the When value directly, without checking, for this UploadedFile Persistent.
 void setWhen(java.sql.Date cooked)
          Sets the When value, with checking, for this UploadedFile 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

type

protected java.lang.Integer type
type - The type of this file


description

protected java.lang.String description
description - A description of the file


size

protected java.lang.Integer size
size - The size of this file


when

protected java.sql.Date when
when - The date on which this file was uploaded


uploadedby

protected java.lang.Integer uploadedby
Uploaded By - The user who uploaded this file


deleted

protected java.lang.Boolean deleted
deleted - Whether this file been deleted or not


displayname

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

Constructor Detail

UploadedFileBase

public UploadedFileBase()
Method Detail

getSiteDatabaseTables

public SiteDatabaseTables getSiteDatabaseTables()
Retrieves the Database object.

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

getUploadedFileTable

public UploadedFileTable getUploadedFileTable()
Retrieves the UploadedFileTable table which this Persistent is from.

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

getType_unsafe

public java.lang.Integer getType_unsafe()
Retrieves the Type value, without locking, for this UploadedFile Persistent.

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

setType_unsafe

public void setType_unsafe(java.lang.Integer cooked)
Sets the Type value directly, without checking, for this UploadedFile Persistent.

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

getTypeTroid

public java.lang.Integer getTypeTroid()
                               throws org.melati.poem.AccessPoemException
Retrieves the Table Row Object ID.

Returns:
the TROID as an Integer
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights

setTypeTroid

public void setTypeTroid(java.lang.Integer raw)
                  throws org.melati.poem.AccessPoemException
Sets the Table Row Object ID.

Parameters:
raw - a Table Row Object Id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getType

public UploadedFileType getType()
                         throws org.melati.poem.AccessPoemException,
                                org.melati.poem.NoSuchRowPoemException
Retrieves the Type object referred to.

Returns:
the Type as a UploadedFileType
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights
org.melati.poem.NoSuchRowPoemException - if the Persistent has yet to be allocated a TROID

setType

public void setType(UploadedFileType cooked)
             throws org.melati.poem.AccessPoemException
Set the Type.

Parameters:
cooked - a validated UploadedFileType
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getTypeField

public org.melati.poem.Field getTypeField()
                                   throws org.melati.poem.AccessPoemException
Retrieves the Type value as a Field from this UploadedFile Persistent.

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

getDescription_unsafe

public java.lang.String getDescription_unsafe()
Retrieves the Description value, without locking, for this UploadedFile Persistent.

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

setDescription_unsafe

public void setDescription_unsafe(java.lang.String cooked)
Sets the Description value directly, without checking, for this UploadedFile Persistent.

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

getDescription

public java.lang.String getDescription()
                                throws org.melati.poem.AccessPoemException
Retrieves the Description value, with locking, for this UploadedFile Persistent. Field description: A description of the file

Returns:
the value of the field Description for this UploadedFile Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setDescription

public void setDescription(java.lang.String cooked)
                    throws org.melati.poem.AccessPoemException,
                           org.melati.poem.ValidationPoemException
Sets the Description value, with checking, for this UploadedFile Persistent. Field description: A description of the file

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

getDescriptionField

public org.melati.poem.Field getDescriptionField()
                                          throws org.melati.poem.AccessPoemException
Retrieves the Description value as a Field from this UploadedFile Persistent.

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

getSize_unsafe

public java.lang.Integer getSize_unsafe()
Retrieves the Size value, without locking, for this UploadedFile Persistent.

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

setSize_unsafe

public void setSize_unsafe(java.lang.Integer cooked)
Sets the Size value directly, without checking, for this UploadedFile Persistent.

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

getSize

public java.lang.Integer getSize()
                          throws org.melati.poem.AccessPoemException
Retrieves the Size value, with locking, for this UploadedFile Persistent. Field description: The size of this file

Returns:
the value of the field Size for this UploadedFile Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setSize

public void setSize(java.lang.Integer cooked)
             throws org.melati.poem.AccessPoemException,
                    org.melati.poem.ValidationPoemException
Sets the Size value, with checking, for this UploadedFile Persistent. Field description: The size of this file

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

setSize

public final void setSize(int cooked)
                   throws org.melati.poem.AccessPoemException,
                          org.melati.poem.ValidationPoemException
Sets the Size value, with checking, for this UploadedFile Persistent. Field description: The size of this file

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

getSizeField

public org.melati.poem.Field getSizeField()
                                   throws org.melati.poem.AccessPoemException
Retrieves the Size value as a Field from this UploadedFile Persistent.

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

getWhen_unsafe

public java.sql.Date getWhen_unsafe()
Retrieves the When value, without locking, for this UploadedFile Persistent.

Returns:
the Date when
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setWhen_unsafe

public void setWhen_unsafe(java.sql.Date cooked)
Sets the When value directly, without checking, for this UploadedFile Persistent.

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

getWhen

public java.sql.Date getWhen()
                      throws org.melati.poem.AccessPoemException
Retrieves the When value, with locking, for this UploadedFile Persistent. Field description: The date on which this file was uploaded

Returns:
the value of the field When for this UploadedFile Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setWhen

public void setWhen(java.sql.Date cooked)
             throws org.melati.poem.AccessPoemException,
                    org.melati.poem.ValidationPoemException
Sets the When value, with checking, for this UploadedFile Persistent. Field description: The date on which this file was uploaded

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

getWhenField

public org.melati.poem.Field getWhenField()
                                   throws org.melati.poem.AccessPoemException
Retrieves the When value as a Field from this UploadedFile Persistent.

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

getUploadedby_unsafe

public java.lang.Integer getUploadedby_unsafe()
Retrieves the Uploadedby value, without locking, for this UploadedFile Persistent.

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

setUploadedby_unsafe

public void setUploadedby_unsafe(java.lang.Integer cooked)
Sets the Uploadedby value directly, without checking, for this UploadedFile Persistent.

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

getUploadedbyTroid

public java.lang.Integer getUploadedbyTroid()
                                     throws org.melati.poem.AccessPoemException
Retrieves the Table Row Object ID.

Returns:
the TROID as an Integer
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights

setUploadedbyTroid

public void setUploadedbyTroid(java.lang.Integer raw)
                        throws org.melati.poem.AccessPoemException
Sets the Table Row Object ID.

Parameters:
raw - a Table Row Object Id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getUploadedby

public org.melati.poem.User getUploadedby()
                                   throws org.melati.poem.AccessPoemException,
                                          org.melati.poem.NoSuchRowPoemException
Retrieves the Uploadedby object referred to.

Returns:
the Uploadedby as a User
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights
org.melati.poem.NoSuchRowPoemException - if the Persistent has yet to be allocated a TROID

setUploadedby

public void setUploadedby(org.melati.poem.User cooked)
                   throws org.melati.poem.AccessPoemException
Set the Uploadedby.

Parameters:
cooked - a validated User
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getUploadedbyField

public org.melati.poem.Field getUploadedbyField()
                                         throws org.melati.poem.AccessPoemException
Retrieves the Uploadedby value as a Field from this UploadedFile Persistent.

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

getDeleted_unsafe

public java.lang.Boolean getDeleted_unsafe()
Retrieves the Deleted value, without locking, for this UploadedFile Persistent.

Returns:
the Boolean deleted
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setDeleted_unsafe

public void setDeleted_unsafe(java.lang.Boolean cooked)
Sets the Deleted value directly, without checking, for this UploadedFile Persistent.

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

getDeleted

public java.lang.Boolean getDeleted()
                             throws org.melati.poem.AccessPoemException
Retrieves the Deleted value, with locking, for this UploadedFile Persistent. Field description: Whether this file been deleted or not

Returns:
the value of the field Deleted for this UploadedFile Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setDeleted

public void setDeleted(java.lang.Boolean cooked)
                throws org.melati.poem.AccessPoemException,
                       org.melati.poem.ValidationPoemException
Sets the Deleted value, with checking, for this UploadedFile Persistent. Field description: Whether this file been deleted or not

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

setDeleted

public final void setDeleted(boolean cooked)
                      throws org.melati.poem.AccessPoemException,
                             org.melati.poem.ValidationPoemException
Sets the Deleted value, with checking, from a boolean, for this UploadedFile Persistent. Field description: Whether this file been deleted or not

Parameters:
cooked - a boolean
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

getDeletedField

public org.melati.poem.Field getDeletedField()
                                      throws org.melati.poem.AccessPoemException
Retrieves the Deleted value as a Field from this UploadedFile Persistent.

Returns:
the Boolean deleted
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 UploadedFile 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 UploadedFile 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 UploadedFile Persistent. Field description: The layout's name

Returns:
the value of the field Displayname for this UploadedFile Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

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 UploadedFile Persistent. Field description: The layout'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

getDisplaynameField

public org.melati.poem.Field getDisplaynameField()
                                          throws org.melati.poem.AccessPoemException
Retrieves the Displayname value as a Field from this UploadedFile 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


Copyright © 1997-2008 PanEris. All Rights Reserved.