Interface EditActionBuilder
-
public interface EditActionBuilder
A builder that helps generate complete EditActions.The builder is acquired from
ContentQueryRow
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<ContentQueryAction>
build()
Returns an optional edit action built from parameters set on this builder.EditActionBuilder
onCloseCallback(String functionName)
Specify that the form opened by the edit action shall call a specified javascript function when closing.EditActionBuilder
onCloseUrl(String URL)
Specify that the form opened by the edit action shall redirect to a specific URL when closing.
-
-
-
Method Detail
-
build
Optional<ContentQueryAction> build()
Returns an optional edit action built from parameters set on this builder. The returned Optional will be empty if the document cannot be edited.- Returns:
- an Optional
built from parameters set on this builder
-
onCloseCallback
EditActionBuilder onCloseCallback(String functionName)
Specify that the form opened by the edit action shall call a specified javascript function when closing.- Parameters:
functionName
- name of javascript function to call- Returns:
- this EditActionBuilder
-
onCloseUrl
EditActionBuilder onCloseUrl(String URL)
Specify that the form opened by the edit action shall redirect to a specific URL when closing.- Parameters:
URL
- URL to redirect to- Returns:
- this EditActionBuilder
-
-