public class VirtualService 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 VirtualService |
create(javax.naming.directory.DirContext ctx, java.lang.String name, java.lang.String ServiceType, 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 or a virtual service object, 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 ServiceType)
Deletes the service registry object, and removes all orclServiceMember references from all other service registry objects.
|
static VirtualService[] |
get(javax.naming.directory.DirContext ctx, java.lang.String serviceType, 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 VirtualService create(javax.naming.directory.DirContext ctx, java.lang.String name, java.lang.String ServiceType, ModPropertySet mps) throws ServiceEntityException, UtilException
ctx - directory contextname - Name for the virtual serviceserviceType - Utilize string constants to declare type of service e.g. ServiceEntity.TYPE_EMAILmps - object which contains all attribute/value pairsServiceEntityExceptionUtilExceptionpublic static VirtualService[] get(javax.naming.directory.DirContext ctx, java.lang.String serviceType, java.lang.String name) throws UtilException, ServiceEntityException
ctx - directory contextserviceType - Utilize string constants to declare type of service e.g. ServiceEntity.TYPE_FILESname - Name of the virtual serviceUtilExceptionServiceEntityException
public static void delete(javax.naming.directory.DirContext ctx,
java.lang.String name,
java.lang.String ServiceType)
throws UtilException
ctx - directory contextname - Name for the virtual serviceserviceType - Utilize string constants to declare type of service e.g. ServiceEntity.TYPE_EMAILUtilExceptionpublic ServiceEntity createMember(javax.naming.directory.DirContext ctx, java.lang.String serviceEntityType, java.lang.String name, java.lang.String ServiceType, ModPropertySet mps) throws ServiceEntityException, UtilException
createMember in interface ServiceMethodsctx - directory contextserviceEntityType - type of object to create. Either 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 pairsServiceEntityExceptionUtilExceptionpublic 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_VIRTUAL, or ServiceEntity.ENTITY_TYPE_SERVICE are acceptable valuesserviceType - Utilize string constants to declare type of service e.g. ServiceEntity.TYPE_FILESUtilExceptionServiceEntityException
public void addMember(javax.naming.directory.DirContext ctx,
java.lang.String dn)
throws UtilException
ctx - directory contextdn - the DN of the child objectUtilException
public void removeMember(javax.naming.directory.DirContext ctx,
java.lang.String dn)
throws UtilException
ctx - directory contextdn - the DN of the child objectUtilException