@Generated(value="")
public class PageRule
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
PageRule.ConditionType |
Modifier and Type | Field and Description |
---|---|
protected PageRule.ConditionType |
conditionType |
protected java.lang.String |
id |
protected java.lang.String |
name |
protected PageRuleAction[] |
pageRuleActions |
protected PageRuleCondition[] |
pageRuleConditions |
java.lang.String |
xClassName |
Constructor and Description |
---|
PageRule() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
@Valid PageRule.ConditionType |
getConditionType() |
java.lang.String |
getConditionTypeAsString() |
java.lang.String |
getId() |
java.lang.String |
getName() |
@Valid PageRuleAction[] |
getPageRuleActions() |
@Valid PageRuleCondition[] |
getPageRuleConditions() |
int |
hashCode() |
void |
setConditionType(PageRule.ConditionType conditionType) |
void |
setConditionType(com.liferay.petra.function.UnsafeSupplier<PageRule.ConditionType,java.lang.Exception> conditionTypeUnsafeSupplier) |
void |
setId(java.lang.String id) |
void |
setId(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> idUnsafeSupplier) |
void |
setName(java.lang.String name) |
void |
setName(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> nameUnsafeSupplier) |
void |
setPageRuleActions(PageRuleAction[] pageRuleActions) |
void |
setPageRuleActions(com.liferay.petra.function.UnsafeSupplier<PageRuleAction[],java.lang.Exception> pageRuleActionsUnsafeSupplier) |
void |
setPageRuleConditions(PageRuleCondition[] pageRuleConditions) |
void |
setPageRuleConditions(com.liferay.petra.function.UnsafeSupplier<PageRuleCondition[],java.lang.Exception> pageRuleConditionsUnsafeSupplier) |
static PageRule |
toDTO(java.lang.String json) |
java.lang.String |
toString() |
static PageRule |
unsafeToDTO(java.lang.String json) |
protected PageRule.ConditionType conditionType
protected java.lang.String id
protected java.lang.String name
protected PageRuleAction[] pageRuleActions
protected PageRuleCondition[] pageRuleConditions
public java.lang.String xClassName
public static PageRule toDTO(java.lang.String json)
public static PageRule unsafeToDTO(java.lang.String json)
@Valid public @Valid PageRule.ConditionType getConditionType()
public java.lang.String getConditionTypeAsString()
public void setConditionType(PageRule.ConditionType conditionType)
public void setConditionType(com.liferay.petra.function.UnsafeSupplier<PageRule.ConditionType,java.lang.Exception> conditionTypeUnsafeSupplier)
public java.lang.String getId()
public void setId(java.lang.String id)
public void setId(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> idUnsafeSupplier)
public java.lang.String getName()
public void setName(java.lang.String name)
public void setName(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> nameUnsafeSupplier)
@Valid public @Valid PageRuleAction[] getPageRuleActions()
public void setPageRuleActions(PageRuleAction[] pageRuleActions)
public void setPageRuleActions(com.liferay.petra.function.UnsafeSupplier<PageRuleAction[],java.lang.Exception> pageRuleActionsUnsafeSupplier)
@Valid public @Valid PageRuleCondition[] getPageRuleConditions()
public void setPageRuleConditions(PageRuleCondition[] pageRuleConditions)
public void setPageRuleConditions(com.liferay.petra.function.UnsafeSupplier<PageRuleCondition[],java.lang.Exception> pageRuleConditionsUnsafeSupplier)
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object