Package com.enonic.xp.content
Class UpdateContentParams
- java.lang.Object
-
- com.enonic.xp.content.UpdateContentParams
-
@PublicApi public final class UpdateContentParams extends Object
-
-
Constructor Summary
Constructors Constructor Description UpdateContentParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description UpdateContentParamsclearAttachments(boolean clearAttachments)UpdateContentParamscontentId(ContentId contentId)UpdateContentParamscreateAttachments(CreateAttachments value)UpdateContentParamseditor(ContentEditor editor)booleanequals(Object o)ContentIdgetContentId()CreateAttachmentsgetCreateAttachments()ContentEditorgetEditor()PrincipalKeygetModifier()Deprecated.BinaryReferencesgetRemoveAttachments()inthashCode()booleanisClearAttachments()booleanisRequireValid()UpdateContentParamsmodifier(PrincipalKey modifier)Deprecated.UpdateContentParamsremoveAttachments(BinaryReferences removeAttachments)UpdateContentParamsrequireValid(boolean value)booleanstopInherit()UpdateContentParamsstopInherit(boolean stopInherit)voidvalidate()
-
-
-
Method Detail
-
editor
public UpdateContentParams editor(ContentEditor editor)
-
contentId
public UpdateContentParams contentId(ContentId contentId)
-
modifier
@Deprecated public UpdateContentParams modifier(PrincipalKey modifier)
Deprecated.
-
createAttachments
public UpdateContentParams createAttachments(CreateAttachments value)
-
requireValid
public UpdateContentParams requireValid(boolean value)
-
removeAttachments
public UpdateContentParams removeAttachments(BinaryReferences removeAttachments)
-
clearAttachments
public UpdateContentParams clearAttachments(boolean clearAttachments)
-
stopInherit
public UpdateContentParams stopInherit(boolean stopInherit)
-
validate
public void validate()
-
getEditor
public ContentEditor getEditor()
-
getModifier
@Deprecated public PrincipalKey getModifier()
Deprecated.
-
getContentId
public ContentId getContentId()
-
getCreateAttachments
public CreateAttachments getCreateAttachments()
-
isRequireValid
public boolean isRequireValid()
-
getRemoveAttachments
public BinaryReferences getRemoveAttachments()
-
isClearAttachments
public boolean isClearAttachments()
-
stopInherit
public boolean stopInherit()
-
-