|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.editor.policy.view.LoadProblemRecorder
public class LoadProblemRecorder
Records import problems and shows warning messages.
Constructor Summary | |
---|---|
LoadProblemRecorder(ApplicationContext context)
Creates a new problem reporter for import problems. |
Method Summary | |
---|---|
boolean |
hasWarnings()
Tests if there have been any warnings during the import. |
void |
reportProblem(org.openpermis.policy.io.ProblemType type,
Object... parameters)
|
void |
showDialog(Component owner,
File file)
Shows a warning dialog with detail messages for the specified file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoadProblemRecorder(ApplicationContext context)
context
- the context used to retrieve translations.Method Detail |
---|
public boolean hasWarnings()
true
if a warning was recorded, false
otherwise.public void showDialog(Component owner, File file)
owner
- the owner of the dialog to display.file
- the file for which to show the warnings.public void reportProblem(org.openpermis.policy.io.ProblemType type, Object... parameters)
reportProblem
in interface org.openpermis.policy.io.ProblemReporter
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG