wt.content
Interface Streamed

All Superinterfaces:
NetFactor, ObjectMappable, Persistable, Revaultable, Serializable, UniquelyIdentifiedContent
All Known Implementing Classes:
FvItem, MasteredOnReplicaItem, StreamData

public interface Streamed
extends Persistable, Revaultable, UniquelyIdentifiedContent



Supported API: false

Extendable: false


Field Summary
static String FILE_SIZE
          Label for the attribute.
 
Fields inherited from interface wt.fc.Persistable
IDENTITY, PERSIST_INFO, TYPE
 
Fields inherited from interface wt.fv.Revaultable
INITIAL_VALUE, REVAULT_SESSION_ID
 
Fields inherited from interface wt.fv.UniquelyIdentifiedContent
STREAM_ID
 
Method Summary
 long getFileSize()
          Gets the value of the attribute: FILE_SIZE.
 void removeStream()
          

Supported API: false
 InputStream retrieveStream()
          

Supported API: false
 void setFileSize(long a_FileSize)
          Sets the value of the attribute: FILE_SIZE.
 Streamed storeStream(ContentHolder holder, ApplicationData appData, InputStream is)
          

Supported API: false
 
Methods inherited from interface wt.fc.Persistable
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo
 
Methods inherited from interface wt.fc.ObjectMappable
readExternal, writeExternal
 
Methods inherited from interface wt.fc.NetFactor
getClassInfo, getConceptualClassname
 
Methods inherited from interface wt.fv.Revaultable
getRevaultSessionId, setRevaultSessionId
 
Methods inherited from interface wt.fv.UniquelyIdentifiedContent
getStreamId, setStreamId
 

Field Detail

FILE_SIZE

public static final String FILE_SIZE
Label for the attribute.

Supported API: false

See Also:
Constant Field Values
Method Detail

getFileSize

public long getFileSize()
Gets the value of the attribute: FILE_SIZE.

Supported API: false

Returns:
long

setFileSize

public void setFileSize(long a_FileSize)
Sets the value of the attribute: FILE_SIZE.

Supported API: false

Parameters:
a_FileSize -

storeStream

public Streamed storeStream(ContentHolder holder,
                            ApplicationData appData,
                            InputStream is)
                     throws WTException


Supported API: false

Parameters:
holder -
appData -
is -
Returns:
Streamed
Throws:
WTException

retrieveStream

public InputStream retrieveStream()
                           throws WTException


Supported API: false

Returns:
InputStream
Throws:
WTException

removeStream

public void removeStream()
                  throws WTException


Supported API: false

Throws:
WTException