Interface IContentStore
- All Superinterfaces:
IContentSource
IContentStore - Interface for a single content object. Defines functions to
operate with that content. IContentStore is heavily used with
IContentService
service-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets flag indicating Inso conversionlong
Find the length of the object in bytesGets thing ID for this content objectvoid
setInputStream
(InputStream input) Sets input stream for this content object to read data fromvoid
setInsoConvert
(boolean value) Sets flag indicating Inso conversionvoid
setLength
(long length) Sets a length of the content object in bytesvoid
setMimeType
(String value) Sets mime type for the contentvoid
setThingId
(IThingID value) Sets thing ID for this content objectMethods inherited from interface com.webmethods.portal.service.content.IContentSource
getInputStream, getMimeType, release
-
Method Details
-
setInputStream
Sets input stream for this content object to read data from- Parameters:
input
- InputStream
-
setMimeType
Sets mime type for the content- Parameters:
value
- mime type for this content object. SeeMimeUtil
for mime types transformations
-
getLength
long getLength()Find the length of the object in bytes- Returns:
- length
-
setLength
void setLength(long length) Sets a length of the content object in bytes- Parameters:
length
- to set
-
getThingId
IThingID getThingId()Gets thing ID for this content object- Returns:
- thing ID
-
setThingId
Sets thing ID for this content object- Parameters:
value
- thing ID
-
getInsoConvert
boolean getInsoConvert()Gets flag indicating Inso conversion- Returns:
- Inso conversion flag - 'true' or 'false'
-
setInsoConvert
void setInsoConvert(boolean value) Sets flag indicating Inso conversion- Parameters:
value
- inso conversion flag
-