public class EntityRequest extends AbstractCheckRightsRequest
| Constructor and Description |
|---|
EntityRequest() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getEntityParameters(org.xwiki.model.reference.EntityReference entityReference) |
Collection<org.xwiki.model.reference.EntityReference> |
getEntityReferences() |
String |
getJobType()
Deprecated.
since 9.2RC1, use
AbstractJobStatus.getJobType() instead |
boolean |
isDeep() |
void |
setDeep(boolean deep)
Sets whether the operation should target child entities also (i.e.
|
void |
setEntityParameters(org.xwiki.model.reference.EntityReference entityReference,
Map<String,String> entityParameters)
Associates custom parameters to a target entity.
|
void |
setEntityReferences(Collection<org.xwiki.model.reference.EntityReference> entityReferences)
Sets the collection of entity references that are targeted by this request.
|
void |
setJobType(String jobType)
Deprecated.
|
getAuthorReference, getUserReference, isCheckAuthorRights, isCheckRights, setAuthorReference, setCheckAuthorRights, setCheckRights, setUserReferencecontainsProperty, equals, getContext, getId, getProperties, getProperty, getProperty, getPropertyNames, hashCode, isInteractive, isRemote, isStatusLogIsolated, isStatusSerialized, isVerbose, removeProperty, setContext, setId, setId, setId, setInteractive, setProperty, setRemote, setStatusLogIsolated, setStatusSerialized, setVerbose@Deprecated public String getJobType()
AbstractJobStatus.getJobType() instead@Deprecated public void setJobType(String jobType)
jobType - the type of job that should perform this requestpublic Collection<org.xwiki.model.reference.EntityReference> getEntityReferences()
public void setEntityReferences(Collection<org.xwiki.model.reference.EntityReference> entityReferences)
entityReferences - a collection of entity referencespublic boolean isDeep()
true if the operation should target child entities also (i.e. go deep into the entity hierarchy),
false otherwisepublic void setDeep(boolean deep)
deep - true to include the child entities, false otherwisepublic Map<String,String> getEntityParameters(org.xwiki.model.reference.EntityReference entityReference)
entityReference - one of the entity references that are the target of this requestpublic void setEntityParameters(org.xwiki.model.reference.EntityReference entityReference,
Map<String,String> entityParameters)
entityReference - one of the target entitiesentityParameters - the custom parameters to associate to the specified target entityCopyright © 2004–2021 XWiki. All rights reserved.