org.openpermis.examples.simple
Interface LetterboxService

All Known Implementing Classes:
AuthorizedLetterboxService, BasicLetterboxService

public interface LetterboxService

A letterbox can be used to insert and collect letters.

Since:
0.1.0

Method Summary
 List<String> collectLetters(String principal)
          Collect and discharge all letters contained in this letterbox.
 void insertLetter(String principal, String letter)
          Inserts a letter into this letterbox.
 

Method Detail

insertLetter

void insertLetter(String principal,
                  String letter)
                  throws LetterboxException
Inserts a letter into this letterbox.

Parameters:
principal - the principal executing this method.
letter - a letter to insert.
Throws:
LetterboxException
Since:
0.4.0

collectLetters

List<String> collectLetters(String principal)
                            throws LetterboxException
Collect and discharge all letters contained in this letterbox.

Parameters:
principal - the principal executing this method.
Throws:
LetterboxException
Since:
0.4.0


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:15:48
Copyright (c) 2002-2007 Ergon Informatik AG