|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.sdk.common.dkAbstractEntityDef | +--com.ibm.mm.sdk.common.DKBinderDefDD
This class defines methods to get Domino.Doc Binder information. Access to these objects is through DKCabinetDefDD, listSubEntities method. Domino.Doc cabinets have binders, which contain documents. This class also:
Any method not supported by Domino.Doc in this release will throw a DKMSG_NOTIMP DKUsageError (... not implemented).
DKCabinetDefDD
,
DKDocumentDefDD
, Serialized FormFields inherited from interface com.ibm.mm.sdk.common.DKConstant |
For details, see the class or interface |
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageIdDD |
copyright, DK_DD_MSG_MSGID_DOMDOC, DK_DD_MSG_MSGID_GOVERNOR, DK_DD_MSG_MSGID_NO_ATTR_OBJ, DK_DD_MSG_MSGID_NO_BINDER_OBJ, DK_DD_MSG_MSGID_NO_CABINET_OBJ, DK_DD_MSG_MSGID_NO_DOCUMENT_OBJ, DK_DD_MSG_MSGID_NO_MESSAGE, DK_DD_MSG_MSGID_NO_ROOM_OBJ, DK_DD_MSG_MSGID_NO_SUCCESS, DK_DD_MSG_MSGID_NUL_PARAM |
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId |
For details, see the class or interface |
Constructor Summary | |
DKBinderDefDD()
Constructs a new DKDocumentDef class without owner datastore object. |
|
DKBinderDefDD(dkDatastore ds)
Constructs a new DKDocumentDef class with owner datastore object |
|
DKBinderDefDD(int libHandle,
java.lang.String cabinetTitle,
java.lang.String title,
int nbrDocuments,
dkDatastore ds)
Construct a binder definition with all known information. |
Method Summary | |
void |
add()
Not implemented... |
void |
add(dkAttrDef attrObj)
Not implemented... |
void |
add(dkEntityDef subEntityObj)
Not implemented... |
dkAttrDef |
createAttr()
Not implemented... |
dkEntityDef |
createSubEntity()
Not supported, because this would only be used for CRUD. |
void |
del()
Not implemented... |
void |
del(dkAttrDef attrObj)
Not implemented... |
void |
del(dkEntityDef subEntityObj)
Not implemented... |
dkAttrDef |
getAttr(java.lang.String attrName)
Retrieves an attribute object from a given attribute name Note: Domino.Doc Binders' only attr is cabinet title. |
java.lang.String |
getBinderTitle()
Return title for this binder |
dkEntityDef |
getSubEntity(java.lang.String subEntityName)
Retrieves a sub entity object from a given sub entity name. |
boolean |
hasSubEntities()
Checks if this entity has sub entity objects. |
boolean |
isSearchable()
Get boolean telling whether or not this entity can be searched. |
java.lang.String[] |
listAttrNames()
Gets a list of attributes |
dkCollection |
listAttrs()
Gets a list of attributes |
dkCollection |
listSubEntities()
List documents |
java.lang.String[] |
listSubEntityNames()
Gets a list of document names for this binder |
java.lang.String |
toString()
|
Methods inherited from class com.ibm.mm.sdk.common.dkAbstractEntityDef |
addAttr, addSubEntity, clearCache, datastoreName, datastoreType, deleteAttr, deleteSubEntity, getDatastore, getDescription, getName, getParentEntityName, getType, isTextSearchable, removeAttr, removeSubEntity, retrieveAttr, retrieveSubEntity, setDatastore, setDescription, setName, setParentEntityName, setTextSearchable, setType |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DKBinderDefDD()
public DKBinderDefDD(dkDatastore ds)
ds
- reference to owner datastore objectpublic DKBinderDefDD(int libHandle, java.lang.String cabinetTitle, java.lang.String title, int nbrDocuments, dkDatastore ds)
Method Detail |
public boolean isSearchable() throws DKException, java.lang.Exception
isSearchable
in class dkAbstractEntityDef
public boolean hasSubEntities() throws DKException, java.lang.Exception
hasSubEntities
in class dkAbstractEntityDef
DKException
- DKUsageError, if method called.java.lang.Exception
- public dkEntityDef createSubEntity() throws DKException, java.lang.Exception
createSubEntity
in class dkAbstractEntityDef
DKException
- DKUsageError, if this method is calledjava.lang.Exception
- public dkEntityDef getSubEntity(java.lang.String subEntityName) throws DKException, java.lang.Exception
getSubEntity
in class dkAbstractEntityDef
subEntityName
- name of attribute to be retrievedDKException
- DKUsageError, if this method is calledjava.lang.Exception
- public dkCollection listSubEntities() throws DKException, java.lang.Exception
listSubEntities
in class dkAbstractEntityDef
DKException
- DKUsageError, if this method is called.java.lang.Exception
- public java.lang.String[] listSubEntityNames() throws DKException, java.lang.Exception
listSubEntityNames
in class dkAbstractEntityDef
public void add(dkEntityDef subEntityObj) throws DKException, java.lang.Exception
add
in class dkAbstractEntityDef
subEntityObj
- an sub entity object to be added to this
entity objectDKException
- DKUsageError, if this method is calledjava.lang.Exception
- public void del(dkEntityDef subEntityObj) throws DKException, java.lang.Exception
del
in class dkAbstractEntityDef
subEntityObj
- an sub entity object to be deleted from this
entity objectDKException
- DKUsageError, if this method is calledjava.lang.Exception
- public dkAttrDef createAttr() throws DKException, java.lang.Exception
createAttr
in class dkAbstractEntityDef
DKException
- DKUsageError, if this method is called.java.lang.Exception
- public dkAttrDef getAttr(java.lang.String attrName) throws DKException, java.lang.Exception
getAttr
in class dkAbstractEntityDef
attrName
- name of attribute to be retrievedpublic dkCollection listAttrs() throws DKException, java.lang.Exception
listAttrs
in class dkAbstractEntityDef
DKException
- if error occurspublic java.lang.String[] listAttrNames() throws DKException, java.lang.Exception
listAttrNames
in class dkAbstractEntityDef
DKException
- if error occurspublic void add() throws DKException, java.lang.Exception
add
in class dkAbstractEntityDef
DKException
- DKUsageError, if this method is called.java.lang.Exception
- public void del() throws DKException, java.lang.Exception
del
in class dkAbstractEntityDef
DKException
- DKUsageError, if this method is calledjava.lang.Exception
- public void add(dkAttrDef attrObj) throws DKException, java.lang.Exception
add
in class dkAbstractEntityDef
attrObj
- an attribute object to be added to this entity objectDKException
- DKUsageError, if this method is called.java.lang.Exception
- public void del(dkAttrDef attrObj) throws DKException, java.lang.Exception
del
in class dkAbstractEntityDef
attrObj
- an attribute object to be deleted from this entity objectDKException
- DKUsageError, if this method is called.java.lang.Exception
- public java.lang.String getBinderTitle()
public java.lang.String toString()
toString
in class java.lang.Object
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |