org.openpermis.editor.policy.view
Interface PolicyHolder

All Known Implementing Classes:
PolicyView

public interface PolicyHolder

Owner of the policy presenter.

Since:
0.9.0

Method Summary
 boolean canReplacePolicyPresenter()
          Check if the current policy presenter can be replaces.
 void setPolicyPresenter(PolicyPresenter policyPresenter)
          Sets the policy presenter of this holder.
 

Method Detail

canReplacePolicyPresenter

boolean canReplacePolicyPresenter()
Check if the current policy presenter can be replaces.

Calling this method may trigger a save warning. Use it to determine if the presenter may be set prior to letting the user make choices about the policy to be loaded.

Returns:
true if the current policy presenter may be replaced, false otherwise.
Since:
0.9.0

setPolicyPresenter

void setPolicyPresenter(PolicyPresenter policyPresenter)
Sets the policy presenter of this holder.

Parameters:
policyPresenter - the presenter to set, null to discard the active presenter.
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