Class UploadItem
- java.lang.Object
-
- org.silverpeas.components.silvercrawler.control.UploadItem
-
public class UploadItem extends Object
This class is the result of a dragNDrop of folders and path in SilverCrawler.- Author:
- Ludovic Bertin
-
-
Constructor Summary
Constructors Constructor Description UploadItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IOExceptiongetCopyFailedException()intgetId()FilegetRelativePath()booleanisCopyFailed()booleanisItemAlreadyExists()booleanisReplace()voidsetCopyFailed(IOException e)voidsetCopyFailedException(IOException copyFailedException)voidsetFileName(String fileName)voidsetId(int id)voidsetItemAlreadyExists(boolean itemAlreadyExists)voidsetParentRelativePath(File parentRelativePath)voidsetReplace(boolean replace)
-
-
-
Method Detail
-
getId
public int getId()
- Returns:
- the id
-
setId
public void setId(int id)
- Parameters:
id- the id to set
-
setFileName
public void setFileName(String fileName)
-
getRelativePath
public File getRelativePath()
-
setParentRelativePath
public void setParentRelativePath(File parentRelativePath)
-
isItemAlreadyExists
public boolean isItemAlreadyExists()
-
setItemAlreadyExists
public void setItemAlreadyExists(boolean itemAlreadyExists)
-
isReplace
public boolean isReplace()
-
setReplace
public void setReplace(boolean replace)
-
setCopyFailed
public void setCopyFailed(IOException e)
-
isCopyFailed
public boolean isCopyFailed()
-
getCopyFailedException
public IOException getCopyFailedException()
-
setCopyFailedException
public void setCopyFailedException(IOException copyFailedException)
-
-