com.ca.jcs
Interface PartitionOps

All Known Implementing Classes:
BaseConnector, ConnectorType, JDBCMetaConnector, JNDIMetaConnector, MetaConnector, MetaConnectorType, ORAMetaConnector, SDKMetaConnector, SDKWSMetaConnector, SDKWSMetaConnectorType, StubMetaConnector

public interface PartitionOps

Subset of methods in Partition which need to be implemented JCS ConnectorTypes and Connectors.


Method Summary
 void add(LdapDN name, Attributes attrs)
           
 void delete(LdapDN name)
           
 Attributes lookup(LdapDN name)
           
 Attributes lookup(LdapDN name, String[] attrIds)
           
 void modify(LdapDN name, int modOp, Attributes attributes)
           
 void modify(LdapDN name, ModificationItem[] items)
           
 void modifyRn(LdapDN name, String newRn, boolean deleteOldRn)
           
 void move(LdapDN oldName, LdapDN newParentName)
           
 void move(LdapDN oldName, LdapDN newParentName, String newRn, boolean deleteOldRn)
           
 NamingEnumeration<SearchResult> search(LdapDN baseName, Map<String,String> environment, ExprNode filter, SearchControls searchControls)
           
 void sync()
          Flushes any changes made to this partition now.
 

Method Detail

sync

void sync()
          throws NamingException
Flushes any changes made to this partition now.

Throws:
NamingException

delete

void delete(LdapDN name)
            throws NamingException
Throws:
NamingException

add

void add(LdapDN name,
         Attributes attrs)
         throws NamingException
Throws:
NamingException

modify

void modify(LdapDN name,
            int modOp,
            Attributes attributes)
            throws NamingException
Throws:
NamingException

modify

void modify(LdapDN name,
            ModificationItem[] items)
            throws NamingException
Throws:
NamingException

search

NamingEnumeration<SearchResult> search(LdapDN baseName,
                                       Map<String,String> environment,
                                       ExprNode filter,
                                       SearchControls searchControls)
                                       throws NamingException
Throws:
NamingException

lookup

Attributes lookup(LdapDN name)
                  throws NamingException
Throws:
NamingException

lookup

Attributes lookup(LdapDN name,
                  String[] attrIds)
                  throws NamingException
Throws:
NamingException

modifyRn

void modifyRn(LdapDN name,
              String newRn,
              boolean deleteOldRn)
              throws NamingException
Throws:
NamingException

move

void move(LdapDN oldName,
          LdapDN newParentName)
          throws NamingException
Throws:
NamingException

move

void move(LdapDN oldName,
          LdapDN newParentName,
          String newRn,
          boolean deleteOldRn)
          throws NamingException
Throws:
NamingException


Created 2011-07-14 13:27 EST