Class SimpleDocumentUploadData
- java.lang.Object
-
- org.silverpeas.core.web.attachment.SimpleDocumentUploadData
-
public class SimpleDocumentUploadData extends Object
-
-
Constructor Summary
Constructors Constructor Description SimpleDocumentUploadData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SimpleDocumentUploadData
decode(HttpRequest request)
Decodes the request parameters in order to return aSimpleDocumentUploadData
instance.String
getComment()
String
getContext()
String
getDescription()
Optional<DocumentTemplate>
getDocumentTemplate()
String
getForeignId()
boolean
getIndexIt()
String
getLanguage()
RequestFile
getRequestFile()
String
getTitle()
Integer
getVersionType()
String
getXRequestedWith()
-
-
-
Method Detail
-
decode
public static SimpleDocumentUploadData decode(HttpRequest request)
Decodes the request parameters in order to return aSimpleDocumentUploadData
instance.- Parameters:
request
- theHttpRequest
wrapper that handle efficiently all parameters, included those of multipart request type.- Returns:
- a
SimpleDocumentUploadData
instance.
-
getRequestFile
public RequestFile getRequestFile()
- See Also:
requestFile
-
getXRequestedWith
public String getXRequestedWith()
- See Also:
xRequestedWith
-
getDocumentTemplate
public Optional<DocumentTemplate> getDocumentTemplate()
- See Also:
documentTemplateId
-
getDescription
public String getDescription()
- See Also:
description
-
getIndexIt
public boolean getIndexIt()
- See Also:
indexIt
-
getVersionType
public Integer getVersionType()
- See Also:
versionType
-
-