|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
Field Summary | |
static String |
FILE_SET
This is the system default formatName for the DataFormat object associated with having of format of multi-file. |
static String |
NONE
This is the system default formatName for the DataFormat object associated with having no format. |
static String |
UNKNOWN
This is the system default formatName for the DataFormat object associated with having a URL Link as a format. |
static String |
URL
This is the system default formatName for the DataFormat object associated with having a URL Link as a format. |
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: true |
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. |
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. |
Field Detail |
public static final String NONE
public static final String FILE_SET
public static final String URL
public static final String UNKNOWN
Method Detail |
public HttpContentOperation prepareForUpload(ContentHolder holder) throws WTException, PropertyVetoException
holder
-
WTException
PropertyVetoException
public HttpContentOperation prepareForFullUpload(ContentHolder holder) throws WTException, PropertyVetoException
holder
-
WTException
PropertyVetoException
public HttpContentOperation prepareForUpload(ContentHolder holder, Vector contentV) throws WTException, PropertyVetoException
holder
- contentV
-
WTException
PropertyVetoException
public HttpContentOperation prepareForFullDownload(ContentHolder holder) throws WTException, PropertyVetoException
holder
-
WTException
PropertyVetoException
public HttpContentOperation prepareForDownload(ContentHolder holder, Vector contentV) throws WTException, PropertyVetoException
holder
- contentV
-
WTException
PropertyVetoException
public HttpContentOperation waitForStatus(HttpContentOperation op) throws PropertyVetoException, ContentException, InterruptedException, WTException
op
-
PropertyVetoException
ContentException
InterruptedException
WTException
HttpOperationStatus
public HttpOperationItem waitForStatus(HttpOperationItem opItem) throws PropertyVetoException, ContentException, InterruptedException, WTException
opItem
-
PropertyVetoException
ContentException
InterruptedException
WTException
HttpOperationStatus
public Vector getFormatNames() throws WTException
WTException
public ContentHolder getContents(ContentHolder holder) throws WTException, PropertyVetoException
holder
-
WTException
PropertyVetoException
public HttpContentOperation getHttpContentOperationStatuses(HttpContentOperation operation) throws WTException, PropertyVetoException
operation
-
WTException
PropertyVetoException
public DataFormat getDataFormat(String idStr) throws WTException
idStr
-
WTException
ObjectIdentifier
public DataFormat getFormatByName(String formatName) throws WTException
formatName
-
WTException
public QueryResult getDataFormats() throws WTException
WTException
public ContentHolder contentUpdate(ContentHolder holder, TransactionContainer txnCntr) throws WTException, PropertyVetoException
holder
- txnCntr
-
WTException
PropertyVetoException
TransactionContainer
public ContentHolder contentUpdateUpload(ContentHolder holder, TransactionContainer txnCntr) throws WTException, PropertyVetoException
holder
- txnCntr
-
WTException
PropertyVetoException
TransactionContainer
,
HttpContentOperation
,
ApplicationData
public ContentHolder contentUpdateDownload(ContentHolder holder, TransactionContainer txnCntr) throws WTException, PropertyVetoException
holder
- txnCntr
-
WTException
PropertyVetoException
TransactionContainer
,
HttpContentOperation
,
ApplicationData
public ApplicationData updateAppData(ContentHolder holder, ApplicationData appData) throws WTException, PropertyVetoException
holder
- appData
-
WTException
PropertyVetoException
public ContentItem getPrimary(FormatContentHolder holder) throws WTException, PropertyVetoException
holder
-
WTException
PropertyVetoException
public ContentHolder copyContent(ContentHolder copyFrom, ContentHolder copyTo) throws WTException, PropertyVetoException
copyFrom
- copyTo
-
WTException
PropertyVetoException
public ContentItem copyContentItem(ContentHolder holder, ContentItem item) throws WTException, PropertyVetoException
holder
- item
-
WTException
PropertyVetoException
public QueryResult getContentsByRole(ContentHolder holder, ContentRoleType role) throws WTException
holder
- role
-
WTException
public ApplicationData getThumbnail(ContentHolder contentHolder) throws WTException
contentHolder
-
WTException
public HashMap getContents(HashMap holders) throws WTException, PropertyVetoException
holders
-
WTException
PropertyVetoException
public ApplicationData get3DThumbnail(ContentHolder contentHolder) throws WTException
contentHolder
-
WTException
public ContentItem getPrimaryContent(ObjectReference formatContentHolderRef) throws WTException
formatContentHolderRef
-
WTException
public WTKeyedMap getContentsByRole(WTSet holderSet, ContentRoleType role) throws WTException
holderSet
- role
-
WTException
public void copyContent(WTKeyedMap old2newMapping) throws WTException, PropertyVetoException
old2newMapping
-
WTException
PropertyVetoException
public void copyContentItemsNoRoleCheck(WTKeyedMap holderToItemMap) throws WTException, PropertyVetoException
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 |