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

java.lang.Object
  |
  +--AbstractEntityAccessBean
        |
        +--com.ibm.commerce.collaboration.workspaces.objects.CollabWorkspaceAccessBean
All Implemented Interfaces:
CollabWorkspaceAccessBeanData

public class CollabWorkspaceAccessBean
extends AbstractEntityAccessBean
implements CollabWorkspaceAccessBeanData

This table stores collaborative workspace information. CollabWorkspaceAccessBean

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright statement
 
Constructor Summary
CollabWorkspaceAccessBean()
          constructor
CollabWorkspaceAccessBean(javax.ejb.EJBObject o)
          CollabWorkspaceAccessBean constructor
CollabWorkspaceAccessBean(java.lang.String id, java.lang.String name, java.lang.String creatorLogonId)
          CollabWorkspaceAccessBean constructor
CollabWorkspaceAccessBean(java.lang.String id, java.lang.String processType, java.lang.String processId, java.lang.String name, java.lang.String description, java.lang.String template, java.sql.Timestamp timeCreated, java.lang.Long accountId, java.lang.String creatorLogonId)
          Constructor that takes all columns constructor
 
Method Summary
 void commitCopyHelper()
          commitCopyHelper
 java.lang.String defaultJNDIName()
          defaultJNDIName
 java.util.Enumeration findAll()
          Finds all instances for Entity Bean: CollabWorkspace SQL: SELECT * FROM COLLABWS T1 WHERE (1=1)
 java.util.Enumeration findByCWMemberLogonId(java.lang.String logonId)
          Finds instances using USERS_ID of CWMEMBER for Entity Bean: CollabWorkspace SQL: SELECT * FROM COLLABWS T1 WHERE T1.COLLABWS_ID IN (SELECT CWMEMBER.COLLABWS_ID WHERE LOGONID = ?)
 java.lang.Long getAccountId()
          Get accessor for persistent attribute: accountId
 java.lang.String getCreatorLogonId()
          Get accessor for persistent attribute: creatorLogonId
 java.lang.String getDescription()
          Get accessor for persistent attribute: description
 java.lang.String getId()
          Gets the id
 java.lang.String getName()
          Get accessor for persistent attribute: name
 java.lang.String getProcessId()
          Get accessor for persistent attribute: processId
 java.lang.String getProcessType()
          Get accessor for persistent attribute: processType
 java.lang.String getTemplate()
          Get accessor for persistent attribute: template
 java.sql.Timestamp getTimeCreated()
          Get accessor for persistent attribute: timeCreated
protected  void instantiateEJB()
          instantiateEJB
protected  boolean instantiateEJBByPrimaryKey()
          instantiateEJBByPrimaryKey
 void refreshCopyHelper()
          refreshCopyHelper
 void setAccountId(java.lang.Long newValue)
          Set accessor for persistent attribute: accountId
 void setCreatorLogonId(java.lang.String newValue)
          Set accessor for persistent attribute: creatorLogonId
 void setDescription(java.lang.String newValue)
          Set accessor for persistent attribute: description
 void setId(java.lang.String newValue)
          This method accesses a non-CMP field
 void setInitKey_id(java.lang.String newValue)
          setInitKey_id
 void setName(java.lang.String newValue)
          Set accessor for persistent attribute: name
 void setProcessId(java.lang.String newValue)
          Set accessor for persistent attribute: processId
 void setProcessType(java.lang.String newValue)
          Set accessor for persistent attribute: processType
 void setTemplate(java.lang.String newValue)
          Set accessor for persistent attribute: template
 void setTimeCreated(java.sql.Timestamp newValue)
          Set accessor for persistent attribute: timeCreated
 
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

CollabWorkspaceAccessBean

public CollabWorkspaceAccessBean()
constructor

CollabWorkspaceAccessBean

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

CollabWorkspaceAccessBean

public CollabWorkspaceAccessBean(java.lang.String id,
                                 java.lang.String name,
                                 java.lang.String creatorLogonId)
                          throws javax.naming.NamingException,
                                 javax.ejb.CreateException,
                                 java.rmi.RemoteException
CollabWorkspaceAccessBean constructor
Parameters:
id - java.lang.String
name - java.lang.String
creatorLogonId - java.lang.String
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException

CollabWorkspaceAccessBean

public CollabWorkspaceAccessBean(java.lang.String id,
                                 java.lang.String processType,
                                 java.lang.String processId,
                                 java.lang.String name,
                                 java.lang.String description,
                                 java.lang.String template,
                                 java.sql.Timestamp timeCreated,
                                 java.lang.Long accountId,
                                 java.lang.String creatorLogonId)
                          throws javax.naming.NamingException,
                                 javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 FinderException
Constructor that takes all columns constructor
Parameters:
id - String
processType - The process type the workspace is created for.
processId - The ID of the process the workspace is created for.
name - The name of the workspace. (Cannot be null).
description - The description of the workspace.
template - The template the workspace is created with.
timeCreated - The time at which the workspace is created.
creatorLogonId - The logon ID of the creator of the workspace (Cannot be null).
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
FinderException
Method Detail

getAccountId

