wt.representation
Interface RepresentationServiceSvr

All Known Implementing Classes:
StandardRepresentationService

public interface RepresentationServiceSvr

Representation service methods that can only be accessed from the server side.

Supported API: false

Extendable: false


Method Summary
 Representable copyThumbnail(Representable representable, Representation representation)
          Copies the thumbnail content item in the passed Representation, if any, to the passed Representable.
 ApplicationData store3DThumbnail(Representation representation, ApplicationData thumbnail, InputStream is)
          Store the thumbnail for the passed Representation.
 ApplicationData storeThumbnail(Representation representation, ApplicationData thumbnail, InputStream is)
          Store the thumbnail for the passed Representation.
 

Method Detail

storeThumbnail

public ApplicationData storeThumbnail(Representation representation,
                                      ApplicationData thumbnail,
                                      InputStream is)
                               throws WTException,
                                      PropertyVetoException,
                                      IOException,
                                      FileNotFoundException
Store the thumbnail for the passed Representation. Deletes any pre-existing thumbnails on the Representation. The attributes on the ApplicationData need to be set appropriately.

Supported API: false

Parameters:
representation -
thumbnail -
is -
Returns:
ApplicationData
Throws:
WTException
PropertyVetoException
IOException
FileNotFoundException

copyThumbnail

public Representable copyThumbnail(Representable representable,
                                   Representation representation)
                            throws WTException,
                                   PropertyVetoException
Copies the thumbnail content item in the passed Representation, if any, to the passed Representable. Any pre-existing thumbnail for the Representable is deleted, regardless of whether the passed Representation has a thumbnail.

Supported API: false

Parameters:
representable -
representation -
Returns:
Representable
Throws:
WTException
PropertyVetoException

store3DThumbnail

public ApplicationData store3DThumbnail(Representation representation,
                                        ApplicationData thumbnail,
                                        InputStream is)
                                 throws WTException,
                                        PropertyVetoException,
                                        IOException,
                                        FileNotFoundException
Store the thumbnail for the passed Representation. Deletes any pre-existing thumbnails on the Representation. The attributes on the ApplicationData need to be set appropriately.

Supported API: false

Parameters:
representation -
thumbnail -
is -
Returns:
ApplicationData
Throws:
WTException
PropertyVetoException
IOException
FileNotFoundException