org.paneris.melati.site.model
Class UploadedFileTable

java.lang.Object
  extended by org.melati.poem.JdbcTable
      extended by org.paneris.melati.site.model.SiteTable
          extended by org.paneris.melati.site.model.generated.UploadedFileTableBase
              extended by org.paneris.melati.site.model.UploadedFileTable
All Implemented Interfaces:
org.melati.poem.Selectable, org.melati.poem.Table
Direct Known Subclasses:
TemplateTableBase, UploadedDocumentTableBase, UploadedImageTableBase

public class UploadedFileTable
extends UploadedFileTableBase

Melati POEM generated, programmer modifiable stub for a UploadedFileTable object.

Description: A file uploaded by a user.

Field summary for SQL table UploadedFile
NameTypeDescription
type UploadedFileType The type of this file
description String A description of the file
size Integer The size of this file
when Date The date on which this file was uploaded
uploadedby User The user who uploaded this file
deleted Boolean Whether this file been deleted or not


Constructor Summary
UploadedFileTable(org.melati.poem.Database database, java.lang.String name, org.melati.poem.DefinitionSource definitionSource)
          Constructor.
 
Method Summary
 void create(org.melati.poem.Persistent persistent)
           
 java.lang.String getRelativeUrl()
           
 
Methods inherited from class org.paneris.melati.site.model.generated.UploadedFileTableBase
defaultCacheLimit, defaultCategory, defaultDisplayOrder, defaultRememberAllTroids, getDeletedColumn, getDescriptionColumn, getDisplaynameColumn, getSiteDatabaseTables, getSizeColumn, getTypeColumn, getUploadedbyColumn, getUploadedFileObject, getUploadedFileObject, getWhenColumn, init
 
Methods inherited from class org.melati.poem.JdbcTable
_getColumn, _newPersistent, addColumnAndCommit, addListener, appendWhereClause, cachedCount, cachedCount, cachedCount, cachedCount, cachedCount, cachedExists, cachedSelection, cachedSelectionField, cachedSelectionType, canDeleteColumn, canReadColumn, canSelectColumn, canWriteColumn, clearColumnInfoCaches, cnfWhereClause, cnfWhereClause, columns, columnWithColumnInfoID, count, count, count, count, countSQL, countSQL, create, createTableInfo, dbAddConstraints, dbModifyStructure, defaultDescription, defaultDisplayName, defaultOrderByClause, defineColumn, delete_unsafe, delete, deleteColumnAndCommit, deletedColumn, displayColumn, displayColumns, displayColumnsCount, dump, dump, dumpCacheAnalysis, equals, exists, exists, extrasCount, firstSelection, getCacheInfo, getCanCreate, getCategory, getColumn, getColumnsCount, getDatabase, getDbmsTableType, getDefaultCanDelete, getDefaultCanRead, getDefaultCanWrite, getDescription, getDetailDisplayColumns, getDetailDisplayColumnsCount, getDisplayName, getDsdName, getInfo, getMostRecentTroid, getName, getNextExtrasIndex, getObject, getObject, getRecordDisplayColumns, getRecordDisplayColumnsCount, getSearchCriterionColumns, getSearchCriterionColumnsCount, getSummaryDisplayColumns, getSummaryDisplayColumnsCount, getTableInfo, hashCode, invalidateTransactionStuffs, load, newPersistent, notifyColumnInfo, notifyTouched, postInitialise, primaryCriterionColumn, quotedName, readLock, referencesTo, referencesTo, rememberAllTroids, selection, selection, selection, selection, selection, selection, selectionSQL, serial, setCacheLimit, setDisplayColumn, setSearchColumn, setTableInfo, tableInfoID, toString, trimCache, troidColumn, troidFor, troidSelection, troidSelection, troidSelection, uncache, unifyWithColumnInfo, unifyWithDB, whereClause, whereClause, writeDown
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UploadedFileTable

public UploadedFileTable(org.melati.poem.Database database,
                         java.lang.String name,
                         org.melati.poem.DefinitionSource definitionSource)
                  throws org.melati.poem.PoemException
Constructor.

Parameters:
database - the POEM database we are using
name - the name of this Table
definitionSource - which definition is being used
Throws:
org.melati.poem.PoemException - if anything goes wrong
Method Detail

create

public void create(org.melati.poem.Persistent persistent)
            throws org.melati.poem.AccessPoemException,
                   org.melati.poem.ValidationPoemException,
                   org.melati.poem.InitialisationPoemException
Specified by:
create in interface org.melati.poem.Table
Overrides:
create in class org.melati.poem.JdbcTable
Throws:
org.melati.poem.AccessPoemException
org.melati.poem.ValidationPoemException
org.melati.poem.InitialisationPoemException

getRelativeUrl

public java.lang.String getRelativeUrl()
Returns:
the relative url


Copyright © 1997-2008 PanEris. All Rights Reserved.