|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ldap.util.LDAPEntry
oracle.ldap.util.ServiceEntity
oracle.ldap.util.VirtualService
public class VirtualService
Field Summary |
---|
Fields inherited from class oracle.ldap.util.ServiceEntity |
---|
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 |
Fields inherited from class oracle.ldap.util.LDAPEntry |
---|
entryDN, entryIdType, entryPsc, inEntryId, validated |
Method Summary | |
---|---|
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 |
Methods inherited from class oracle.ldap.util.LDAPEntry |
---|
getDN, getProperties, setProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public 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 pairsServiceEntityException
UtilException
public 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 serviceUtilException
ServiceEntityException
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_EMAILUtilException
public 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 ServiceMethods
ctx
- 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 pairsServiceEntityException
UtilException
public 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_FILESUtilException
ServiceEntityException
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
public void resolve(javax.naming.directory.DirContext ctx)
LDAPEntry
resolve
in class LDAPEntry
|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |