Skip navigation links


com.fatwire.assetapi.data
Interface BlobObject

All Known Implementing Classes:
BlobObjectImpl

public interface BlobObject

This interface represents an attribute data of BLOB/URL type.


Nested Class Summary
static interface BlobObject.BlobAddress
          This interface represent the address information of a corresponding BlobObject.

 

Method Summary
 java.io.InputStream getBinaryStream()
          retrieves the binary related to this Binary Object
 BlobObject.BlobAddress getBlobAddress()
          Returns the db address for a given blob object.
 java.lang.String getFilename()
          Gets the filename related to this binary object
 java.lang.String getFoldername()
          Gets the foler name of the binary Object; the value returned is the absolute path of where the blob/binary is stored
 java.util.List<WebReference> getWebReferences()
          Gets the WebReference related to this binary object
 void setBinaryData(byte[] bytes)
          sets the binary related to this Binary Object
 void setFilename(java.lang.String filename)
          Sets the filename related to this binary object
 void setFoldername(java.lang.String foldername)
          Sets the foler name of the binary Object; the value returned is the absolute path of where the blob/binary is stored
 void setWebReferences(java.util.List<WebReference> webReference)
          Sets the WebReference related to this binary object

 

Method Detail

getFilename

java.lang.String getFilename()
Gets the filename related to this binary object
Returns:
String the filename

setFilename

void setFilename(java.lang.String filename)
Sets the filename related to this binary object
Parameters:
filename - the fileName

getFoldername

java.lang.String getFoldername()
Gets the foler name of the binary Object; the value returned is the absolute path of where the blob/binary is stored
Returns:
String folder name

setFoldername

void setFoldername(java.lang.String foldername)
Sets the foler name of the binary Object; the value returned is the absolute path of where the blob/binary is stored
Parameters:
foldername - folder name

getBinaryStream

java.io.InputStream getBinaryStream()
retrieves the binary related to this Binary Object
Returns:
InputStream of the binary

setBinaryData

void setBinaryData(byte[] bytes)
sets the binary related to this Binary Object
Parameters:
bytes - the binary

getWebReferences

java.util.List<WebReference> getWebReferences()
Gets the WebReference related to this binary object
Returns:
webReference the WebReference

setWebReferences

void setWebReferences(java.util.List<WebReference> webReference)
Sets the WebReference related to this binary object
Parameters:
WebReference - the webReference

getBlobAddress

BlobObject.BlobAddress getBlobAddress()
Returns the db address for a given blob object. For basic asset, it usually points to a row in the primary table of the asset type. For flex asset, it is a row in MungoBlob table
Returns:
the table name, identifier(normally id) and column name of where the blob object is hold in database

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.