org.openpermis.editor.policy.presenter
Class PolicyProblemReporter

java.lang.Object
  extended by org.openpermis.editor.policy.presenter.PolicyProblemReporter
All Implemented Interfaces:
org.openpermis.policy.PartProblemReporter

public class PolicyProblemReporter
extends Object
implements org.openpermis.policy.PartProblemReporter

ProblemReporter Handling for a policy presenter.

Since:
0.1.0

Nested Class Summary
private  class PolicyProblemReporter.PartProblem
           
 
Nested classes/interfaces inherited from interface org.openpermis.policy.PartProblemReporter
org.openpermis.policy.PartProblemReporter.ProblemMessage
 
Field Summary
(package private)  org.jdesktop.observablecollections.ObservableList<PolicyProblemReporter.PartProblem> reports
           
 
Constructor Summary
PolicyProblemReporter()
           
 
Method Summary
 void clear()
           
 String renderString(org.jdesktop.application.ResourceMap resourceMap)
          Returns a textual description of the reported problems.
 void reportProblem(org.openpermis.policy.Part part, org.openpermis.policy.PartProblemReporter.ProblemMessage message, Object... parameters)
          Reports an integrity violation of a part.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reports

org.jdesktop.observablecollections.ObservableList<PolicyProblemReporter.PartProblem> reports
Constructor Detail

PolicyProblemReporter

public PolicyProblemReporter()
Since:
0.1.0
Method Detail

clear

public void clear()
Since:
0.1.0

renderString

public String renderString(org.jdesktop.application.ResourceMap resourceMap)
Returns a textual description of the reported problems.

Since:
0.1.0

reportProblem

public void reportProblem(org.openpermis.policy.Part part,
                          org.openpermis.policy.PartProblemReporter.ProblemMessage message,
                          Object... parameters)
Reports an integrity violation of a part.

Specified by:
reportProblem in interface org.openpermis.policy.PartProblemReporter
Parameters:
part - the part affected.
message - the message describing the type of violation.
parameters - additional details about the type of violation.
Since:
0.1.0


PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:48
Copyright (c) 2002-2007 Ergon Informatik AG