com.silverpeas.attachment.web
Class AttachmentEntity
java.lang.Object
com.silverpeas.attachment.web.AttachmentEntity
- All Implemented Interfaces:
- Exposable, Serializable
public class AttachmentEntity
- 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 |
AttachmentEntity
public AttachmentEntity()
fromAttachment
public static AttachmentEntity fromAttachment(SimpleDocument detail)
withURI
public AttachmentEntity 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.
withSharedUri
public void withSharedUri(String baseURI,
String token)
withUri
public void withUri(String baseURI)
Copyright © 2016 Silverpeas. All Rights Reserved.