com.ibm.commerce.collaboration.workspaces.objects
Class CWMemberAccessBean

java.lang.Object
  |
  +--AbstractEntityAccessBean
        |
        +--com.ibm.commerce.collaboration.workspaces.objects.CWMemberAccessBean

public class CWMemberAccessBean
extends AbstractEntityAccessBean

This table stores collaborative workspace member information. CWMemberAccessBean

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright statement
 
Constructor Summary
CWMemberAccessBean()
          constructor
CWMemberAccessBean(javax.ejb.EJBObject o)
          CWMemberAccessBean constructor
CWMemberAccessBean(java.lang.String cwId, java.lang.String logonId, java.lang.String role)
          CWMemberAccessBean constructor
 
Method Summary
 void commitCopyHelper()
          commitCopyHelper
 java.lang.String defaultJNDIName()
          defaultJNDIName
 java.util.Enumeration findAll()
          Finds all instances for Entity Bean: CWMember SQL: SELECT * FROM CWMEMBER WHERE (1=1)
 java.util.Enumeration findByCollabWorkspace(java.lang.String cwId)
          Finds an instance using collaborative workspace ID for Entity Bean: CWMember SQL: SELECT * FROM CWMEMBER WHERE (COLLABWS_ID = ?)
 java.util.Enumeration findByCollabWorkspaceAndRole(java.lang.String cwId, java.lang.String role)
          Finds an instance using collaborative workspace ID and role for Entity Bean: CWMember SQL: SELECT * FROM CWMEMBER WHERE (COLLABWS_ID = ? AND ROLE = ?)
 java.lang.String getCwId()
          Gets the cwId
 java.lang.String getLogonId()
          Get accessor for persistent attribute: logonId
 java.lang.String getRole()
          Get accessor for persistent attribute: role
protected  void instantiateEJB()
          instantiateEJB
protected  boolean instantiateEJBByPrimaryKey()
          instantiateEJBByPrimaryKey
 void refreshCopyHelper()
          refreshCopyHelper
 void setCwId(java.lang.String newValue)
          This method accesses a non-CMP field
 void setInitKey_cwId(java.lang.String newValue)
          setInitKey_cwId
 void setInitKey_logonId(java.lang.String newValue)
          setInitKey_logonId
 void setLogonId(java.lang.String newValue)
          This method accesses a non-CMP field
 void setRole(java.lang.String newValue)
          Set accessor for persistent attribute: role
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
Copyright statement
See Also:
Constant Field Values
Constructor Detail

CWMemberAccessBean

public CWMemberAccessBean()
constructor

CWMemberAccessBean

public CWMemberAccessBean(javax.ejb.EJBObject o)
                   throws java.rmi.RemoteException
CWMemberAccessBean constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

CWMemberAccessBean

public CWMemberAccessBean(java.lang.String cwId,
                          java.lang.String logonId,
                          java.lang.String role)
                   throws javax.naming.NamingException,
                          javax.ejb.CreateException,
                          java.rmi.RemoteException
CWMemberAccessBean constructor
Parameters:
cwId - java.lang.String
logonId - java.lang.String
role - java.lang.String
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
Method Detail

getCwId

public java.lang.String getCwId()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException
Gets the cwId
Returns:
collaborative workspace ID
Throws:
java.rmi.RemoteException - remote exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCwId

public void setCwId(java.lang.String newValue)
This method accesses a non-CMP field

getRole

public java.lang.String getRole()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException
Get accessor for persistent attribute: role
Returns:
role
Throws:
java.rmi.RemoteException - remote exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRole

public void setRole(java.lang.String newValue)
Set accessor for persistent attribute: role
Throws:
java.rmi.RemoteException - remote exception

defaultJNDIName

public java.lang.String defaultJNDIName()
defaultJNDIName
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws javax.naming.NamingException,
                              javax.ejb.FinderException,
                              java.rmi.RemoteException
instantiateEJB
Returns:
void
Throws:
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws javax.ejb.CreateException,
                                             java.rmi.RemoteException,
                                             javax.naming.NamingException
instantiateEJBByPrimaryKey
Returns:
boolean
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
refreshCopyHelper

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException
commitCopyHelper

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

findByCollabWorkspaceAndRole

public java.util.Enumeration findByCollabWorkspaceAndRole(java.lang.String cwId,
                                                          java.lang.String role)
                                                   throws javax.naming.NamingException,
                                                          javax.ejb.FinderException,
                                                          java.rmi.RemoteException
Finds an instance using collaborative workspace ID and role for Entity Bean: CWMember SQL: SELECT * FROM CWMEMBER WHERE (COLLABWS_ID = ? AND ROLE = ?)
Parameters:
cwId - collaborative workspace ID
role - role
Returns:
Enumeration of CWMember remote objects
Throws:
javax.ejb.FinderException - finder exception
java.rmi.RemoteException - remote exception
javax.naming.NamingException

findByCollabWorkspace

public java.util.Enumeration findByCollabWorkspace(java.lang.String cwId)
                                            throws javax.naming.NamingException,
                                                   javax.ejb.FinderException,
                                                   java.rmi.RemoteException
Finds an instance using collaborative workspace ID for Entity Bean: CWMember SQL: SELECT * FROM CWMEMBER WHERE (COLLABWS_ID = ?)
Parameters:
cwId - collaborative workspace ID
Returns:
Enumeration of CWMember remote objects
Throws:
javax.ejb.FinderException - finder exception
java.rmi.RemoteException - remote exception
javax.naming.NamingException

findAll

public java.util.Enumeration findAll()
                              throws javax.naming.NamingException,
                                     javax.ejb.FinderException,
                                     java.rmi.RemoteException
Finds all instances for Entity Bean: CWMember SQL: SELECT * FROM CWMEMBER WHERE (1=1)
Returns:
Enumeration of CWMember remote objects
Throws:
javax.ejb.FinderException - finder exception
java.rmi.RemoteException - remote exception
javax.naming.NamingException

getLogonId

public java.lang.String getLogonId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException
Get accessor for persistent attribute: logonId
Returns:
logon ID
Throws:
java.rmi.RemoteException - remote exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLogonId

public void setLogonId(java.lang.String newValue)
This method accesses a non-CMP field

setInitKey_cwId

public void setInitKey_cwId(java.lang.String newValue)
setInitKey_cwId

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

setInitKey_logonId

public void setInitKey_logonId(java.lang.String newValue)
setInitKey_logonId

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void