|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ContentServiceSvr
These methods are only able to be invoked from classes running in the
server. Most of these methods are only needed by the ContentHttp class.
They are also used by the loader and the indexing modules.
Supported API: true
Extendable: false
ContentServerHelper| Method Summary | |
|---|---|
void |
deleteContent(ContentHolder holder,
ContentItem item)
Deletes the passed ContentItem for the given ContentHolder. |
void |
deleteContent(WTSet contentItemSet)
Deletes the contents associated with the input content item set. |
InputStream |
findContentStream(ApplicationData appData)
Return the stream based on a ContentHolder and an ApplicationData object. |
Enumeration |
getHtmlFormatNames()
Returns the list of valid formats for ApplicationData objects in the system. |
wt.content.Aggregate |
updateContent(ContentHolder holder,
wt.content.Aggregate agg)
Update a ContentHolder with the given Aggreate. |
ApplicationData |
updateContent(ContentHolder holder,
ApplicationData appData,
wt.fv.uploadtocache.CachedContentDescriptor cachedContDesc)
Update a ContentHolder with the given content passed in with a CachedContDesc. |
ApplicationData |
updateContent(ContentHolder holder,
ApplicationData appData,
wt.fv.uploadtocache.CachedContentDescriptor cachedContDesc,
boolean mustCreateNewFile)
Supported API: true |
ApplicationData |
updateContent(ContentHolder holder,
ApplicationData appData,
InputStream is)
Update a ContentHolder based on a persised ContentHolder and ContentItemInfo object and a new ApplicationData object and the corresponding stream to the content. |
ApplicationData |
updateContent(ContentHolder holder,
ApplicationData appData,
InputStream is,
boolean mustCreateNewFile)
Supported API: true |
ApplicationData |
updateContent(ContentHolder holder,
ApplicationData appData,
String fullPath)
Update a ContentHolder with the given content passed in with a path. |
wt.content.ExternalStoredData |
updateContent(ContentHolder holder,
wt.content.ExternalStoredData xStoredData)
Update a ContentHolder with the given content passed in with a path. |
URLData |
updateContent(ContentHolder holder,
URLData urlData)
Update a ContentHolder with the given content passed in with a path. |
Object[] |
updateContent(Object[][] holderDataArray)
Update multiple ContentHolders with its corresponding ApplicationData passed in as part of the object[][2]. |
Object[] |
updateContent(Object[][] holderDataArray,
boolean mustCreateNewFile)
Update multiple ContentHolders with its corresponding ApplicationData passed in as part of the object[][2]. |
FormatContentHolder |
updateHolderFormat(FormatContentHolder holder)
This method will update the format for a FormatContentHolder based on the content in it at it's current state. |
WTSet |
updateHolderFormat(WTSet inHolderSet)
This method will update the format for a FormatContentHolder based on the content in it at it's current state. |
ApplicationData |
updatePrimary(FormatContentHolder holder,
ApplicationData appData,
InputStream is)
Update the primary for the passed FormatContentHolder with the passed ApplicationData and stream. |
ContentItem |
updatePrimary(FormatContentHolder holder,
ContentItem item)
Update the primary for the passed FormatContentHolder with the passed ContentItem. |
void |
writeContentStream(ApplicationData appData,
String path)
Write out the content to a path based on a ContentHolder and an ApplicationData object. |
| Method Detail |
|---|
InputStream findContentStream(ApplicationData appData)
throws WTException
appData -
WTException
void writeContentStream(ApplicationData appData,
String path)
throws WTException,
IOException
appData - path -
WTException
IOException
Enumeration getHtmlFormatNames()
throws WTException
WTException
ApplicationData updateContent(ContentHolder holder,
ApplicationData appData,
String fullPath)
throws WTException,
PropertyVetoException,
IOException,
FileNotFoundException
holder - appData - fullPath -
WTException
PropertyVetoException
IOException
FileNotFoundException
ApplicationData updateContent(ContentHolder holder,
ApplicationData appData,
wt.fv.uploadtocache.CachedContentDescriptor cachedContDesc)
throws WTException,
PropertyVetoException
holder - appData - cachedContDesc -
WTException
PropertyVetoException
URLData updateContent(ContentHolder holder,
URLData urlData)
throws WTException,
PropertyVetoException
holder - urlData -
WTException
PropertyVetoException
ApplicationData updateContent(ContentHolder holder,
ApplicationData appData,
InputStream is)
throws WTException,
PropertyVetoException,
IOException,
FileNotFoundException
holder - appData - is -
WTException
PropertyVetoException
IOException
FileNotFoundException
wt.content.Aggregate updateContent(ContentHolder holder,
wt.content.Aggregate agg)
throws WTException,
PropertyVetoException
holder - agg -
WTException
PropertyVetoException
FormatContentHolder updateHolderFormat(FormatContentHolder holder)
throws WTException,
PropertyVetoException
holder -
WTException
PropertyVetoException
void deleteContent(ContentHolder holder,
ContentItem item)
throws WTException,
WTPropertyVetoException
holder - item -
WTException
WTPropertyVetoException
ApplicationData updatePrimary(FormatContentHolder holder,
ApplicationData appData,
InputStream is)
throws WTException,
PropertyVetoException,
FileNotFoundException,
IOException
holder - appData - is -
WTException
PropertyVetoException
FileNotFoundException
IOException
ContentItem updatePrimary(FormatContentHolder holder,
ContentItem item)
throws WTException,
PropertyVetoException
holder - item -
WTException
PropertyVetoException
ApplicationData updateContent(ContentHolder holder,
ApplicationData appData,
wt.fv.uploadtocache.CachedContentDescriptor cachedContDesc,
boolean mustCreateNewFile)
throws WTException,
PropertyVetoException
holder - appData - cachedContDesc - mustCreateNewFile -
WTException
PropertyVetoException
ApplicationData updateContent(ContentHolder holder,
ApplicationData appData,
InputStream is,
boolean mustCreateNewFile)
throws WTException,
PropertyVetoException,
IOException,
FileNotFoundException
holder - appData - is - mustCreateNewFile -
WTException
PropertyVetoException
IOException
FileNotFoundException
Object[] updateContent(Object[][] holderDataArray,
boolean mustCreateNewFile)
throws WTException,
PropertyVetoException
holderDataArray - mustCreateNewFile -
WTException
PropertyVetoException
Object[] updateContent(Object[][] holderDataArray)
throws WTException,
PropertyVetoException
holderDataArray -
WTException
PropertyVetoException
void deleteContent(WTSet contentItemSet)
throws WTException,
WTPropertyVetoException
contentItemSet -
WTException
WTPropertyVetoException
WTSet updateHolderFormat(WTSet inHolderSet)
throws WTException,
PropertyVetoException
inHolderSet -
WTException
PropertyVetoException
wt.content.ExternalStoredData updateContent(ContentHolder holder,
wt.content.ExternalStoredData xStoredData)
throws WTException,
PropertyVetoException
holder - xStoredData -
WTException
PropertyVetoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||