Class AttachmentDetail
- java.lang.Object
-
- org.silverpeas.core.importexport.attachment.AttachmentDetail
-
- All Implemented Interfaces:
Serializable
public final class AttachmentDetail extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
IMPORT_UPDATE_RULE_ADD
static String
IMPORT_UPDATE_RULE_REPLACE
-
Constructor Summary
Constructors Constructor Description AttachmentDetail()
AttachmentDetail(SimpleDocument document, String physicalName)
-
Method Summary
-
-
-
Field Detail
-
IMPORT_UPDATE_RULE_ADD
public static final String IMPORT_UPDATE_RULE_ADD
- See Also:
- Constant Field Values
-
IMPORT_UPDATE_RULE_REPLACE
public static final String IMPORT_UPDATE_RULE_REPLACE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AttachmentDetail
public AttachmentDetail()
-
AttachmentDetail
public AttachmentDetail(SimpleDocument document, String physicalName)
-
-
Method Detail
-
getPK
public AttachmentPK getPK()
-
setPK
public void setPK(AttachmentPK pk)
-
getPhysicalName
public String getPhysicalName()
-
setPhysicalName
public void setPhysicalName(String physicalName)
-
getLogicalName
public String getLogicalName()
-
setLogicalName
public void setLogicalName(String logicalName)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getSize
public long getSize()
-
setSize
public void setSize(long size)
-
getCreationDate
public Date getCreationDate()
-
setCreationDate
public void setCreationDate(Date creationDate)
-
setContext
public void setContext(String context)
-
getContext
public String getContext()
-
setAuthor
public void setAuthor(String author)
-
getAuthor
public String getAuthor()
-
setTitle
public void setTitle(String title)
-
getTitle
public String getTitle()
-
setDescription
public void setDescription(String info)
-
getDescription
public String getDescription()
-
setInstanceId
public void setInstanceId(String instanceId)
-
getInstanceId
public String getInstanceId()
-
getAttachmentPath
public String getAttachmentPath()
Return the path to the attachment file.- Returns:
- the path to the attachment file.
-
getImportUpdateRule
public String getImportUpdateRule()
-
getXmlForm
public String getXmlForm()
-
setXmlForm
public void setXmlForm(String xmlForm)
-
getXMLModelContentType
public XMLModelContentType getXMLModelContentType()
-
isRemoveAfterImport
public boolean isRemoveAfterImport()
-
setRemoveAfterImport
public void setRemoveAfterImport(boolean removeAfterImport)
-
setOriginalPath
public void setOriginalPath(String originalPath)
-
getOriginalPath
public String getOriginalPath()
-
getMailContentID
public String getMailContentID()
-
setMailContentID
public void setMailContentID(String mailContentID)
-
-