info.informatica.ui
Interface ViewSecurity

All Superinterfaces:
info.informatica.doc.xml.XMLPrintable
All Known Implementing Classes:
ViewSecurityMap

public interface ViewSecurity
extends info.informatica.doc.xml.XMLPrintable

Security settings of the DataView.

Version:
2.00
Author:
amengual at informatica dot info

Method Summary
 void addOperationPermission(String opname, String role)
          Allow a role to perform an operation.
 Set<Role> getAllowedRoles(String opname)
          Gets the set of roles allowed to perform the given operation through the form.
 String getName()
          Gets the name of the data view to which this security settings apply.
 void resetPermissions(String opname)
          Reset all permissions to perform an operation.
 
Methods inherited from interface info.informatica.doc.xml.XMLPrintable
getXMLNamespaceURI, printXML, printXML, toXML
 

Method Detail

getName

String getName()
Gets the name of the data view to which this security settings apply.

Returns:
the name of the view.

addOperationPermission

void addOperationPermission(String opname,
                            String role)
Allow a role to perform an operation.

Parameters:
opname - name of the operation.
role - the role allowed to perform the operation through this view.

resetPermissions

void resetPermissions(String opname)
Reset all permissions to perform an operation.

Parameters:
opname - name of the operation.

getAllowedRoles

Set<Role> getAllowedRoles(String opname)
Gets the set of roles allowed to perform the given operation through the form.

Returns:
the set of roles allowed to perform the operation through the form, and empty Set if all roles are allowed, or null if no roles are allowed.