com.plumtree.server
Interface IPTDataSourceACLSyncProvider


public interface IPTDataSourceACLSyncProvider

Version:
$Revision$
Author:
Mike Sample Implemented by the Data Source Provider or Data Source Crawl Provider object.

Method Summary
 java.lang.Object[][] GetACL(int lAclImportType)
          Retrieve the ACL for the current document or container Returned array columns are enumerated in PT_ACL_IMPORT_COLS
 int QueryACLCapabilityAsInt(int lAclCapabilities)
          Allows for querying of ACLSync capabilities implemented by the provider (whether it supports it at all, users, or groups)
 java.lang.Object QueryACLCapabilityAsObject(int lAclCapabilities)
          Allows for querying of ACLSync capabilities implemented by the provider (whether it supports it at all, users, or groups)
 

Method Detail

GetACL

java.lang.Object[][] GetACL(int lAclImportType)
Retrieve the ACL for the current document or container Returned array columns are enumerated in PT_ACL_IMPORT_COLS

Parameters:
lAclImportType - The PT_ACLSYNC_ITEMTYPES for the requested item
Returns:
A list of user and group IDs for the requested item.

QueryACLCapabilityAsInt

int QueryACLCapabilityAsInt(int lAclCapabilities)
Allows for querying of ACLSync capabilities implemented by the provider (whether it supports it at all, users, or groups)

Parameters:
lAclCapabilities - an int of PT_ACL_IMPORT_CAPABILITIES
Returns:
an int returned as 1 (true) or 0 (false)

QueryACLCapabilityAsObject

java.lang.Object QueryACLCapabilityAsObject(int lAclCapabilities)
Allows for querying of ACLSync capabilities implemented by the provider (whether it supports it at all, users, or groups)

Parameters:
lAclCapabilities - an int of PT_ACL_IMPORT_CAPABILITIES
Returns:
an Integer returned as 1 (true) or 0 (false)