Project Wonder 5.0

er.attachment
Interface ERAttachmentRequestHandler.Delegate

Enclosing class:
ERAttachmentRequestHandler

public static interface ERAttachmentRequestHandler.Delegate

The delegate definition for this request handler.


Method Summary
 boolean attachmentVisible(ERAttachment attachment, com.webobjects.appserver.WORequest request, com.webobjects.appserver.WOContext context)
          Called prior to displaying a proxied attachment to a user and can be used to implement security on top of attachments.
 

Method Detail

attachmentVisible

boolean attachmentVisible(ERAttachment attachment,
                          com.webobjects.appserver.WORequest request,
                          com.webobjects.appserver.WOContext context)
Called prior to displaying a proxied attachment to a user and can be used to implement security on top of attachments.

Parameters:
attachment - the attachment that was requested
request - the current request
context - the current context
Returns:
true if the current user is allowed to view this attachment

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.