Package nl.gx.webmanager.springmvc
Interface EditView
-
- All Known Implementing Classes:
WmEditView
public interface EditView
This class holds the interface of a WebManager specific view. The edit view contains a location (name of the Siteworks template or JSP) and a value. The value is the identifier of the view which can be overwritten by the registration of a second edit view with the same value.- Author:
- ivol
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getLocation()
Returns the jsp location or template name of the EditView.String
getValue()
Returns the identifying value of the EditView.boolean
isEmpty()
Returns true if this view is emptyboolean
isViewByJsp()
Returns true if the location contains a relative path to a jsp.boolean
isViewByTemplate()
Returns true if the location contains a template name.
-
-
-
Method Detail
-
getLocation
String getLocation()
Returns the jsp location or template name of the EditView.- Returns:
- the jsp location or template name of the EditView.
-
getValue
String getValue()
Returns the identifying value of the EditView.- Returns:
- the identifying value of the EditView.
-
isViewByTemplate
boolean isViewByTemplate()
Returns true if the location contains a template name.- Returns:
- true if the location contains a template name.
-
isViewByJsp
boolean isViewByJsp()
Returns true if the location contains a relative path to a jsp.- Returns:
- true if the location contains a relative path to a jsp.
-
isEmpty
boolean isEmpty()
Returns true if this view is empty- Returns:
- true if the view is empty, false otherwise
-
-