Class AttachmentRef
- java.lang.Object
-
- org.silverpeas.core.contribution.attachment.notification.AttachmentRef
-
- All Implemented Interfaces:
Serializable
public class AttachmentRef extends Object implements Serializable
It represents a reference to an attachment that was either created, updated or deleted. The attachment is represented by aorg.silverpeas.core.contribution.attachment.model.SimpleDocument
instance. Instead of a such instance to be transmitted within a notification, it is a reference to it, more simple and independent of other specific properties.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AttachmentRef()
AttachmentRef(SimpleDocument document)
Constructs a new attachment reference referring the specified document.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getForeignId()
String
getId()
String
getInstanceId()
String
getName()
long
getOldSilverpeasId()
String
getUserId()
boolean
isVersioned()
-
-
-
Constructor Detail
-
AttachmentRef
protected AttachmentRef()
-
AttachmentRef
public AttachmentRef(SimpleDocument document)
Constructs a new attachment reference referring the specified document.- Parameters:
document
- a document.
-
-