Class PageRule
java.lang.Object
com.liferay.headless.delivery.dto.v1_0.PageRule
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PageRule.ConditionType
protected String
protected String
protected PageRuleAction[]
protected PageRuleCondition[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
@Valid PageRule.ConditionType
getId()
getName()
@Valid PageRuleAction[]
@Valid PageRuleCondition[]
int
hashCode()
void
setConditionType
(PageRule.ConditionType conditionType) void
setConditionType
(com.liferay.petra.function.UnsafeSupplier<PageRule.ConditionType, Exception> conditionTypeUnsafeSupplier) void
void
void
void
void
setPageRuleActions
(PageRuleAction[] pageRuleActions) void
setPageRuleActions
(com.liferay.petra.function.UnsafeSupplier<PageRuleAction[], Exception> pageRuleActionsUnsafeSupplier) void
setPageRuleConditions
(PageRuleCondition[] pageRuleConditions) void
setPageRuleConditions
(com.liferay.petra.function.UnsafeSupplier<PageRuleCondition[], Exception> pageRuleConditionsUnsafeSupplier) static PageRule
toString()
static PageRule
unsafeToDTO
(String json)
-
Field Details
-
conditionType
-
id
-
name
-
pageRuleActions
-
pageRuleConditions
-
xClassName
-
-
Constructor Details
-
PageRule
public PageRule()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getConditionType
-
getConditionTypeAsString
-
setConditionType
-
setConditionType
public void setConditionType(com.liferay.petra.function.UnsafeSupplier<PageRule.ConditionType, Exception> conditionTypeUnsafeSupplier) -
getId
-
setId
-
setId
-
getName
-
setName
-
setName
-
getPageRuleActions
-
setPageRuleActions
-
setPageRuleActions
public void setPageRuleActions(com.liferay.petra.function.UnsafeSupplier<PageRuleAction[], Exception> pageRuleActionsUnsafeSupplier) -
getPageRuleConditions
-
setPageRuleConditions
-
setPageRuleConditions
public void setPageRuleConditions(com.liferay.petra.function.UnsafeSupplier<PageRuleCondition[], Exception> pageRuleConditionsUnsafeSupplier) -
equals
-
hashCode
public int hashCode() -
toString
-