|
WebObjects 5.2.3 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.jndiadaptor.JNDIPlugIn
The JNDIPlugIn
class represents a plug-in to the JNDIAdaptor.
Nested Class Summary | |
static interface |
JNDIPlugIn.ChannelOperation
The ChannelOperation interface encapsulates an operation
to be performed in the JNDIChannel. |
Field Summary | |
static String |
MagicPrimaryKey
The initial value of a primary key for a new row; the empty string. |
Constructor Summary | |
JNDIPlugIn()
Creates a new instance of JNDIPlugIn . |
Method Summary | |
abstract String |
base(EOFetchSpecification fetchSpecification,
EOEntity entity)
Creates a base with the specified fetch specification and entity. |
InitialDirContext |
createInitialDirContext(JNDIAdaptor adaptor)
Creates a new instance of InitialDirContext with the
specified adaptor. |
abstract JNDIType |
defaultType()
Gets the default JNDI type. |
abstract String |
filter(EOFetchSpecification fetchSpecification,
EOEntity entity)
Creates a filter with the specified fetch specification and entity. |
abstract NSArray |
jndiTypes()
Gets the JNDI types. |
Object |
performChannelOperation(JNDIPlugIn.ChannelOperation operation)
|
String |
relativeDistinguishedNameForNewRow(NSDictionary row,
EOAttribute relativeDistinguishedNameAttribute,
String currentRelativeDistinguishedNameAttributeValue)
Gets the relative distinguished name for a new row. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String MagicPrimaryKey
relativeDistinguishedNameForNewRow(NSDictionary, EOAttribute, String)
,
JNDIChannel.primaryKeysForNewRowsWithEntity(int, com.webobjects.eoaccess.EOEntity)
Constructor Detail |
public JNDIPlugIn()
JNDIPlugIn
.
Method Detail |
public abstract String base(EOFetchSpecification fetchSpecification, EOEntity entity)
fetchSpecification
- - the fetch specificationentity
- - the entity
EOFetchSpecification
,
EOEntity
,
DirContext.search(javax.naming.Name, javax.naming.directory.Attributes, java.lang.String[])
public InitialDirContext createInitialDirContext(JNDIAdaptor adaptor)
InitialDirContext
with the
specified adaptor.
adaptor
- - the instance of JNDIAdaptor
InitialDirContext
-
- JNDIAdaptorException
- if adaptor is null
JNDIAdaptor
,
InitialDirContext
public abstract JNDIType defaultType()
jndiTypes()
,
JNDIType
,
JNDIChannel.describeModelWithTableNames(com.webobjects.foundation.NSArray)
public abstract String filter(EOFetchSpecification fetchSpecification, EOEntity entity)
fetchSpecification
- - the fetch specificationentity
- - the entity
EOFetchSpecification
,
EOEntity
,
DirContext.search(javax.naming.Name, javax.naming.directory.Attributes, java.lang.String[])
public abstract NSArray jndiTypes()
NSArray
JNDIType
,
JNDIAdaptor.externalTypesWithModel(com.webobjects.eoaccess.EOModel)
,
JNDIChannel.describeModelWithTableNames(com.webobjects.foundation.NSArray)
public Object performChannelOperation(JNDIPlugIn.ChannelOperation operation)
public String relativeDistinguishedNameForNewRow(NSDictionary row, EOAttribute relativeDistinguishedNameAttribute, String currentRelativeDistinguishedNameAttributeValue)
row
- - the rowrelativeDistinguishedNameAttribute
- - the primary key attributecurrentRelativeDistinguishedNameAttributeValue
- - the current value of the primary keyMagicPrimaryKey
,
JNDIChannel.insertRow(com.webobjects.foundation.NSDictionary, com.webobjects.eoaccess.EOEntity)
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |