@Unstable public class EntityResource extends AbstractResource
| Constructor and Description |
|---|
EntityResource(EntityReference entityReference,
ActionId actionId) |
| Modifier and Type | Method and Description |
|---|---|
EntityReference |
getEntityReference() |
Locale |
getLocale() |
String |
getRevision() |
void |
setEntityReference(EntityReference entityReference) |
void |
setLocale(Locale locale) |
void |
setRevision(String revision) |
addParameter, getActionId, getParameters, getParameterValue, getParameterValues, getType, setActionId, setTypepublic EntityResource(EntityReference entityReference, ActionId actionId)
entityReference - the entity reference being wrappedactionId - the instance representing the technical Action id (e.g. View, Download, etc)public EntityReference getEntityReference()
public void setEntityReference(EntityReference entityReference)
entityReference - see getEntityReference()public void setLocale(Locale locale)
locale - see getLocale()public Locale getLocale()
public void setRevision(String revision)
revision - see getRevision()public String getRevision()
Copyright © 2004–2014 XWiki. All rights reserved.