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:
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 org.melati.poem.prepro.TableDef#generatePersistentBaseJava


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


description

protected String description
description - A description of the file


size

protected Integer size
size - The size of this file


when

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


uploadedby

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


deleted

protected Boolean deleted
deleted - Whether this file been deleted or not


displayname

protected String displayname
Display name - The layout's name

Constructor Detail

UploadedFileBase

public UploadedFileBase()
Method Detail

getSiteDatabaseTables

public SiteDatabaseTables getSiteDatabaseTables()
Retrieves the Database object. see org.melati.poem.prepro.TableDef#generatePersistentBaseJava

Returns:
the database

getUploadedFileTable

public UploadedFileTable getUploadedFileTable()
Retrieves the UploadedFileTable table which this Persistent is from. see org.melati.poem.prepro.TableDef#generatePersistentBaseJava

Returns:
the UploadedFileTable

getType_unsafe

public Integer getType_unsafe()
Retrieves the Type value, without locking, for this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Returns:
the Integer type

setType_unsafe

public void setType_unsafe(Integer cooked)
Sets the Type value directly, without checking, for this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Parameters:
cooked - the pre-validated value to set

getTypeTroid

public Integer getTypeTroid()
                     throws org.melati.poem.AccessPoemException
Retrieves the Table Row Object ID. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

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(Integer raw)
                  throws org.melati.poem.AccessPoemException
Sets the Table Row Object ID. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

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. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

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. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

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<Integer> getTypeField()
                                            throws org.melati.poem.AccessPoemException
Retrieves the Type value as a Field from this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateFieldCreator

Returns:
the Integer type
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getDescription_unsafe

public String getDescription_unsafe()
Retrieves the Description value, without locking, for this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Returns:
the String description

setDescription_unsafe

public void setDescription_unsafe(String cooked)
Sets the Description value directly, without checking, for this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Parameters:
cooked - the pre-validated value to set

getDescription

public String getDescription()
                      throws org.melati.poem.AccessPoemException
Retrieves the Description value, with locking, for this UploadedFile Persistent. Field description: A description of the file Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

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(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 Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

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<String> getDescriptionField()
                                                  throws org.melati.poem.AccessPoemException
Retrieves the Description value as a Field from this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateFieldCreator

Returns:
the String description
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getSize_unsafe

public Integer getSize_unsafe()
Retrieves the Size value, without locking, for this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Returns:
the Integer size

setSize_unsafe

public void setSize_unsafe(Integer cooked)
Sets the Size value directly, without checking, for this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Parameters:
cooked - the pre-validated value to set

getSize

public Integer getSize()
                throws org.melati.poem.AccessPoemException
Retrieves the Size value, with locking, for this UploadedFile Persistent. Field description: The size of this file Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

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(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 Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

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 Generated by org.melati.poem.prepro.IntegerFieldDef#generateBaseMethods

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<Integer> getSizeField()
                                            throws org.melati.poem.AccessPoemException
Retrieves the Size value as a Field from this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateFieldCreator

Returns:
the Integer size
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getWhen_unsafe

public Date getWhen_unsafe()
Retrieves the When value, without locking, for this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Returns:
the Date when

setWhen_unsafe

public void setWhen_unsafe(Date cooked)
Sets the When value directly, without checking, for this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Parameters:
cooked - the pre-validated value to set

getWhen

public 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 Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

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(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 Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

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<Date> getWhenField()
                                         throws org.melati.poem.AccessPoemException
Retrieves the When value as a Field from this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateFieldCreator

Returns:
the Date when
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getUploadedby_unsafe

public Integer getUploadedby_unsafe()
Retrieves the Uploadedby value, without locking, for this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Returns:
the Integer uploadedby

setUploadedby_unsafe

public void setUploadedby_unsafe(Integer cooked)
Sets the Uploadedby value directly, without checking, for this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Parameters:
cooked - the pre-validated value to set

getUploadedbyTroid

public Integer getUploadedbyTroid()
                           throws org.melati.poem.AccessPoemException
Retrieves the Table Row Object ID. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

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(Integer raw)
                        throws org.melati.poem.AccessPoemException
Sets the Table Row Object ID. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

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. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

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. Generated by org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

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<Integer> getUploadedbyField()
                                                  throws org.melati.poem.AccessPoemException
Retrieves the Uploadedby value as a Field from this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateFieldCreator

Returns:
the Integer uploadedby
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getDeleted_unsafe

public Boolean getDeleted_unsafe()
Retrieves the Deleted value, without locking, for this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Returns:
the Boolean deleted

setDeleted_unsafe

public void setDeleted_unsafe(Boolean cooked)
Sets the Deleted value directly, without checking, for this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Parameters:
cooked - the pre-validated value to set

getDeleted

public 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 Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

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(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 Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

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 Generated by org.melati.poem.prepro.BooleanFieldDef#generateBaseMethods

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<Boolean> getDeletedField()
                                               throws org.melati.poem.AccessPoemException
Retrieves the Deleted value as a Field from this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateFieldCreator

Returns:
the Boolean deleted
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getDisplayname_unsafe

public String getDisplayname_unsafe()
Retrieves the Displayname value, without locking, for this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Returns:
the String displayname

setDisplayname_unsafe

public void setDisplayname_unsafe(String cooked)
Sets the Displayname value directly, without checking, for this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateBaseMethods

Parameters:
cooked - the pre-validated value to set

getDisplayname

public String getDisplayname()
                      throws org.melati.poem.AccessPoemException
Retrieves the Displayname value, with locking, for this UploadedFile Persistent. Field description: The layout's name Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

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(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 Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

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<String> getDisplaynameField()
                                                  throws org.melati.poem.AccessPoemException
Retrieves the Displayname value as a Field from this UploadedFile Persistent. see org.melati.poem.prepro.FieldDef#generateFieldCreator

Returns:
the String displayname
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights


Copyright © 1997-2012 PanEris. All Rights Reserved.