|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.gx.webmanager.springmvc.view.WmEditView
public class WmEditView
Contains a reference to a form view for a component.
| Constructor Summary | |
|---|---|
WmEditView(java.lang.String viewLocation)
Constructor for an EditView that sets the jsp location. |
|
WmEditView(java.lang.String viewLocation,
java.lang.String viewValue)
Constructor for an EditView that sets the jsp location and fills in an identifying value. |
|
WmEditView(java.lang.String viewLocation,
java.lang.String viewValue,
boolean isTemplateView)
Constructor for an EditView that sets the either the jsp location or the template name and fills in an identifying value. |
|
| 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. |
void |
setLocation(java.lang.String location)
default setter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WmEditView(java.lang.String viewLocation)
viewLocation - Relative path to the jsp
public WmEditView(java.lang.String viewLocation,
java.lang.String viewValue)
viewLocation - Relative path to the jsp. This may be null, in which case the view is assumed to be 'empty'viewValue - Identifying value for EditView
public WmEditView(java.lang.String viewLocation,
java.lang.String viewValue,
boolean isTemplateView)
viewLocation - Relative path to the jspviewValue - Identifying value for EditViewisTemplate - When true the location is the name of a template| Method Detail |
|---|
public java.lang.String getLocation()
getLocation in interface EditViewpublic void setLocation(java.lang.String location)
location - jsp location or template name of the EditViewpublic java.lang.String getValue()
getValue in interface EditViewpublic boolean isViewByTemplate()
isViewByTemplate in interface EditViewpublic boolean isViewByJsp()
isViewByJsp in interface EditViewpublic boolean isEmpty()
isEmpty in interface EditView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||