org.kuali.rice.krad.uif.lifecycle.model
Class ApplyAuthAndPresentationLogicTask

java.lang.Object
  extended by org.kuali.rice.krad.uif.lifecycle.ViewLifecycleTaskBase<Component>
      extended by org.kuali.rice.krad.uif.lifecycle.model.ApplyAuthAndPresentationLogicTask
All Implemented Interfaces:
Runnable, ViewLifecycleTask<Component>

public class ApplyAuthAndPresentationLogicTask
extends ViewLifecycleTaskBase<Component>

Apply authorization and presentation logic for the component.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
ApplyAuthAndPresentationLogicTask(ViewLifecyclePhase phase)
          Constructor.
 
Method Summary
protected  void performLifecycleTask()
          Invokes the view's configured ViewAuthorizer and ViewPresentationController to set state of the component
 
Methods inherited from class org.kuali.rice.krad.uif.lifecycle.ViewLifecycleTaskBase
getElementState, getElementType, run, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplyAuthAndPresentationLogicTask

public ApplyAuthAndPresentationLogicTask(ViewLifecyclePhase phase)
Constructor.

Parameters:
phase - The apply model phase for the component.
Method Detail

performLifecycleTask

protected void performLifecycleTask()
Invokes the view's configured ViewAuthorizer and ViewPresentationController to set state of the component

The following authorization is done here: Fields: edit, view, required, mask, and partial mask Groups: edit and view Actions: take action

Note additional checks are also done for fields that are part of a collection group. This authorization is found in CollectionGroupBuilder

Specified by:
performLifecycleTask in class ViewLifecycleTaskBase<Component>
See Also:
ViewLifecycleTaskBase.performLifecycleTask()


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