org.silverpeas.attachment.web
Class SimpleDocumentEntity
java.lang.Object
org.silverpeas.attachment.web.SimpleDocumentEntity
- All Implemented Interfaces:
- Exposable, Serializable
public class SimpleDocumentEntity
- extends Object
- implements Exposable
- Author:
- ehugonnet
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleDocumentEntity
public SimpleDocumentEntity()
fromAttachment
public static SimpleDocumentEntity fromAttachment(SimpleDocument document)
withURI
public SimpleDocumentEntity withURI(URI uri)
- Sets a URI to this entity. With this URI, it can then be accessed through the Web.
- Parameters:
uri
- the web entity URI.
- Returns:
- itself.
getURI
public URI getURI()
- Description copied from interface:
Exposable
- Gets the URI at which this resource is published and can be accessed.
- Specified by:
getURI
in interface Exposable
- Returns:
- the web resource URI.
getId
public String getId()
getInstanceId
public String getInstanceId()
getFileName
public String getFileName()
getDescription
public String getDescription()
getContentType
public String getContentType()
getCreationDate
public long getCreationDate()
getCreatedBy
public String getCreatedBy()
getUpdateDate
public long getUpdateDate()
getUpdatedBy
public String getUpdatedBy()
getSize
public long getSize()
getTitle
public String getTitle()
getLang
public String getLang()
getIcon
public String getIcon()
getPermalink
public String getPermalink()
getDownloadUrl
public String getDownloadUrl()
getComment
public String getComment()
getVersioned
public String getVersioned()
Copyright © 2016 Silverpeas. All Rights Reserved.