com.infoengine.au.delegateprovider
Class DirectoryBasedCmdDelegateProviderService

java.lang.Object
  extended bycom.infoengine.au.delegateprovider.DirectoryBasedCmdDelegateProviderService
All Implemented Interfaces:
CmdDelegateProviderService, Serializable

public class DirectoryBasedCmdDelegateProviderService
extends Object
implements CmdDelegateProviderService, Serializable

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  CmdDelegateDNParts cmdDelegateDNParts
           
private static String DEFAULT_TYPE
           
private  String DIRECTORY_PROVIDER
           
private  String DIRECTORY_SEARCHBASE
           
private  String directorySearchBaseURL
           
private  DirectoryService ieDirectoryService
           
private  String keyCommandName
           
private  String keyRepository
           
private  String keyWcTypeId
           
private static String RESOURCE
           
private  TypeHierarchy typeHierarchy
           
 
Constructor Summary
(package private) DirectoryBasedCmdDelegateProviderService(String commandName, String wcTypeIdentifier, String targetRepository, String directorySearchBaseURL, TypeHierarchy typeHierarchy)
           
 
Method Summary
(package private) static String genDistinguishedName(String[] dnParts)
           
(package private)  String genGetCmdDelegateEntryLDAPURL()
           
(package private)  String genGetFedTypeIdSuperTypeAttrLDAPURL()
           
(package private)  String genGetRepositoryEntryLDAPURL()
           
(package private)  String genGetRepositoryReposTypeAttrLDAPURL()
           
(package private)  String genGetRepositorySupportingAdapterAttrLDAPURL()
           
(package private)  String genGetRepositoryTypeSuperTypeAttrLDAPURL()
           
 Group getCommandDelegateEntry()
           
(package private)  Group getCommandDelegateLDAPEntry()
           
 String getCommandDelegateName()
           
private  Group getRepositoryEntry()
           
(package private)  String getRepositoryReposTypeAttr()
           
 Vector getRepositorySupportingAdapterAttr()
           
(package private)  String getRepositoryTypeSuperTypeAttr()
           
(package private)  Group lookupCommandDelegate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

DEFAULT_TYPE

private static final String DEFAULT_TYPE
See Also:
Constant Field Values

DIRECTORY_PROVIDER

private String DIRECTORY_PROVIDER

DIRECTORY_SEARCHBASE

private String DIRECTORY_SEARCHBASE

cmdDelegateDNParts

private CmdDelegateDNParts cmdDelegateDNParts

directorySearchBaseURL

private String directorySearchBaseURL

ieDirectoryService

private DirectoryService ieDirectoryService

keyCommandName

private String keyCommandName

keyRepository

private String keyRepository

keyWcTypeId

private String keyWcTypeId

typeHierarchy

private TypeHierarchy typeHierarchy
Constructor Detail

DirectoryBasedCmdDelegateProviderService

DirectoryBasedCmdDelegateProviderService(String commandName,
                                         String wcTypeIdentifier,
                                         String targetRepository,
                                         String directorySearchBaseURL,
                                         TypeHierarchy typeHierarchy)
                                   throws CmdDelegateProviderErrorException,
                                          DirectoryServiceException
Method Detail

getCommandDelegateName

public String getCommandDelegateName()
                              throws DirectoryServiceException,
                                     CommandClassnameAttrNotSetException,
                                     RepositoryTypeAttrNotSetException,
                                     RepositoryObjectNotFoundException,
                                     RepositoryTypeObjectNotFoundException,
                                     CmdDelegateProviderErrorException
Specified by:
getCommandDelegateName in interface CmdDelegateProviderService
Throws:
DirectoryServiceException
CommandClassnameAttrNotSetException
RepositoryTypeAttrNotSetException
RepositoryObjectNotFoundException
RepositoryTypeObjectNotFoundException
CmdDelegateProviderErrorException

getCommandDelegateEntry

public Group getCommandDelegateEntry()
                              throws DirectoryServiceException,
                                     RepositoryTypeAttrNotSetException,
                                     RepositoryObjectNotFoundException,
                                     RepositoryTypeObjectNotFoundException,
                                     CmdDelegateProviderErrorException
Specified by:
getCommandDelegateEntry in interface CmdDelegateProviderService
Throws:
DirectoryServiceException
RepositoryTypeAttrNotSetException
RepositoryObjectNotFoundException
RepositoryTypeObjectNotFoundException
CmdDelegateProviderErrorException

lookupCommandDelegate

Group lookupCommandDelegate()
                      throws DirectoryServiceException,
                             RepositoryTypeAttrNotSetException,
                             RepositoryObjectNotFoundException,
                             RepositoryTypeObjectNotFoundException,
                             CmdDelegateProviderErrorException
Throws:
DirectoryServiceException
RepositoryTypeAttrNotSetException
RepositoryObjectNotFoundException
RepositoryTypeObjectNotFoundException
CmdDelegateProviderErrorException

genDistinguishedName

static String genDistinguishedName(String[] dnParts)

genGetCmdDelegateEntryLDAPURL

String genGetCmdDelegateEntryLDAPURL()

genGetFedTypeIdSuperTypeAttrLDAPURL

String genGetFedTypeIdSuperTypeAttrLDAPURL()

genGetRepositoryEntryLDAPURL

String genGetRepositoryEntryLDAPURL()

genGetRepositoryReposTypeAttrLDAPURL

String genGetRepositoryReposTypeAttrLDAPURL()

genGetRepositorySupportingAdapterAttrLDAPURL

String genGetRepositorySupportingAdapterAttrLDAPURL()

genGetRepositoryTypeSuperTypeAttrLDAPURL

String genGetRepositoryTypeSuperTypeAttrLDAPURL()

getCommandDelegateLDAPEntry

Group getCommandDelegateLDAPEntry()
                            throws DirectoryServiceException
Throws:
DirectoryServiceException

getRepositoryEntry

private Group getRepositoryEntry()
                          throws DirectoryServiceException,
                                 RepositoryObjectNotFoundException
Throws:
DirectoryServiceException
RepositoryObjectNotFoundException

getRepositoryReposTypeAttr

String getRepositoryReposTypeAttr()
                            throws DirectoryServiceException,
                                   RepositoryObjectNotFoundException
Throws:
DirectoryServiceException
RepositoryObjectNotFoundException

getRepositorySupportingAdapterAttr

public Vector getRepositorySupportingAdapterAttr()
                                          throws DirectoryServiceException,
                                                 RepositoryObjectNotFoundException
Specified by:
getRepositorySupportingAdapterAttr in interface CmdDelegateProviderService
Throws:
DirectoryServiceException
RepositoryObjectNotFoundException

getRepositoryTypeSuperTypeAttr

String getRepositoryTypeSuperTypeAttr()
                                throws DirectoryServiceException,
                                       RepositoryTypeObjectNotFoundException
Throws:
DirectoryServiceException
RepositoryTypeObjectNotFoundException