|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.JdbcTable org.paneris.melati.site.model.SiteTable org.paneris.melati.site.model.generated.UploadedFileTableBase org.paneris.melati.site.model.UploadedFileTable org.paneris.melati.site.model.generated.UploadedImageTableBase org.paneris.melati.site.model.UploadedImageTable
public class UploadedImageTable
Melati POEM generated, programmer modifiable stub
for a UploadedImageTable
object.
Description: An image uploaded by a user.
Field summary for SQL table UploadedImage
| ||
---|---|---|
Name | Type | Description |
id | Integer | |
url | String | The name of the file, as uploaded |
height | Integer | The height of this file if it is an image |
width | Integer | The width of this file if it is an image |
Constructor Summary | |
---|---|
UploadedImageTable(org.melati.poem.Database database,
java.lang.String name,
org.melati.poem.DefinitionSource definitionSource)
Constructor. |
Method Summary | |
---|---|
UploadedImage |
ensure(java.lang.String displayName,
java.lang.String description,
java.lang.String url,
UploadedFileType type,
java.lang.Integer width,
java.lang.Integer height)
Find or create an object with these properties. |
java.lang.String |
getRelativeUrl()
|
Methods inherited from class org.paneris.melati.site.model.generated.UploadedImageTableBase |
---|
_newPersistent, defaultCacheLimit, defaultCategory, defaultDescription, defaultDisplayName, defaultDisplayOrder, defaultRememberAllTroids, getHeightColumn, getIdColumn, getSiteDatabaseTables, getUploadedImageObject, getUploadedImageObject, getUrlColumn, getWidthColumn, init |
Methods inherited from class org.paneris.melati.site.model.UploadedFileTable |
---|
create |
Methods inherited from class org.paneris.melati.site.model.generated.UploadedFileTableBase |
---|
getDeletedColumn, getDescriptionColumn, getDisplaynameColumn, getSizeColumn, getTypeColumn, getUploadedbyColumn, getUploadedFileObject, getUploadedFileObject, getWhenColumn |
Methods inherited from class org.melati.poem.JdbcTable |
---|
_getColumn, 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, 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 |
---|
public UploadedImageTable(org.melati.poem.Database database, java.lang.String name, org.melati.poem.DefinitionSource definitionSource) throws org.melati.poem.PoemException
database
- the POEM database we are usingname
- the name of this Table
definitionSource
- which definition is being us String displayname
(size = unlimited)
(displayname = "Display name")
(description = "The layout's name")
(displaylevel = primary)
(searchability = primary);
ed
org.melati.poem.PoemException
- if anything goes wrongMethod Detail |
---|
public UploadedImage ensure(java.lang.String displayName, java.lang.String description, java.lang.String url, UploadedFileType type, java.lang.Integer width, java.lang.Integer height)
displayName
- description
- url
- type
-
public java.lang.String getRelativeUrl()
getRelativeUrl
in class UploadedFileTable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |