Class PageSubscriptionContext
java.lang.Object
org.ametys.plugins.pagesubscription.context.SubscriptionContext
org.ametys.plugins.pagesubscription.context.PageSubscriptionContext
Class to represent a context for
PageSubscriptionType
-
Field Summary
FieldsFields inherited from class org.ametys.plugins.pagesubscription.context.SubscriptionContext
_contextParameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPage()
Get the pagestatic PageSubscriptionContext
Creates a new instance of aPageSubscriptionContext
Add a page to the contextMethods inherited from class org.ametys.plugins.pagesubscription.context.SubscriptionContext
addParameter, addParameters, getParameterValue
-
Field Details
-
_page
The page
-
-
Constructor Details
-
PageSubscriptionContext
protected PageSubscriptionContext()Creates a new instance of aPageSubscriptionContext
-
-
Method Details
-
newInstance
Creates a new instance of aPageSubscriptionContext
- Returns:
- the created instance
-
withPage
Add a page to the context- Parameters:
page
- the pgae- Returns:
- the context
-
getPage
Get the page- Returns:
- the page
-