org.kuali.rice.kew.notes
Class CustomNoteAttributeImpl

java.lang.Object
  extended by org.kuali.rice.kew.notes.CustomNoteAttributeImpl
All Implemented Interfaces:
CustomNoteAttribute

public class CustomNoteAttributeImpl
extends Object
implements CustomNoteAttribute

Default implementation of the CustomNoteAttribute.

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

Field Summary
private  RouteHeaderDTO routeHeaderVO
           
private  UserSession userSession
           
 
Constructor Summary
CustomNoteAttributeImpl()
           
 
Method Summary
 RouteHeaderDTO getRouteHeaderVO()
           
 UserSession getUserSession()
           
 boolean isAuthorizedToAddNotes()
           
 boolean isAuthorizedToEditNote(Note note)
          By default the individual who authored the note is the only one allowed to edit it.
 void setRouteHeaderVO(RouteHeaderDTO routeHeaderVO)
           
 void setUserSession(UserSession userSession)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

routeHeaderVO

private RouteHeaderDTO routeHeaderVO

userSession

private UserSession userSession
Constructor Detail

CustomNoteAttributeImpl

public CustomNoteAttributeImpl()
Method Detail

isAuthorizedToAddNotes

public boolean isAuthorizedToAddNotes()
                               throws Exception
Specified by:
isAuthorizedToAddNotes in interface CustomNoteAttribute
Throws:
Exception

isAuthorizedToEditNote

public boolean isAuthorizedToEditNote(Note note)
                               throws Exception
By default the individual who authored the note is the only one allowed to edit it.

Specified by:
isAuthorizedToEditNote in interface CustomNoteAttribute
Throws:
Exception

getRouteHeaderVO

public RouteHeaderDTO getRouteHeaderVO()
Specified by:
getRouteHeaderVO in interface CustomNoteAttribute

setRouteHeaderVO

public void setRouteHeaderVO(RouteHeaderDTO routeHeaderVO)
Specified by:
setRouteHeaderVO in interface CustomNoteAttribute

getUserSession

public UserSession getUserSession()
Specified by:
getUserSession in interface CustomNoteAttribute

setUserSession

public void setUserSession(UserSession userSession)
Specified by:
setUserSession in interface CustomNoteAttribute


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.