|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.content.ContentServiceFwd
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: false
Extendable: false
ContentHelper
,
Serialized FormField Summary | |
private static String |
CLASSNAME
|
private static String |
FC_RESOURCE
|
(package private) static boolean |
SERVER
|
Fields inherited from interface wt.method.RemoteAccess |
versionID |
Fields inherited from interface wt.content.ContentService |
FILE_SET, NONE, UNKNOWN, URL |
Constructor Summary | |
ContentServiceFwd()
|
Method Summary | |
ContentHolder |
contentUpdate(ContentHolder holder,
TransactionContainer txnCntr)
This method adds, removes, and updates content based on a ContentHolder and a TransactionContainer object. |
ContentHolder |
contentUpdateDownload(ContentHolder holder,
TransactionContainer txnCntr)
Deprecated. |
ContentHolder |
contentUpdateUpload(ContentHolder holder,
TransactionContainer txnCntr)
Deprecated. |
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. |
void |
copyContentItemsNoRoleCheck(WTKeyedMap holderToItemMap)
Make a copy of the ContentItem objects for the corresponding ContentHolder objects. |
ApplicationData |
get3DThumbnail(ContentHolder contentHolder)
Get an associated Thumbnail content item for the passed ContentHolder. |
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. |
QueryResult |
getDataFormats()
Deprecated. |
DataFormat |
getFormatByName(String formatName)
Get a DataFormat object based on the formatName Supported API: false |
Vector |
getFormatNames()
Returns a Vector of the FormatNames in the system from DataFormat class that are applicable for ApplicationData objects. |
HttpContentOperation |
getHttpContentOperationStatuses(HttpContentOperation operation)
Deprecated. |
private static Manager |
getManager()
|
ContentItem |
getPrimary(FormatContentHolder holder)
Deprecated. |
ContentItem |
getPrimaryContent(ObjectReference formatContentHolderRef)
Get the primary ContentItem for the passed reference to a ContentHolder. |
ApplicationData |
getThumbnail(ContentHolder contentHolder)
Get an associated Thumbnail content item for the passed ContentHolder. |
HttpContentOperation |
prepareForDownload(ContentHolder holder,
Vector contentV)
Deprecated. |
HttpContentOperation |
prepareForFullDownload(ContentHolder holder)
Deprecated. |
HttpContentOperation |
prepareForFullUpload(ContentHolder holder)
Deprecated. |
HttpContentOperation |
prepareForUpload(ContentHolder holder)
Deprecated. |
HttpContentOperation |
prepareForUpload(ContentHolder holder,
Vector contentV)
Deprecated. |
ApplicationData |
updateAppData(ContentHolder holder,
ApplicationData appData)
This method updates an ApplicationData without changing the timestamp. |
HttpContentOperation |
waitForStatus(HttpContentOperation op)
Deprecated. |
HttpOperationItem |
waitForStatus(HttpOperationItem opItem)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final boolean SERVER
private static final String FC_RESOURCE
private static final String CLASSNAME
Constructor Detail |
public ContentServiceFwd()
Method Detail |
private static Manager getManager() throws WTException
WTException
public HttpContentOperation prepareForUpload(ContentHolder holder) throws WTException, PropertyVetoException
prepareForUpload
in interface ContentService
holder
-
WTException
PropertyVetoException
public HttpContentOperation prepareForFullUpload(ContentHolder holder) throws WTException, PropertyVetoException
prepareForFullUpload
in interface ContentService
holder
-
WTException
PropertyVetoException
public HttpContentOperation prepareForUpload(ContentHolder holder, Vector contentV) throws WTException, PropertyVetoException
prepareForUpload
in interface ContentService
holder
- contentV
-
WTException
PropertyVetoException
public HttpContentOperation prepareForFullDownload(ContentHolder holder) throws WTException, PropertyVetoException
prepareForFullDownload
in interface ContentService
holder
-
WTException
PropertyVetoException
public HttpContentOperation prepareForDownload(ContentHolder holder, Vector contentV) throws WTException, PropertyVetoException
prepareForDownload
in interface ContentService
holder
- contentV
-
WTException
PropertyVetoException
public HttpContentOperation waitForStatus(HttpContentOperation op) throws PropertyVetoException, ContentException, InterruptedException, WTException
waitForStatus
in interface ContentService
op
-
PropertyVetoException
ContentException
InterruptedException
WTException
HttpOperationStatus
public HttpOperationItem waitForStatus(HttpOperationItem opItem) throws PropertyVetoException, ContentException, InterruptedException, WTException
waitForStatus
in interface ContentService
opItem
-
PropertyVetoException
ContentException
InterruptedException
WTException
HttpOperationStatus
public Vector getFormatNames() throws WTException
getFormatNames
in interface ContentService
WTException
public ContentHolder getContents(ContentHolder holder) throws WTException, PropertyVetoException
getContents
in interface ContentService
holder
-
WTException
PropertyVetoException
public HttpContentOperation getHttpContentOperationStatuses(HttpContentOperation operation) throws WTException, PropertyVetoException
getHttpContentOperationStatuses
in interface ContentService
operation
-
WTException
PropertyVetoException
public DataFormat getDataFormat(String idStr) throws WTException
getDataFormat
in interface ContentService
idStr
-
WTException
ObjectIdentifier
public DataFormat getFormatByName(String formatName) throws WTException
getFormatByName
in interface ContentService
formatName
-
WTException
public QueryResult getDataFormats() throws WTException
getDataFormats
in interface ContentService
WTException
public ContentHolder contentUpdate(ContentHolder holder, TransactionContainer txnCntr) throws WTException, PropertyVetoException
contentUpdate
in interface ContentService
holder
- txnCntr
-
WTException
PropertyVetoException
TransactionContainer
public ContentHolder contentUpdateUpload(ContentHolder holder, TransactionContainer txnCntr) throws WTException, PropertyVetoException
contentUpdateUpload
in interface ContentService
holder
- txnCntr
-
WTException
PropertyVetoException
TransactionContainer
,
HttpContentOperation
,
ApplicationData
public ContentHolder contentUpdateDownload(ContentHolder holder, TransactionContainer txnCntr) throws WTException, PropertyVetoException
contentUpdateDownload
in interface ContentService
holder
- txnCntr
-
WTException
PropertyVetoException
TransactionContainer
,
HttpContentOperation
,
ApplicationData
public ApplicationData updateAppData(ContentHolder holder, ApplicationData appData) throws WTException, PropertyVetoException
updateAppData
in interface ContentService
holder
- appData
-
WTException
PropertyVetoException
public ContentItem getPrimary(FormatContentHolder holder) throws WTException, PropertyVetoException
getPrimary
in interface ContentService
holder
-
WTException
PropertyVetoException
public ContentHolder copyContent(ContentHolder copyFrom, ContentHolder copyTo) throws WTException, PropertyVetoException
copyContent
in interface ContentService
copyFrom
- copyTo
-
WTException
PropertyVetoException
public ContentItem copyContentItem(ContentHolder holder, ContentItem item) throws WTException, PropertyVetoException
copyContentItem
in interface ContentService
holder
- item
-
WTException
PropertyVetoException
public QueryResult getContentsByRole(ContentHolder holder, ContentRoleType role) throws WTException
getContentsByRole
in interface ContentService
holder
- role
-
WTException
public ApplicationData getThumbnail(ContentHolder contentHolder) throws WTException
getThumbnail
in interface ContentService
contentHolder
-
WTException
public HashMap getContents(HashMap holders) throws WTException, PropertyVetoException
getContents
in interface ContentService
holders
-
WTException
PropertyVetoException
public ApplicationData get3DThumbnail(ContentHolder contentHolder) throws WTException
get3DThumbnail
in interface ContentService
contentHolder
-
WTException
public ContentItem getPrimaryContent(ObjectReference formatContentHolderRef) throws WTException
getPrimaryContent
in interface ContentService
formatContentHolderRef
-
WTException
public WTKeyedMap getContentsByRole(WTSet holderSet, ContentRoleType role) throws WTException
getContentsByRole
in interface ContentService
holderSet
- role
-
WTException
public void copyContent(WTKeyedMap old2newMapping) throws WTException, PropertyVetoException
copyContent
in interface ContentService
old2newMapping
-
WTException
PropertyVetoException
public void copyContentItemsNoRoleCheck(WTKeyedMap holderToItemMap) throws WTException, PropertyVetoException
copyContentItemsNoRoleCheck
in interface ContentService
holderToItemMap
- A map between recipient ContentHolder objects and WTSet instances filled with ContentItem objects to be copied. WTException
PropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |