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.SimpleDocumentinstance. 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 protectedAttachmentRef()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 StringgetForeignId()StringgetId()StringgetInstanceId()StringgetName()longgetOldSilverpeasId()StringgetUserId()booleanisVersioned()
-
-
-
Constructor Detail
-
AttachmentRef
protected AttachmentRef()
-
AttachmentRef
public AttachmentRef(SimpleDocument document)
Constructs a new attachment reference referring the specified document.- Parameters:
document- a document.
-
-