public interface RestrictionActionCreateContext
CmsRestrictionActionDefinition.
Note: DefaultRestrictionActionCreateContext.| Modifier and Type | Method and Description |
|---|---|
TypedObject |
getAltComponent()
Returns current component reference that is attached with this context.
|
java.lang.Object |
getAttribute(java.lang.String attribute)
This method allows us to retrieve some additional (custom) attributes.
|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes()
Gets all additional attributes.
|
TypedObject |
getComponentReference()
Returns alternative component reference that is attached with this context.
|
TypedObject |
getCurrentSegment()
Returns current segment that is attached with this context.
|
TypedObject |
getPageReference()
Returns current page reference that is attached with this context.
|
boolean |
isAddSegmentRestrToPage()
Checks whether segment restriction should be assigned to existing page.
|
boolean |
isAttachedToComponent()
Determines whether following informations are valid for component.
|
boolean |
isInverted()
Checks whether we should invert a restriction.
|
boolean |
isShowAltComponent() |
boolean |
isUseExistingRestrictions()
Checks whether we can use existing restrictions for personalized page.
|
boolean |
isVisibleForFulfilled()
Checks whether attached page or component should be visible for user that fulfilled current segment.
|
void |
removeAttribute(java.lang.String attribute)
Remove specified attribute.
|
void |
removeAttributes()
Removes all stored attributes.
|
void |
setAttribute(java.lang.String attribute,
java.lang.Object value)
Sets specified additional value.
|
boolean isAttachedToComponent()
java.lang.Object getAttribute(java.lang.String attribute)
attribute - additional attribute qualifierjava.util.Map<java.lang.String,java.lang.Object> getAttributes()
void removeAttributes()
void removeAttribute(java.lang.String attribute)
attribute - given attribute qualifiervoid setAttribute(java.lang.String attribute,
java.lang.Object value)
attribute - additional attribute qualifiervalue - additional valueTypedObject getCurrentSegment()
boolean isUseExistingRestrictions()
boolean isAddSegmentRestrToPage()
TypedObject getPageReference()
TypedObject getAltComponent()
boolean isInverted()
boolean isVisibleForFulfilled()
TypedObject getComponentReference()
boolean isShowAltComponent()
Copyright © 2018 SAP SE. All Rights Reserved.