|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--com.swfit.core.xhtml.publish.XHTMLPublishedObjectList
|
+--com.swfit.core.xhtml.publish.XHTMLPubObjLstDefault
The XHTMLPubObjLstDefault is the default extension of the
XHTMLPublishedObjectList, with default implementations of the abstract methods.
| Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
| Field Summary | |
static java.lang.String |
ARTICLES_LIST
|
static java.lang.String |
CATEGORY_LIST
|
static java.lang.String |
CREATED_LIST
|
static int |
DEFAULT_NUM_PUBLISH
Write the different lists of categories - this one is a hack that relies heavily on SSI. |
static java.lang.String |
FRESH_LIST
|
static java.lang.String |
LINK_STR
|
static java.lang.String |
LINK_TXT_STR
|
static java.lang.String |
MEDIA_STR
|
static java.lang.String |
MODIFIED_LIST
|
static java.lang.String |
NUM_FRESH_ARTICLES
|
static int |
NUM_FRESH_ARTICLES_DEFAULT
|
static java.lang.String |
NUM_LINK_STR
|
static java.lang.String |
NUM_MEDIA_STR
|
static java.lang.String |
NUM_PUBLISH_NEWS
|
static java.lang.String |
NUM_PUBLISH_NEWSBRIEFS
|
static java.lang.String |
ORDER_LIST
|
static java.lang.String |
PUB_C_DATE_LONG
|
static java.lang.String |
PUB_C_DATE_SHORT
|
static java.lang.String |
PUB_IM_CREDITS
|
static java.lang.String |
PUB_IMAGE
|
static java.lang.String |
PUB_IMAGE_TITLE
|
static java.lang.String |
PUB_M_DATE_LONG
|
static java.lang.String |
PUB_M_DATE_SHORT
|
static java.lang.String |
PUB_POST
|
static java.lang.String |
PUB_TITLE
|
static java.lang.String |
PUB_URL_TXT
|
static java.lang.String |
PUB_URL_VAL
|
static java.lang.String |
PUB_USER
|
static java.lang.String |
PUB_USERBIO
|
static java.lang.String |
PUB_USERMAIL
|
static java.lang.String |
TEXT_STR
|
static java.lang.String |
TICK_TEXT
|
static java.lang.String |
TICK_URL
|
static java.lang.String |
TITLE_LIST
|
static java.lang.String |
TRANSLATION_STR
|
| Fields inherited from class com.swfit.core.xhtml.publish.XHTMLPublishedObjectList |
CAT, CREATED_SORT, DEFAULT_SORT, DESCRIPTION_SORT, MAX_CODE, MAX_DESCRIPTION_SIZE, MODIFIED_SORT, NUM, ORDER_SORT, publish_folder, SORT_METHOD_TYPES, SORT_METHODS, SSI_DISABLE |
| Constructor Summary | |
XHTMLPubObjLstDefault(XHTMLPublishFolder publish_folder,
int type)
Build the XHTMLPubObjLstDefault from various inputs. |
|
| Method Summary | |
protected XHTMLPublishedObject |
blankObject(int id)
All XHTMLPublishedObjectLists must implement this method to put their mark on the XHTMLPublishedObject. |
java.io.File |
defaultXHTMLRepresentation()
All XHTMLPublishedObjectLists should point to some XHTML representation so that searches will have somewhere to point no matter what kind of list it is. |
protected java.lang.String |
describeObject(XHTMLPublishedObject xpobj)
All XHTMLPublishedObjectLists must implement this method to generate lists for the user interface. |
protected java.lang.StringBuffer |
displayObject(java.lang.StringBuffer str_b,
XHTMLPublishedObject xpobj)
All XHTMLPublishedObjectLists must implement this method to generate a brief XHTML list of all the XHTMLPublishedObjects. |
XHTMLPublishedObject[] |
displaySorted()
Sort the contents of this list for export to a single XHTML file. |
void |
exportXHTMLPublishedObject(XHTMLPublishedObject xpobj)
Export a XHTMLPublishedObject. |
void |
generateOutLists()
Should this XHTMLPublishedObjectList generate some lists to be used by flash / SSI ? |
protected java.lang.String |
objectListTitle(XHTMLPublishedObject xpobj)
All XHTMLPublishedObjectLists must implement this method to sub-sort the list of XHTMLPublishedObject. |
java.lang.String[][] |
outFiles()
Should the content of this XHTMLPublishedObjectLists be exported to a set of flash digestable files? |
protected void |
prepareGet(XHTMLPublishedObject xpobj)
|
protected void |
preparePut(XHTMLPublishedObject xpobj)
We handle the extra information during these calls. |
protected void |
prepareRemove(XHTMLPublishedObject xpobj)
|
java.lang.String |
searchXHTMLPublishedObject(XHTMLPublishedObject xpobj)
All XHTMLPublishedObjectLists must implement this method to store a searchable version of the XHTMLPublishedObject in the LuceneIndex. |
java.lang.StringBuffer |
subImageList(XHTMLPublishedObject[] sorted,
int size)
|
java.lang.String |
typeCode()
All XHTMLPublishedObjectLists should have a unique String code as a virtual directory for the Lucene index. |
void |
writeArticleLists()
Write the different lists of articles |
void |
writeMediaLists()
Write the different lists of images. |
void |
writeSubArticleLists(XHTMLPublishedObject[] xpobjs,
int num_fresh,
java.lang.String prefix,
java.lang.String list_name)
Sub-sort the lists of articles |
void |
writeTextLists()
|
void |
writeTickerLists()
Write the different lists of tickers |
java.io.File |
XHTMLRepresentation(XHTMLPublishedObject xpobj)
|
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String TEXT_STR
public static final java.lang.String TRANSLATION_STR
public static final java.lang.String NUM_MEDIA_STR
public static final java.lang.String MEDIA_STR
public static final java.lang.String NUM_LINK_STR
public static final java.lang.String LINK_STR
public static final java.lang.String LINK_TXT_STR
public static final java.lang.String TICK_TEXT
public static final java.lang.String TICK_URL
public static final int DEFAULT_NUM_PUBLISH
public static final java.lang.String NUM_PUBLISH_NEWSBRIEFS
public static final java.lang.String NUM_PUBLISH_NEWS
public static final java.lang.String PUB_USER
public static final java.lang.String PUB_USERMAIL
public static final java.lang.String PUB_USERBIO
public static final java.lang.String PUB_URL_VAL
public static final java.lang.String PUB_URL_TXT
public static final java.lang.String PUB_TITLE
public static final java.lang.String PUB_POST
public static final java.lang.String PUB_IMAGE
public static final java.lang.String PUB_IMAGE_TITLE
public static final java.lang.String PUB_IM_CREDITS
public static final java.lang.String PUB_C_DATE_SHORT
public static final java.lang.String PUB_C_DATE_LONG
public static final java.lang.String PUB_M_DATE_SHORT
public static final java.lang.String PUB_M_DATE_LONG
public static final java.lang.String ARTICLES_LIST
public static final java.lang.String MODIFIED_LIST
public static final java.lang.String ORDER_LIST
public static final java.lang.String CREATED_LIST
public static final java.lang.String TITLE_LIST
public static final java.lang.String CATEGORY_LIST
public static final java.lang.String FRESH_LIST
public static final java.lang.String NUM_FRESH_ARTICLES
public static final int NUM_FRESH_ARTICLES_DEFAULT
| Constructor Detail |
public XHTMLPubObjLstDefault(XHTMLPublishFolder publish_folder,
int type)
| Method Detail |
protected java.lang.String describeObject(XHTMLPublishedObject xpobj)
describeObject in class XHTMLPublishedObjectList
protected final java.lang.String objectListTitle(XHTMLPublishedObject xpobj)
throws java.io.IOException
objectListTitle in class XHTMLPublishedObjectList
protected java.lang.StringBuffer displayObject(java.lang.StringBuffer str_b,
XHTMLPublishedObject xpobj)
throws java.io.IOException
displayObject in class XHTMLPublishedObjectListprotected XHTMLPublishedObject blankObject(int id)
blankObject in class XHTMLPublishedObjectList
protected final void preparePut(XHTMLPublishedObject xpobj)
throws java.io.IOException
preparePut in class XHTMLPublishedObjectList
public final void exportXHTMLPublishedObject(XHTMLPublishedObject xpobj)
throws java.io.IOException
XHTMLPublishedObjectListexportXHTMLPublishedObject in class XHTMLPublishedObjectList
protected final void prepareGet(XHTMLPublishedObject xpobj)
throws java.io.IOException
prepareGet in class XHTMLPublishedObjectList
protected final void prepareRemove(XHTMLPublishedObject xpobj)
throws java.io.IOException
prepareRemove in class XHTMLPublishedObjectListpublic final java.lang.String searchXHTMLPublishedObject(XHTMLPublishedObject xpobj)
searchXHTMLPublishedObject in class XHTMLPublishedObjectListpublic final java.io.File defaultXHTMLRepresentation()
defaultXHTMLRepresentation in class XHTMLPublishedObjectListpublic final java.io.File XHTMLRepresentation(XHTMLPublishedObject xpobj)
XHTMLRepresentation in class XHTMLPublishedObjectListpublic final java.lang.String[][] outFiles()
outFiles in class XHTMLPublishedObjectListpublic final java.lang.String typeCode()
typeCode in class XHTMLPublishedObjectListpublic final XHTMLPublishedObject[] displaySorted()
displaySorted in class XHTMLPublishedObjectList
public final void generateOutLists()
throws java.io.IOException
generateOutLists in class XHTMLPublishedObjectList
public final void writeMediaLists()
throws java.io.IOException
public final java.lang.StringBuffer subImageList(XHTMLPublishedObject[] sorted,
int size)
throws java.io.IOException
public final void writeTickerLists()
throws java.io.IOException
public final void writeTextLists()
throws java.io.IOException
public final void writeArticleLists()
throws java.io.IOException
public void writeSubArticleLists(XHTMLPublishedObject[] xpobjs,
int num_fresh,
java.lang.String prefix,
java.lang.String list_name)
throws java.io.IOException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||