public java.lang.Long getAccountId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException
Get accessor for persistent attribute: accountId
Specified by:
getAccountId in interface CollabWorkspaceAccessBeanData
Returns:
account ID
Throws:
java.rmi.RemoteException - remote exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setAccountId

public void setAccountId(java.lang.Long newValue)
Set accessor for persistent attribute: accountId
Specified by:
setAccountId in interface CollabWorkspaceAccessBeanData
Throws:
java.rmi.RemoteException - remote exception

getCreatorLogonId

public java.lang.String getCreatorLogonId()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException
Get accessor for persistent attribute: creatorLogonId
Specified by:
getCreatorLogonId in interface CollabWorkspaceAccessBeanData
Returns:
creator logon ID
Throws:
java.rmi.RemoteException - remote exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCreatorLogonId

public void setCreatorLogonId(java.lang.String newValue)
Set accessor for persistent attribute: creatorLogonId
Specified by:
setCreatorLogonId in interface CollabWorkspaceAccessBeanData
Throws:
java.rmi.RemoteException - remote exception

getDescription

public java.lang.String getDescription()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException
Get accessor for persistent attribute: description
Specified by:
getDescription in interface CollabWorkspaceAccessBeanData
Returns:
description
Throws:
java.rmi.RemoteException - remote exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDescription

public void setDescription(java.lang.String newValue)
Set accessor for persistent attribute: description
Specified by:
setDescription in interface CollabWorkspaceAccessBeanData
Throws:
java.rmi.RemoteException - remote exception

getId

public java.lang.String getId()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Gets the id
Specified by:
getId in interface CollabWorkspaceAccessBeanData
Returns:
ID
Throws:
java.rmi.RemoteException - remote exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setId

public void setId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setId in interface CollabWorkspaceAccessBeanData

getName

public java.lang.String getName()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException
Get accessor for persistent attribute: name
Specified by:
getName in interface CollabWorkspaceAccessBeanData
Returns:
name
Throws:
java.rmi.RemoteException - remote exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setName

public void setName(java.lang.String newValue)
Set accessor for persistent attribute: name
Specified by:
setName in interface CollabWorkspaceAccessBeanData
Throws:
java.rmi.RemoteException - remote exception

getProcessId

public java.lang.String getProcessId()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException
Get accessor for persistent attribute: processId
Specified by:
getProcessId in interface CollabWorkspaceAccessBeanData
Returns:
process ID
Throws:
java.rmi.RemoteException - remote exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setProcessId

public void setProcessId(java.lang.String newValue)
Set accessor for persistent attribute: processId
Specified by:
setProcessId in interface CollabWorkspaceAccessBeanData
Throws:
java.rmi.RemoteException - remote exception

getProcessType

public java.lang.String getProcessType()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException
Get accessor for persistent attribute: processType
Specified by:
getProcessType in interface CollabWorkspaceAccessBeanData
Returns:
process type
Throws:
java.rmi.RemoteException - remote exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setProcessType

public void setProcessType(java.lang.String newValue)
Set accessor for persistent attribute: processType
Specified by:
setProcessType in interface CollabWorkspaceAccessBeanData
Throws:
java.rmi.RemoteException - remote exception

getTemplate

public java.lang.String getTemplate()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException
Get accessor for persistent attribute: template
Specified by:
getTemplate in interface CollabWorkspaceAccessBeanData
Returns:
template
Throws:
java.rmi.RemoteException - remote exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTemplate

public void setTemplate(java.lang.String newValue)
Set accessor for persistent attribute: template
Specified by:
setTemplate in interface CollabWorkspaceAccessBeanData
Throws:
java.rmi.RemoteException - remote exception

getTimeCreated

public java.sql.Timestamp getTimeCreated()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException
Get accessor for persistent attribute: timeCreated
Specified by:
getTimeCreated in interface CollabWorkspaceAccessBeanData
Returns:
time created
Throws:
java.rmi.RemoteException - remote exception
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTimeCreated

public void setTimeCreated(java.sql.Timestamp newValue)
Set accessor for persistent attribute: timeCreated
Specified by:
setTimeCreated in interface CollabWorkspaceAccessBeanData
Throws:
java.rmi.RemoteException - remote exception

setInitKey_id

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

Set the primary key for this object

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

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

findByCWMemberLogonId

public java.util.Enumeration findByCWMemberLogonId(java.lang.String logonId)
                                            throws javax.naming.NamingException,
                                                   javax.ejb.FinderException,
                                                   java.rmi.RemoteException
Finds instances using USERS_ID of CWMEMBER for Entity Bean: CollabWorkspace SQL: SELECT * FROM COLLABWS T1 WHERE T1.COLLABWS_ID IN (SELECT CWMEMBER.COLLABWS_ID WHERE LOGONID = ?)
Parameters:
logonId - logon ID
Returns:
Enumeration of CollabWorkspace 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: CollabWorkspace SQL: SELECT * FROM COLLABWS T1 WHERE (1=1)
Returns:
Enumeration of CollabWorkspace remote objects
Throws:
javax.ejb.FinderException - finder exception
java.rmi.RemoteException - remote exception
javax.naming.NamingException