public class ReplaceUserRequest extends EntityRequest
Constructor and Description |
---|
ReplaceUserRequest() |
Modifier and Type | Method and Description |
---|---|
org.xwiki.model.reference.DocumentReference |
getNewUserReference() |
org.xwiki.model.reference.DocumentReference |
getOldUserReference() |
boolean |
isReplaceDocumentAuthor() |
boolean |
isReplaceDocumentContentAuthor() |
boolean |
isReplaceDocumentCreator() |
void |
setNewUserReference(org.xwiki.model.reference.DocumentReference newUserRefernce)
Sets the user reference replacement.
|
void |
setOldUserReference(org.xwiki.model.reference.DocumentReference oldUserReference)
Sets the user reference to replace.
|
void |
setReplaceDocumentAuthor(boolean replace)
Sets whether to replace the author of existing pages.
|
void |
setReplaceDocumentContentAuthor(boolean replace)
Sets whether to replace the content author of existing pages.
|
void |
setReplaceDocumentCreator(boolean replace)
Sets whether to replace the creator of existing pages.
|
getEntityParameters, getEntityReferences, getJobType, isDeep, setDeep, setEntityParameters, setEntityReferences, setJobType
getAuthorReference, getUserReference, isCheckAuthorRights, isCheckRights, setAuthorReference, setCheckAuthorRights, setCheckRights, setUserReference
containsProperty, equals, getContext, getId, getProperties, getProperty, getProperty, getPropertyNames, hashCode, isInteractive, isRemote, isStatusLogIsolated, isStatusSerialized, isVerbose, removeProperty, setContext, setId, setId, setId, setInteractive, setProperty, setRemote, setStatusLogIsolated, setStatusSerialized, setVerbose
public void setOldUserReference(org.xwiki.model.reference.DocumentReference oldUserReference)
oldUserReference
- the user reference to replacepublic org.xwiki.model.reference.DocumentReference getOldUserReference()
public void setNewUserReference(org.xwiki.model.reference.DocumentReference newUserRefernce)
newUserRefernce
- the user reference replacementpublic org.xwiki.model.reference.DocumentReference getNewUserReference()
public void setReplaceDocumentAuthor(boolean replace)
replace
- true
to replace the page author, false
to preserve itpublic boolean isReplaceDocumentAuthor()
public void setReplaceDocumentContentAuthor(boolean replace)
replace
- true
to replace the page content author, false
to preserve itpublic boolean isReplaceDocumentContentAuthor()
public void setReplaceDocumentCreator(boolean replace)
replace
- true
to replace the page creator, false
to preserve itpublic boolean isReplaceDocumentCreator()
Copyright © 2004–2021 XWiki. All rights reserved.