org.openpermis.policy.bean
Interface TargetBean

All Superinterfaces:
Part, PartBean, Serializable, Target
All Known Implementing Classes:
BasicTarget

public interface TargetBean
extends Target, PartBean

A target combines a resource or a set of resources to be protected with a set of actions that are possible on these resources.

Since:
0.1.0

Method Summary
 ActionBeanCollection getActions()
          Returns an ActionBeanCollection.
 DomainBean getResourceDomain()
          Returns the resource domain of the resources protected by this target.
 void removeChild(ActionBean part)
          Deprecated. 
 void setActions(ActionBeanCollection actions)
          Sets the action collection of actions which can be performed on this target.
 void setResourceDomain(DomainBean resourceDomain)
          Sets the resource domain of the resources protected by this target.
 
Methods inherited from interface org.openpermis.policy.Target
findAction
 
Methods inherited from interface org.openpermis.policy.Part
equals, hashCode, isValid, toString
 
Methods inherited from interface org.openpermis.policy.bean.PartBean
addPropertyChangeListener, equalSerialNumber, findBySerialNumber, getPartBeanType, getSerialNumber, removePropertyChangeListener, toShortString
 
Methods inherited from interface org.openpermis.policy.Part
equals, hashCode, isValid, toString
 

Method Detail

getResourceDomain

DomainBean getResourceDomain()
Returns the resource domain of the resources protected by this target.

Returns:
the resource domain of the resources protected by this target.
Since:
0.1.0

setResourceDomain

void setResourceDomain(DomainBean resourceDomain)
Sets the resource domain of the resources protected by this target.

Parameters:
resourceDomain - the resource domain of the resources protected by this target.
Since:
0.1.0

getActions

ActionBeanCollection getActions()
Returns an ActionBeanCollection.

Returns:
an ActionBeanCollection.
Since:
0.3.0

setActions

void setActions(ActionBeanCollection actions)
Sets the action collection of actions which can be performed on this target.

Parameters:
actions - the action collection of actions which can be performed on this target.
Since:
0.3.0

removeChild

@Deprecated
void removeChild(ActionBean part)
Deprecated. 

Remove a child element.

Since:
0.1.0


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