public class ServiceSuite extends ServiceEntity implements ServiceMethods
ENTITY_TYPE_COMPONENT, ENTITY_TYPE_SERVICE, ENTITY_TYPE_SUITE, ENTITY_TYPE_VIRTUAL, SUITETYPE_OCS, TYPE_ALL, TYPE_CALENDAR, TYPE_EMAIL, TYPE_FILES, TYPE_IMEETING, TYPE_PORTAL, TYPE_ULTRASEARCH, TYPE_VOICEMAILFAX, TYPE_WIRELESS| Modifier and Type | Method and Description |
|---|---|
void |
addMember(javax.naming.directory.DirContext ctx, java.lang.String dn)
Adds the attribute value pair (orclServiceMember, dn_ptr) to this.
|
static ServiceSuite |
create(javax.naming.directory.DirContext ctx, java.lang.String name, java.lang.String SuiteType, ModPropertySet mps) |
ServiceEntity |
createMember(javax.naming.directory.DirContext ctx, java.lang.String serviceEntityType, java.lang.String name, java.lang.String ServiceType, ModPropertySet mps)
Creates a service instance, a virtual service object, or a component instance, and then populates the orclServiceMember attribute with the appropriate DN pointer to the newly created object.
|
static void |
delete(javax.naming.directory.DirContext ctx, java.lang.String name, java.lang.String SuiteType)
Deletes the service registry object, and removes all orclServiceMember references from all other service registry objects.
|
static ServiceSuite[] |
get(javax.naming.directory.DirContext ctx, java.lang.String SuiteType, java.lang.String name) |
ServiceEntity[] |
getMember(javax.naming.directory.DirContext ctx, java.lang.String serviceEntityType, java.lang.String serviceType)
Returns the members of this service object that match the provided criteria
|
void |
removeMember(javax.naming.directory.DirContext ctx, java.lang.String dn)
Removes the attribute value pair (orclServiceMember, dn_ptr) from this.
|
void |
resolve(javax.naming.directory.DirContext ctx)
Abstract method - implements validation of the LDAP entry by resolving the DN
|
getDN, getProperties, setPropertiespublic static ServiceSuite create(javax.naming.directory.DirContext ctx, java.lang.String name, java.lang.String SuiteType, ModPropertySet mps) throws UtilException
ctx - directory contextname - Name for the service suitesuiteType - Utilize string constants to declare type of service e.g. ServiceEntity.TYPE_OCSmps - object which contains all attribute/value pairsUtilExceptionpublic static ServiceSuite[] get(javax.naming.directory.DirContext ctx, java.lang.String SuiteType, java.lang.String name) throws UtilException, ServiceEntityException
ctx - directory contextsuiteType - Utilize string constants to declare type of service e.g. ServiceEntity.TYPE_OCSname - Name for the service suiteUtilExceptionServiceEntityException
public static void delete(javax.naming.directory.DirContext ctx,
java.lang.String name,
java.lang.String SuiteType)
throws UtilException
ctx - directory contextname - Name for the virtual servicesuiteType - Utilize string constants to declare type of service e.g. ServiceEntity.TYPE_OCSUtilExceptionpublic ServiceEntity createMember(javax.naming.directory.DirContext ctx, java.lang.String serviceEntityType, java.lang.String name, java.lang.String ServiceType, ModPropertySet mps) throws UtilException, ServiceEntityException
createMember in interface ServiceMethodsctx - directory contextserviceEntityType - type of object to create. Either ServiceEntity.ENTITY_TYPE_COMPONENT, ServiceEntity.ENTITY_TYPE_VIRTUAL, or ServiceEntity.ENTITY_TYPE_SERVICE are acceptable valuesname - name of the service member e.g. Email1serviceType - Utilize string constants to declare type of service e.g. ServiceEntity.TYPE_EMAILmps - object which contains all attribute/value pairsUtilExceptionServiceEntityException
public void addMember(javax.naming.directory.DirContext ctx,
java.lang.String dn)
throws UtilException
ctx - directory contextdn - the DN of the child objectUtilExceptionpublic ServiceEntity[] getMember(javax.naming.directory.DirContext ctx, java.lang.String serviceEntityType, java.lang.String serviceType) throws UtilException, ServiceEntityException
ctx - directory contextserviceEntityType - type of object to get. Either ServiceEntity.ENTITY_TYPE_COMPONENT, ServiceEntity.ENTITY_TYPE_VIRTUAL, or ServiceEntity.ENTITY_TYPE_SERVICE are acceptable valuesserviceType - Utilize string constants to declare type of service e.g. ServiceEntity.TYPE_FILESUtilExceptionServiceEntityException
public void removeMember(javax.naming.directory.DirContext ctx,
java.lang.String dn)
throws UtilException
ctx - directory contextdn - the DN of the child objectUtilException