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)

Constructor Summary
CustomNoteAttributeImpl()
           
 
Method Summary
 Document 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.
 boolean isAuthorizedToRetrieveAttachments()
           
 void setRouteHeaderVO(Document routeHeaderVO)
           
 void setUserSession(UserSession userSession)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 Document getRouteHeaderVO()
Specified by:
getRouteHeaderVO in interface CustomNoteAttribute

setRouteHeaderVO

public void setRouteHeaderVO(Document 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

isAuthorizedToRetrieveAttachments

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


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.