Package com.enonic.xp.content
Class UpdateContentParams
- java.lang.Object
-
- com.enonic.xp.content.UpdateContentParams
-
@Beta public final class UpdateContentParams extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description UpdateContentParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateContentParams
clearAttachments(boolean clearAttachments)
UpdateContentParams
contentId(ContentId contentId)
UpdateContentParams
createAttachments(CreateAttachments value)
UpdateContentParams
editor(ContentEditor editor)
boolean
equals(java.lang.Object o)
ContentId
getContentId()
CreateAttachments
getCreateAttachments()
ContentEditor
getEditor()
PrincipalKey
getModifier()
BinaryReferences
getRemoveAttachments()
int
hashCode()
boolean
isClearAttachments()
boolean
isRequireValid()
UpdateContentParams
modifier(PrincipalKey modifier)
UpdateContentParams
removeAttachments(BinaryReferences removeAttachments)
UpdateContentParams
requireValid(boolean value)
void
validate()
-
-
-
Method Detail
-
editor
public UpdateContentParams editor(ContentEditor editor)
-
contentId
public UpdateContentParams contentId(ContentId contentId)
-
modifier
public UpdateContentParams modifier(PrincipalKey modifier)
-
createAttachments
public UpdateContentParams createAttachments(CreateAttachments value)
-
requireValid
public UpdateContentParams requireValid(boolean value)
-
removeAttachments
public UpdateContentParams removeAttachments(BinaryReferences removeAttachments)
-
clearAttachments
public UpdateContentParams clearAttachments(boolean clearAttachments)
-
validate
public void validate()
-
getEditor
public ContentEditor getEditor()
-
getModifier
public PrincipalKey getModifier()
-
getContentId
public ContentId getContentId()
-
getCreateAttachments
public CreateAttachments getCreateAttachments()
-
isRequireValid
public boolean isRequireValid()
-
getRemoveAttachments
public BinaryReferences getRemoveAttachments()
-
isClearAttachments
public boolean isClearAttachments()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-