Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKFolderFed

java.lang.Object
  |
  +--com.ibm.mm.sdk.common.DKSequentialCollection
        |
        +--com.ibm.mm.sdk.common.DKFolder
              |
              +--com.ibm.mm.sdk.common.DKFolderFed
All Implemented Interfaces:
dkCollection, DKConstant, DKMessageId, java.io.Serializable

public class DKFolderFed
extends DKFolder

See Also:
Serialized Form

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
DKFolderFed()
          Constructs a DKFolder object.
 
Method Summary
 void addMember(DKDDO folder, DKDDO member)
          Add a new member to this folder and reflects the results immediately in the datastore, i.e.
 DKPid getPid()
          Gets the folder pid
 java.lang.String getPidString()
          Gets the folder pid string
 void removeMember(DKDDO folder, DKDDO member)
          Removes a member from this folder and reflects the results immediately in the datastore, i.e.
 void setPid(DKPid pid)
          Sets the folder pid
 
Methods inherited from class com.ibm.mm.sdk.common.DKSequentialCollection
addElement, cardinality, createIterator, getAssociatedAttrName, getName, getOwner, getSortFunction, insertElementAt, removeAllElements, removeElementAt, replaceElementAt, retrieveElementAt, setName, setSortFunction, sort, sort, sort
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.mm.sdk.common.dkCollection
addAllElements
 

Constructor Detail

DKFolderFed

public DKFolderFed()
Constructs a DKFolder object.
Method Detail

addMember

public void addMember(DKDDO folder,
                      DKDDO member)
               throws DKUsageError,
                      DKException
Add a new member to this folder and reflects the results immediately in the datastore, i.e. make it persistent. At the end of the operation, the new member will be in this DKFolder collection in-memory, as well as in the persistent folder representation in the datastore.
Overrides:
addMember in class DKFolder
Parameters:
folder - a folder object
member - the member to be added to the folder

removeMember

public void removeMember(DKDDO folder,
                         DKDDO member)
                  throws DKUsageError,
                         DKException
Removes a member from this folder and reflects the results immediately in the datastore, i.e. make it persistent. At the end of the operation, the member object will not be in this DKFolder collection in-memory, and it will also be removed from the persistent folder representation in the datastore.
Overrides:
removeMember in class DKFolder
Parameters:
folder - a folder object
member - the member to be removed from the folder

setPid

public void setPid(DKPid pid)
Sets the folder pid
Parameters:
pid - DKPid - object containing the persistent id

getPid

public DKPid getPid()
Gets the folder pid
Returns:
the persistent identifier object

getPidString

public java.lang.String getPidString()
Gets the folder pid string
Returns:
the pid string

EIP Java APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.