|
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.server.dkAbstractDatastoreExt
dkAbstractDatastoreExt is the common client implementation for dkDatastoreExt.
Fields 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.DKMessageId |
For details, see the class or interface |
Constructor Summary | |
dkAbstractDatastoreExt()
Default constructor for dkAbstractDatastoreExt. |
Method Summary | |
void |
addChild(dkDataObject parent,
dkDataObject child)
Add a new child member to the parent in the datastore |
void |
addLink(DKLink link)
Add a new link between a source and target item to the datastore. |
void |
addPart(dkDataObject parent,
dkXDO part)
Add a new part member to the parent in the datastore |
void |
addToFolder(dkDataObject folder,
dkDataObject element)
Add a new element item to this folder in memory. |
void |
changePassword(java.lang.String userId,
java.lang.String oldPwd,
java.lang.String newPwd)
Changing password on the the server for the given userid |
java.lang.String |
checkedOutUserid(dkDataObject item)
Gets the userId that checkout the item from the datastore. |
void |
checkIn(dkDataObject item)
Checks-in a document or folder item previously checked out from the datastore. |
void |
checkOut(dkDataObject item)
Checks-out a document or folder item from the datastore. |
DKCommonPrivilege |
getCommonItemPrivilege(dkDataObject item)
Gets the commmon privilege for an item. |
DKCommonPrivilege |
getCommonPrivilege()
Gets the commmon privilege of a specific datastore. |
DKCommonPrivilege |
getCommonPrivilege(dkDataObject item)
Deprecated. Replace by getCommonItemPrivilege |
dkDatastore |
getDatastore()
Gets the reference to the owner datastore object. |
DKSequentialCollection |
getFoldersContainingDDO(dkDataObject ddo)
Get a list of the folders that contain this ddo. |
java.lang.String |
getName()
Gets the name of this extension object. |
boolean |
isCheckedOut(dkDataObject item)
Checks if a document or folder item was checked out from the datastore. |
boolean |
isSupported(java.lang.String functionName)
Query if the given function name is supported by this extension. |
java.lang.String[] |
listFunctions()
Lists all supported function-names from this extension. |
void |
moveObject(dkDataObject srcDataObj,
dkDataObject destDataObj,
int options)
Moves current dataobject from one entity to another. |
void |
moveObject(dkDataObject dataObj,
java.lang.String entityName)
Deprecated. Replace by moveObject |
void |
removeChild(dkDataObject parent,
dkDataObject child)
Removes a child member from the parent in the datastore |
void |
removeFromFolder(dkDataObject folder,
dkDataObject element)
Removes an element from this folder in memory. |
void |
removeLink(DKLink link)
Removes a link between a source and target item from the datastore. |
void |
removeLinks(dkCollection linkCollection)
Removes a collection of links from the datastore. |
void |
removePart(dkDataObject parent,
dkXDO part)
Removes a part member from the parent in the datastore |
dkXDO |
retrieveFormOverlay(java.lang.String id)
Retrieves the form overlay object |
void |
setDatastore(dkDatastore ds)
Sets the reference to the owner datastore object. |
void |
setName(java.lang.String extName)
Sets the name of this extension object. |
void |
unlockCheckedOut(dkDataObject item)
Unlocks the item from the datastore |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public dkAbstractDatastoreExt() throws DKException, java.lang.Exception
Method Detail |
public java.lang.String getName() throws java.lang.Exception
getName
in interface dkExtension
public void setName(java.lang.String extName) throws java.lang.Exception
setName
in interface dkExtension
extName
- name of this extension object.public dkDatastore getDatastore() throws java.lang.Exception
getDatastore
in interface dkDatastoreExt
public void setDatastore(dkDatastore ds) throws DKUsageError, java.lang.Exception
setDatastore
in interface dkDatastoreExt
ds
- datastore.public boolean isSupported(java.lang.String functionName) throws java.lang.Exception
isSupported
in interface dkDatastoreExt
functionName
- the name of the function providing this featurespublic java.lang.String[] listFunctions() throws java.lang.Exception
listFunctions
in interface dkDatastoreExt
public void addToFolder(dkDataObject folder, dkDataObject element) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
addToFolder
in interface dkDatastoreExt
folder
- a folder object.member
- the member to be added to the folder.public void removeFromFolder(dkDataObject folder, dkDataObject element) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
removeFromFolder
in interface dkDatastoreExt
folder
- a folder objectelement
- the member to be removed from the folderpublic DKSequentialCollection getFoldersContainingDDO(dkDataObject ddo) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
getFoldersContainingDDO
in interface dkDatastoreExt
ddo
- DDO to check which folders contain it.public void checkOut(dkDataObject item) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
checkOut
in interface dkDatastoreExt
item
- the item to checked-out.public void checkIn(dkDataObject item) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
checkIn
in interface dkDatastoreExt
item
- the item to checked-inpublic DKCommonPrivilege getCommonPrivilege() throws java.lang.Exception, DKException, DKUsageError, DKDatastoreAccessError
Note:DKUsageError exception thrown if method is not implemented
getCommonPrivilege
in interface dkDatastoreExt
public DKCommonPrivilege getCommonPrivilege(dkDataObject item) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
getCommonPrivilege
in interface dkDatastoreExt
item
- an itemgetCommonItemPrivilege(com.ibm.mm.sdk.common.dkDataObject)
public DKCommonPrivilege getCommonItemPrivilege(dkDataObject item) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
getCommonItemPrivilege
in interface dkDatastoreExt
item
- an itempublic boolean isCheckedOut(dkDataObject item) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
isCheckedOut
in interface dkDatastoreExt
item
- a document or folder itempublic java.lang.String checkedOutUserid(dkDataObject item) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
checkedOutUserid
in interface dkDatastoreExt
item
- a document or folder itempublic void unlockCheckedOut(dkDataObject item) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
unlockCheckedOut
in interface dkDatastoreExt
item
- a document or folder itempublic void changePassword(java.lang.String userId, java.lang.String oldPwd, java.lang.String newPwd) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
changePassword
in interface dkDatastoreExt
userId
- userid to change password foroldPwd
- current passwordnewPwd
- new passwordpublic void moveObject(dkDataObject dataObj, java.lang.String entityName) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
moveObject
in interface dkDatastoreExt
dataObj
- data object to be movedentityName
- new entity name to move tomoveObject(com.ibm.mm.sdk.common.dkDataObject,com.ibm.mm.sdk.common.dkDataObject,int)
public void moveObject(dkDataObject srcDataObj, dkDataObject destDataObj, int options) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
moveObject
in interface dkDatastoreExt
item
- source item to be moved to another entityitem
- destination item to be moved intooptions
- move options.public dkXDO retrieveFormOverlay(java.lang.String id) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
retrieveFormOverlay
in interface dkDatastoreExt
id
- the id string to retrieve the objectpublic void addChild(dkDataObject parent, dkDataObject child) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
addChild
in interface dkDatastoreExt
parent
- a parent object.child
- the child to be added to the parent.public void removeChild(dkDataObject parent, dkDataObject child) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
removeChild
in interface dkDatastoreExt
parent
- a parent object.child
- the child to be added to the parent.public void addLink(DKLink link) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
addLink
in interface dkDatastoreExt
link
- link objectpublic void removeLink(DKLink link) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
removeLink
in interface dkDatastoreExt
link
- link objectpublic void removeLinks(dkCollection linkCollection) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
removeLinks
in interface dkDatastoreExt
linkCollection
- link collection that contain linkspublic void addPart(dkDataObject parent, dkXDO part) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
addPart
in interface dkDatastoreExt
parent
- a parent object.part
- the part to be added to the parent.public void removePart(dkDataObject parent, dkXDO part) throws DKException, java.lang.Exception
Note:DKUsageError exception thrown if method is not implemented
removePart
in interface dkDatastoreExt
parent
- a parent object.part
- the part to be removed from the parent.
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |