org.openpermis.editor.policy.view.component
Interface Chooser

All Known Subinterfaces:
IdentityFinderComponent, SubjectFinderComponent
All Known Implementing Classes:
AbstractLdapFinderComponent, ConfiguredIdentityFinderComponent, ConfiguredSubjectFinderComponent, FileSubjectFinderComponent, HardCodedIdentityFinderComponent, LdapIdentityFinderComponent, LdapSubjectFinderComponent

public interface Chooser

Since:
0.9.0

Method Summary
 String getInfo()
          Returns human readable information about the state of this component that can be displayed in a text field.
 boolean isChoosable()
          Returns false if nothing can be chosen.
 boolean isPrepared()
          Returns if this component is prepared.
 void show(Component parent)
          Starts the chooser.
 

Method Detail

isChoosable

boolean isChoosable()
Returns false if nothing can be chosen. E.g. all informations are retrieved from a configuration and no graphical should be drawn.

Since:
0.9.0

isPrepared

boolean isPrepared()
Returns if this component is prepared. A component is prepared if it has all necessary information to create a mutable subject finder.

Returns:
true if this component is prepared.
Since:
0.9.0

show

void show(Component parent)
Starts the chooser.

Parameters:
parent - the parent component of the dialog.
Since:
0.9.0

getInfo

String getInfo()
Returns human readable information about the state of this component that can be displayed in a text field.

Since:
0.9.0


OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG