|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ContentService
The ContentManager interface identifies the set of methods that clients
use to manage classes that implement the ContentHolder interface. While
the methods declared by this interface execute on the server, they are
accessable to client application through the ContentHelper class. Usage
is
obj = ContentHelper.service.someContentServiceMethod( someArgs );
Supported API: true
Extendable: false
ContentHelper| Method Summary | |
|---|---|
ContentHolder |
copyContent(ContentHolder copyFrom,
ContentHolder copyTo)
Copy all the content from one content holder to another (not regarding the content role. |
void |
copyContent(WTKeyedMap old2newMapping)
Copy all the content from one content holder to another (not regarding the content role. |
ContentItem |
copyContentItem(ContentHolder holder,
ContentItem item)
Make an exact copy of the ContentItem for the passed holder. |
ContentHolder |
getContents(ContentHolder holder)
Set the cookie in an ContentHolder object to contain all ContentItems associated with it. |
HashMap |
getContents(HashMap holders)
Set the cookie in an every ContentHolder object in HashMap to contain all ContentItems associated with it. |
QueryResult |
getContentsByRole(ContentHolder holder,
ContentRoleType role)
Query for all the associated ContentItems that have the passed Role for the ContentHolder. |
WTKeyedMap |
getContentsByRole(WTSet holderSet,
ContentRoleType role)
Query for all the associated ContentItems that have the passed Role for the ContentHolder. |
DataFormat |
getDataFormat(String idStr)
Get a DataFormat object based on a stringified object identifier. |
DataFormat |
getFormatByName(String formatName)
Get a DataFormat object based on the formatName Supported API: true |
Vector |
getFormatNames()
Returns a Vector of the FormatNames in the system from DataFormat class that are applicable for ApplicationData objects. |
ApplicationData |
updateAppData(ContentHolder holder,
ApplicationData appData)
Deprecated. |
| Method Detail |
|---|
Vector getFormatNames()
throws WTException
WTException
ContentHolder getContents(ContentHolder holder)
throws WTException,
PropertyVetoException
holder -
WTException
PropertyVetoException
DataFormat getDataFormat(String idStr)
throws WTException
idStr -
WTExceptionObjectIdentifier
DataFormat getFormatByName(String formatName)
throws WTException
formatName -
WTException
ApplicationData updateAppData(ContentHolder holder,
ApplicationData appData)
throws WTException,
PropertyVetoException
holder - appData -
WTException
PropertyVetoException
ContentHolder copyContent(ContentHolder copyFrom,
ContentHolder copyTo)
throws WTException,
PropertyVetoException
copyFrom - copyTo -
WTException
PropertyVetoException
ContentItem copyContentItem(ContentHolder holder,
ContentItem item)
throws WTException,
PropertyVetoException
holder - item -
WTException
PropertyVetoException
QueryResult getContentsByRole(ContentHolder holder,
ContentRoleType role)
throws WTException
holder - role -
WTException
HashMap getContents(HashMap holders)
throws WTException,
PropertyVetoException
holders -
WTException
PropertyVetoException
void copyContent(WTKeyedMap old2newMapping)
throws WTException,
PropertyVetoException
old2newMapping -
WTException
PropertyVetoException
WTKeyedMap getContentsByRole(WTSet holderSet,
ContentRoleType role)
throws WTException
holderSet - role -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||