DirectoryService
API.public class ContainerService extends java.lang.Object implements ContainerService
Modifier and Type | Method and Description |
---|---|
boolean |
deleteLDAPContainer(long containerId,
boolean deleteResources)
Deprecated.
Will delete an existing LDAP Container identified by its ID.
|
com.tibco.n2.de.api.ldap.XmlLdapContainer |
getLDAPContainerDetail(long containerId)
Deprecated.
Returns detailed definition of the LDAP Container identified by its ID.
|
com.tibco.n2.de.api.ldap.XmlLdapContainer[] |
listLDAPContainers(int empty)
Deprecated.
This method provides a list of all the LDAP containers that are configured.
|
long |
saveLDAPContainerDetail(com.tibco.n2.de.api.ldap.XmlLdapContainer detail)
Deprecated.
Method to save a new or update an existing LDAP Container.
|
public long saveLDAPContainerDetail(com.tibco.n2.de.api.ldap.XmlLdapContainer detail) throws com.tibco.n2.de.services.InternalServiceFault, com.tibco.n2.de.services.InvalidLDAPContainerFault
ContainerService
If an existing container is being updated then the details provided will
overwrite all existing details for the container. Thus, an update must
contain all the existing details (generally this will have been retrieved
using ContainerService.getLDAPContainerDetail(long)
).
saveLDAPContainerDetail
in interface ContainerService
detail
- the LDAP Container information to be saved/updated.long
ID of the new or updated container.com.tibco.n2.de.services.InternalServiceFault
com.tibco.n2.de.services.InvalidLDAPContainerFault
public com.tibco.n2.de.api.ldap.XmlLdapContainer[] listLDAPContainers(int empty) throws com.tibco.n2.de.services.InternalServiceFault
ContainerService
To get more detail (including its Container Resources) use ContainerService.getLDAPContainerDetail(long)
,
passing the ID value of one of the entries from the list returned by this method.
listLDAPContainers
in interface ContainerService
empty
- not usedList
of LDAP Containers details for all existing LDAP containers.com.tibco.n2.de.services.InternalServiceFault
public com.tibco.n2.de.api.ldap.XmlLdapContainer getLDAPContainerDetail(long containerId) throws com.tibco.n2.de.services.InternalServiceFault, com.tibco.n2.de.services.InvalidLDAPContainerFault
ContainerService
getLDAPContainerDetail
in interface ContainerService
containerId
- The ID of the containercom.tibco.n2.de.services.InternalServiceFault
com.tibco.n2.de.services.InvalidLDAPContainerFault
ContainerService.listLDAPContainers(int)
public boolean deleteLDAPContainer(long containerId, boolean deleteResources) throws com.tibco.n2.de.services.InternalServiceFault, com.tibco.n2.de.services.InvalidLDAPContainerFault, com.tibco.n2.de.services.InternalDAOErrorFault
ContainerService
deleteLDAPContainer
in interface ContainerService
containerId
- The unique ID of the container.deleteResources
- true
delete the Resources derived from the LDAP
Container.boolean
value indicating if the call to
delete the LDAP Container Id was successful.com.tibco.n2.de.services.InternalServiceFault
com.tibco.n2.de.services.InvalidLDAPContainerFault
com.tibco.n2.de.services.InternalDAOErrorFault
Copyright © 2014 TIBCO Software Inc. All Rights Reserved.