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
 java.lang.String getLocation()
          Returns the jsp location or template name of the EditView.
 java.lang.String getValue()
          Returns the identifying value of the EditView.
 boolean isEmpty()
          Returns true if this view is empty
 boolean 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

java.lang.String getLocation()
Returns the jsp location or template name of the EditView.

Returns:
the jsp location or template name of the EditView.

getValue

java.lang.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


Copyright © 2007-2011 GX Software BV. All Rights Reserved.