org.silverpeas.look.web
Class AbstractLookEntity<T extends AbstractLookEntity<T>>
java.lang.Object
org.silverpeas.look.web.AbstractLookEntity<T>
- All Implemented Interfaces:
- Exposable, Serializable
- Direct Known Subclasses:
- DisplayUserContextEntity
public abstract class AbstractLookEntity<T extends AbstractLookEntity<T>>
- extends Object
- implements Exposable
Web entity abstraction which provides the URI of the entity
- Author:
- Yohann Chastagnier
- See Also:
- Serialized Form
Method Summary |
URI |
getURI()
Gets the URI at which this resource is published and can be accessed. |
T |
withURI(URI uri)
Sets a URI to this entity. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractLookEntity
public AbstractLookEntity()
withURI
public T 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.
Copyright © 2016 Silverpeas. All Rights Reserved.