org.kuali.rice.krad.demo.uif.controller
Class DemoInquiryViewPresentationController

java.lang.Object
  extended by org.kuali.rice.krad.uif.view.ViewPresentationControllerBase
      extended by org.kuali.rice.krad.inquiry.InquiryViewPresentationControllerBase
          extended by org.kuali.rice.krad.demo.uif.controller.DemoInquiryViewPresentationController
All Implemented Interfaces:
Serializable, ViewPresentationController

public class DemoInquiryViewPresentationController
extends InquiryViewPresentationControllerBase

Created with IntelliJ IDEA. User: jruch Date: 11/4/13 Time: 2:24 PM To change this template use File | Settings | File Templates.

See Also:
Serialized Form

Constructor Summary
DemoInquiryViewPresentationController()
           
 
Method Summary
 boolean canViewField(View view, ViewModel model, Field field, String propertyName)
          Determines if the given field within the view is allowed to be viewed
 boolean canViewGroup(View view, ViewModel model, Group group, String groupId)
           
 
Methods inherited from class org.kuali.rice.krad.inquiry.InquiryViewPresentationControllerBase
getActionFlags, isExportSupported
 
Methods inherited from class org.kuali.rice.krad.uif.view.ViewPresentationControllerBase
canEditField, canEditGroup, canEditLine, canEditLineField, canEditView, canEditWidget, canPerformAction, canPerformLineAction, canViewLine, canViewLineField, canViewWidget, fieldIsRequired, getEditModes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DemoInquiryViewPresentationController

public DemoInquiryViewPresentationController()
Method Detail

canViewField

public boolean canViewField(View view,
                            ViewModel model,
                            Field field,
                            String propertyName)
Description copied from interface: ViewPresentationController
Determines if the given field within the view is allowed to be viewed

Specified by:
canViewField in interface ViewPresentationController
Overrides:
canViewField in class ViewPresentationControllerBase
Parameters:
view - - view instance the field belongs to
model - - object containing the view data
field - - field instance to determine view authorization for
propertyName - - name of the property that field corresponds with (if field is data binding)
Returns:
boolean true if viewing of the field is allowed, false otherwise
See Also:
ViewPresentationController.canViewField(org.kuali.rice.krad.uif.view.View, org.kuali.rice.krad.uif.view.ViewModel, org.kuali.rice.krad.uif.field.Field, java.lang.String)

canViewGroup

public boolean canViewGroup(View view,
                            ViewModel model,
                            Group group,
                            String groupId)
Specified by:
canViewGroup in interface ViewPresentationController
Overrides:
canViewGroup in class ViewPresentationControllerBase
See Also:
ViewPresentationController.canViewGroup(org.kuali.rice.krad.uif.view.View, org.kuali.rice.krad.uif.view.ViewModel, org.kuali.rice.krad.uif.container.Group, java.lang.String)


Copyright © 2005–2015 The Kuali Foundation. All rights reserved.