|
WebObjects 5.4.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webobjects.jndiadaptor.JNDIPlugIn
public abstract class 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
JNDIPlugIn.relativeDistinguishedNameForNewRow(NSDictionary, EOAttribute, String)
,
EOAdaptorChannel#primaryKeysForNewRowsWithEntity(int, EOEntity)
,
Constant Field ValuesConstructor Detail |
---|
public JNDIPlugIn()
JNDIPlugIn
.
Method Detail |
---|
public abstract NSArray jndiTypes()
NSArray
JNDIType
,
EOAdaptor#externalTypesWithModel(EOModel)
,
EOAdaptorChannel#describeModelWithTableNames(NSArray)
public abstract JNDIType defaultType()
JNDIPlugIn.jndiTypes()
,
JNDIType
,
EOAdaptorChannel#describeModelWithTableNames(NSArray)
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 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 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 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 keyJNDIPlugIn.MagicPrimaryKey
,
EOAdaptorChannel#insertRow(NSDictionary, EOEntity)
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |