|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.transaction.Transactioned org.melati.poem.JdbcPersistent org.paneris.bibliomania.generated.UnitBase org.paneris.bibliomania.Unit org.paneris.bibliomania.generated.BookBase org.paneris.bibliomania.Book
public class Book
Nested Class Summary | |
---|---|
class |
Book.TooManyBooksException
|
Nested classes/interfaces inherited from class org.paneris.bibliomania.Unit |
---|
Unit.NoSourceDirException |
Field Summary | |
---|---|
org.melati.poem.Treeable[] |
children
|
static java.lang.String |
frontPageFileName
|
static java.lang.String |
frontPageSourceFileName
|
Fields inherited from class org.paneris.bibliomania.generated.BookBase |
---|
advert, author, authorsequence, fulltitleifdifferent, hasnofrontpage, id, lastbookshopsearch, metatag_description, metatag_keywords, nonstandard, overridecanreadcontent, paginated, section, summary, title |
Fields inherited from class org.paneris.bibliomania.generated.UnitBase |
---|
deleted, lastencached, layout, messageboard, path |
Fields inherited from class org.melati.poem.transaction.Transactioned |
---|
valid |
Constructor Summary | |
---|---|
Book()
|
Method Summary | |
---|---|
java.lang.String |
adminHandle(org.melati.Melati melati,
org.melati.template.MarkupLanguage markupLanguage)
|
java.lang.String |
adminSpecialFacilities(org.melati.Melati melati,
org.melati.template.MarkupLanguage markupLanguage)
|
void |
appendCacheSubpath(java.lang.StringBuffer buffer)
|
java.io.InputStream |
body()
|
java.io.InputStream |
bodyForFragment()
|
Chapter |
chapter(int sequence)
|
void |
encache()
|
long |
ftiTextID_limit()
|
long |
ftiTextID_start()
|
long |
ftiTextID()
|
org.melati.poem.Capability |
getCanReadContent()
|
java.lang.String |
getCha0JS()
|
Chapter |
getChapter0()
|
java.util.Enumeration |
getChapters()
|
org.melati.poem.Treeable[] |
getChildren()
|
java.lang.String |
getDisplayName()
|
java.io.File |
getFrontPageFile()
|
java.lang.String |
getFulltitle()
|
java.util.Enumeration |
getMembersSlowly()
|
java.lang.String |
getName()
|
Unit |
getParentUnit()
|
java.util.Enumeration |
getProductAssociations()
|
SectionGroup |
getReadArea()
|
java.io.File |
getSourceDir()
|
boolean |
hasTOC()
|
void |
index()
|
void |
readKeyDotTxt()
|
void |
setAuthor(Author author)
Set the Author. |
void |
setAuthorsequence(java.lang.Integer s)
Sets the Authorsequence value, with checking, for this
Book Persistent . |
void |
setSection(Section section)
Set the Section. |
protected java.util.Hashtable |
speciallyTreatedInCache()
|
Methods inherited from class org.paneris.bibliomania.Unit |
---|
appendCachePath, getAncestors, getBibliomaniaDatabase, getBoardName, getCachePath, getProductAssociations, getRelatedProducts, getURLSubpath, getURLSubpathReally, getWMTemplet, paginate, writeLock |
Methods inherited from class org.paneris.bibliomania.generated.UnitBase |
---|
getDeleted_unsafe, getDeleted, getDeletedField, getLastencached_unsafe, getLastencached, getLastencachedField, getLayout_unsafe, getLayout, getLayoutField, getLayoutTroid, getMessageboard_unsafe, getMessageboard, getMessageboardField, getMessageboardTroid, getPath_unsafe, getPath, getPathField, getUnitTable, setDeleted_unsafe, setDeleted, setDeleted, setLastencached_unsafe, setLastencached, setLayout_unsafe, setLayout, setLayoutTroid, setMessageboard_unsafe, setMessageboard, setMessageboardTroid, setPath_unsafe, setPath |
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, getCooked, getCookedString, getDatabase, getDetailDisplayFields, getField, getFields, 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 |
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 |
---|
public static final java.lang.String frontPageFileName
public static final java.lang.String frontPageSourceFileName
public org.melati.poem.Treeable[] children
Constructor Detail |
---|
public Book()
Method Detail |
---|
public java.lang.String getFulltitle()
public java.io.File getSourceDir()
public void setAuthorsequence(java.lang.Integer s)
BookBase
Authorsequence
value, with checking, for this
Book
Persistent
.
Field description:
An internal number used to distinguish between books by the same author
in creating textIDs for the full text indexing subsystem
setAuthorsequence
in class BookBase
s
- a validated int
public void setAuthor(Author author)
BookBase
setAuthor
in class BookBase
author
- a validated Author
public java.util.Enumeration getChapters()
public java.util.Enumeration getProductAssociations()
getProductAssociations
in class Unit
public java.util.Enumeration getMembersSlowly()
getMembersSlowly
in class Unit
public Chapter chapter(int sequence)
public Chapter getChapter0()
public java.lang.String getCha0JS()
public void setSection(Section section)
BookBase
setSection
in class BookBase
section
- a validated Section
public org.melati.poem.Capability getCanReadContent()
public java.lang.String adminHandle(org.melati.Melati melati, org.melati.template.MarkupLanguage markupLanguage) throws java.lang.Exception
adminHandle
in interface org.melati.admin.AdminSpecialised
java.lang.Exception
public java.lang.String adminSpecialFacilities(org.melati.Melati melati, org.melati.template.MarkupLanguage markupLanguage) throws java.lang.Exception
adminSpecialFacilities
in interface org.melati.admin.AdminSpecialised
java.lang.Exception
public long ftiTextID()
ftiTextID
in interface Text
public java.io.InputStream body() throws java.io.IOException
body
in interface Text
java.io.IOException
public java.io.InputStream bodyForFragment() throws java.io.IOException
bodyForFragment
in interface Text
java.io.IOException
public long ftiTextID_start()
ftiTextID_start
in class Unit
public long ftiTextID_limit()
ftiTextID_limit
in class Unit
public Unit getParentUnit()
getParentUnit
in class Unit
public java.lang.String getDisplayName()
getDisplayName
in class Unit
public void appendCacheSubpath(java.lang.StringBuffer buffer)
appendCacheSubpath
in class Unit
public void readKeyDotTxt()
readKeyDotTxt
in class Unit
protected java.util.Hashtable speciallyTreatedInCache()
speciallyTreatedInCache
in class Unit
public java.io.File getFrontPageFile()
public boolean hasTOC()
public void index() throws java.io.IOException
index
in class Unit
java.io.IOException
public void encache() throws java.lang.Exception
encache
in class Unit
java.lang.Exception
public SectionGroup getReadArea()
getReadArea
in class Unit
public org.melati.poem.Treeable[] getChildren()
getChildren
in interface org.melati.poem.Treeable
getChildren
in class org.melati.poem.JdbcPersistent
public java.lang.String getName()
getName
in interface org.melati.poem.Treeable
getName
in class Unit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |