Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


oracle.idm.provisioning.configuration
Class ApplicationType

java.lang.Object
  extended by oracle.idm.provisioning.configuration.ApplicationType

All Implemented Interfaces:
java.io.Serializable

public class ApplicationType
extends java.lang.Object
implements java.io.Serializable

Application type object provides the necessary configuration information that could be shared by the different application instances

Since:
AS 10.1.2.0.1
See Also:
Serialized Form

Constructor Summary
ApplicationType(oracle.ldap.util.schema.DIPSchema dipSchema, java.lang.String type)
          Constuctor to create an object to represent the application type
ApplicationType(javax.naming.ldap.LdapContext lCtx, java.lang.String type)
          Constuctor to create an object to represent the application type

 

Method Summary
 java.lang.String[] getAllAttributeNames(javax.naming.ldap.LdapContext lCtx)
          Get the list of names of the attribute configurations.
 ConfigAttribute[] getAllAttributes(javax.naming.ldap.LdapContext lCtx)
          Get the list of attribute configurations.
 ConfigAttribute[] getMandatoryAttributes(javax.naming.ldap.LdapContext lCtx)
          Get all the mandatory attributes of the Application
 java.lang.String[] getObjectClasses()
          Get the list of objectClass names
 ConfigAttribute[] getOptionalAttributes(javax.naming.ldap.LdapContext lCtx)
          Get all the mandatory attributes of the Application
 java.lang.Object getPluginInstance(javax.naming.ldap.LdapContext lCtx, java.lang.String mName, java.lang.String pName)
           
 java.lang.String getType()
          Get Application Type
 void setDefaultAttrs(javax.naming.ldap.LdapContext lCtx, ModPropertySet pmods)
          Set the defaults for the configured attributes

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ApplicationType

public ApplicationType(javax.naming.ldap.LdapContext lCtx,
                       java.lang.String type)
                throws oracle.ldap.util.schema.ODISchemaException,
                       java.lang.Exception
Constuctor to create an object to represent the application type
Parameters:
ctx - Ldap directory context
type - Application type
Throws:
oracle.ldap.util.schema.ODISchemaException
java.lang.Exception

ApplicationType

public ApplicationType(oracle.ldap.util.schema.DIPSchema dipSchema,
                       java.lang.String type)
                throws oracle.ldap.util.schema.ODISchemaException,
                       java.lang.Exception
Constuctor to create an object to represent the application type
Parameters:
ctx - Ldap directory context
type - Application type
Throws:
oracle.ldap.util.schema.ODISchemaException
java.lang.Exception

Method Detail

getType

public java.lang.String getType()
Get Application Type
Returns:
appType

getAllAttributeNames

public java.lang.String[] getAllAttributeNames(javax.naming.ldap.LdapContext lCtx)
                                        throws java.lang.Exception
Get the list of names of the attribute configurations. The attribute configuration is returned from the cache if it is available otherwise null will be returned.
Parameters:
DirContext - Context pointer for reading from the directory
Returns:
an array of attribute names
Throws:
java.lang.Exception

getAllAttributes

public ConfigAttribute[] getAllAttributes(javax.naming.ldap.LdapContext lCtx)
                                   throws java.lang.Exception
Get the list of attribute configurations. The attribute configuration is returned from the cache if it is available otherwise null will be returned.
Parameters:
DirContext - Context pointer for reading from the directory
Returns:
an array of attribue configuration
Throws:
java.lang.Exception

getMandatoryAttributes

public ConfigAttribute[] getMandatoryAttributes(javax.naming.ldap.LdapContext lCtx)
                                         throws java.lang.Exception
Get all the mandatory attributes of the Application
Parameters:
lCtx - Ldap directory context
Returns:
the list of attributes. NULL if the application does not have any attributes
Throws:
java.lang.Exception

getOptionalAttributes

public ConfigAttribute[] getOptionalAttributes(javax.naming.ldap.LdapContext lCtx)
                                        throws java.lang.Exception
Get all the mandatory attributes of the Application
Parameters:
lCtx - Ldap directory context
Returns:
the list of attributes. NULL if the application does not have any attributes
Throws:
java.lang.Exception

getPluginInstance

public java.lang.Object getPluginInstance(javax.naming.ldap.LdapContext lCtx,
                                          java.lang.String mName,
                                          java.lang.String pName)
                                   throws java.lang.Exception
Parameters:
String - getPluginInstance
Throws:
java.lang.Exception

getObjectClasses

public java.lang.String[] getObjectClasses()
Get the list of objectClass names
Returns:
a list of objectClass names

setDefaultAttrs

public void setDefaultAttrs(javax.naming.ldap.LdapContext lCtx,
                            ModPropertySet pmods)
                     throws java.lang.Exception
Set the defaults for the configured attributes
Parameters:
lCtx - Ldap directory context
pmonds - a list of attribute name and value pairs
Throws:
java.lang.Exception

Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


Copyright © 1999, 2009 Oracle. All Rights Reserved.