Oracle

com.compoze.collab.exchange
Interface IAccessControl


public interface IAccessControl

IAccessControl is the basis for maintaining Access Control about an item.


Method Summary
 IAccessEntry addEntry(IExchangeAddressEntry address)
          Adds an entry to the permissions list.
 IAccessEntry[] getEntries()
          Gets an unmodifiable list of the entries for the access manager.
 void removeEntry(IAccessEntry entry)
          Removes the permissions.
 

Method Detail

addEntry

IAccessEntry addEntry(IExchangeAddressEntry address)
                      throws CollaborationException
Adds an entry to the permissions list.

Parameters:
address - the address entry to set the permission
Returns:
the permission entry, or null if the entry could not be created.
Throws:
CollaborationException - if there was an error adding the entry

removeEntry

void removeEntry(IAccessEntry entry)
Removes the permissions.

Parameters:
entry - the entry to remove

getEntries

IAccessEntry[] getEntries()
Gets an unmodifiable list of the entries for the access manager. Each item of the array is an instance of IAccessEntry.

Returns:
an array of entries

Oracle

Copyright ©1999-2008 Oracle All rights reserved.