com.silverpeas.thumbnail.control
Class ThumbnailDummyHandledFile

java.lang.Object
  extended by org.silverpeas.process.io.file.AbstractDummyHandledFile
      extended by com.silverpeas.thumbnail.control.ThumbnailDummyHandledFile
All Implemented Interfaces:
DummyHandledFile

public class ThumbnailDummyHandledFile
extends AbstractDummyHandledFile

User: Yohann Chastagnier Date: 25/10/13


Constructor Summary
ThumbnailDummyHandledFile(ThumbnailDetail thumbnail, File thumbnailFile)
           
ThumbnailDummyHandledFile(ThumbnailDetail thumbnail, File thumbnailFile, boolean deleted)
          Default constructor.
ThumbnailDummyHandledFile(ThumbnailDetail thumbnail, File thumbnailFile, WAPrimaryKey targetPK)
          Default constructor.
 
Method Summary
 String getComponentInstanceId()
          Gets the component instance id at which the virtual file is associated.
 String getMimeType()
          Gets the mime type of the virtual file.
 String getName()
          Gets the name of the virtual file.
 String getPath()
          Gets the path of the virtual file.
 long getSize()
          Gets the size of the virtual file (bytes).
 boolean isDeleted()
          Indicates if the virtual file is a deleted one.
 
Methods inherited from class org.silverpeas.process.io.file.AbstractDummyHandledFile
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThumbnailDummyHandledFile

public ThumbnailDummyHandledFile(ThumbnailDetail thumbnail,
                                 File thumbnailFile)

ThumbnailDummyHandledFile

public ThumbnailDummyHandledFile(ThumbnailDetail thumbnail,
                                 File thumbnailFile,
                                 WAPrimaryKey targetPK)
Default constructor.

Parameters:
thumbnail -
targetPK -

ThumbnailDummyHandledFile

public ThumbnailDummyHandledFile(ThumbnailDetail thumbnail,
                                 File thumbnailFile,
                                 boolean deleted)
Default constructor.

Parameters:
thumbnail -
deleted -
Method Detail

getComponentInstanceId

public String getComponentInstanceId()
Description copied from interface: DummyHandledFile
Gets the component instance id at which the virtual file is associated.

Returns:

getPath

public String getPath()
Description copied from interface: DummyHandledFile
Gets the path of the virtual file. In most of cases, this information is the same as the name one.

Returns:

getName

public String getName()
Description copied from interface: DummyHandledFile
Gets the name of the virtual file.

Returns:

getSize

public long getSize()
Description copied from interface: DummyHandledFile
Gets the size of the virtual file (bytes).

Returns:

getMimeType

public String getMimeType()
Description copied from interface: DummyHandledFile
Gets the mime type of the virtual file.


isDeleted

public boolean isDeleted()
Description copied from interface: DummyHandledFile
Indicates if the virtual file is a deleted one.

Specified by:
isDeleted in interface DummyHandledFile
Overrides:
isDeleted in class AbstractDummyHandledFile
Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.