public class WorkspaceAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements WorkspaceAccessBeanData
Constructor and Description |
---|
WorkspaceAccessBean()
WorkspaceAccessBean
|
WorkspaceAccessBean(javax.ejb.EJBObject o)
WorkspaceAccessBean
|
WorkspaceAccessBean(com.ibm.commerce.context.content.objects.EntityCreationData entityCreationData)
Maps to a corresponding ejbCreate method in the home interface of the EJB
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper()
commitCopyHelper
|
java.lang.String | defaultJNDIName()
defaultJNDIName
|
WorkspaceAccessBean | findByIdentifier(java.lang.String identifier)
This method returns a Workspace Access Bean with the specified identifier.
|
java.util.Enumeration | findByMemberId(java.lang.Long memberId)
This method returns an enumeration of Workspace Access Beans with the specified member id.
|
java.util.Enumeration | findByMemberIdAndCompleteOrCancelledStatus(java.lang.Long memberId)
Return a workspace that has the specified member and complete or cancelled status.
|
java.util.Enumeration | findByMemberIdAndStatus(java.lang.Long memberId, java.lang.Integer status)
This method returns an enumeration of Workspace Access Beans with the specified status and member id.
|
java.util.Enumeration | findByStatus(java.lang.Integer status)
This method returns an enumeration of Workspace Access Beans with the specified status.
|
WorkspaceAccessBean | findByTaskGroupId(java.lang.Long taskGroupId)
Returns a workspace that belongs to the specified task group.
|
WorkspaceAccessBean | findByWorkspaceId(java.lang.Long workspaceId)
This method returns a Workspace Access Bean with the specified workspace id.
|
boolean | fulfills(java.lang.Long member, java.lang.String relationship)
fulfills
|
java.lang.String | getIdentifier()
getIdentifier
|
java.lang.String | getLockingPolicy()
getLockingPolicy
|
java.lang.Integer | getLockingPolicyInEJBType()
getLockingPolicyInEJBType
|
java.lang.String | getMemberId()
getMemberId
|
java.lang.Long | getMemberIdInEJBType()
getMemberIdInEJBType
|
java.lang.Long | getOwner()
getOwner
|
java.lang.String | getPersistentType()
getPersistentType
|
java.lang.Integer | getPersistentTypeInEJBType()
getPersistentTypeInEJBType
|
java.lang.String | getPromotionPolicy()
getPromotionPolicy
|
java.lang.Integer | getPromotionPolicyInEJBType()
getPromotionPolicyInEJBType
|
java.lang.String | getStatus()
getStatus
|
java.lang.Integer | getStatusInEJBType()
getStatusInEJBType
|
java.lang.String | getWorkspaceId()
getWorkspaceId
|
java.lang.Long | getWorkspaceIdInEJBType()
getWorkspaceIdInEJBType
|
protected void | instantiateEJB()
instantiateEJB
|
protected boolean | instantiateEJBByPrimaryKey()
instantiateEJBByPrimaryKey
|
void | refreshCopyHelper()
refreshCopyHelper
|
void | setIdentifier(java.lang.String newValue)
setIdentifier
|
void | setInitKey_workspaceId(java.lang.Long newValue)
setInitKey_workspaceId
|
void | setLockingPolicy(java.lang.Integer newValue)
setLockingPolicy
|
void | setLockingPolicy(java.lang.String newValue)
setLockingPolicy
|
void | setMemberId(java.lang.Long newValue)
setMemberId
|
void | setMemberId(java.lang.String newValue)
setMemberId
|
void | setPersistentType(java.lang.Integer newValue)
setPersistentType
|
void | setPersistentType(java.lang.String newValue)
setPersistentType
|
void | setPromotionPolicy(java.lang.Integer newValue)
setPromotionPolicy
|
void | setPromotionPolicy(java.lang.String newValue)
setPromotionPolicy
|
void | setStatus(java.lang.Integer newValue)
setStatus
|
void | setStatus(java.lang.String newValue)
setStatus
|
public WorkspaceAccessBean()
public WorkspaceAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public WorkspaceAccessBean(com.ibm.commerce.context.content.objects.EntityCreationData entityCreationData) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
This method creates a Workspace Access Bean with the specified EntityCreationDatapublic java.lang.String getStatus() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setStatus(java.lang.Integer newValue)
public java.lang.String getIdentifier() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setIdentifier(java.lang.String newValue)
public java.lang.String getMemberId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMemberId(java.lang.Long newValue)
public java.lang.String getPersistentType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setPersistentType(java.lang.Integer newValue)
public java.lang.String defaultJNDIName()
protected void instantiateEJB() throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
protected boolean instantiateEJBByPrimaryKey() throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getStatusInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setStatus(java.lang.String newValue)
public java.lang.Long getMemberIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMemberId(java.lang.String newValue)
public java.lang.Integer getPersistentTypeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setPersistentType(java.lang.String newValue)
public java.util.Enumeration findByStatus(java.lang.Integer status) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns an enumeration of Workspace Access Beans with the specified status.
public java.util.Enumeration findByMemberId(java.lang.Long memberId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns an enumeration of Workspace Access Beans with the specified member id.
public void setInitKey_workspaceId(java.lang.Long newValue)
public java.lang.String getWorkspaceId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getWorkspaceIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public WorkspaceAccessBean findByWorkspaceId(java.lang.Long workspaceId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns a Workspace Access Bean with the specified workspace id.
public WorkspaceAccessBean findByTaskGroupId(java.lang.Long taskGroupId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
Returns a workspace that belongs to the specified task group.
SQL:
SELECT * FROM CMFWKSPC, CMFWSTGREL WHERE CMFWSTGREL.CMFTASKGRP_ID = taskGroupId AND CMFWSTGREL.CMFWKSPC_ID=T1.CMFWKSPC_ID
public java.lang.String getLockingPolicy() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setLockingPolicy(java.lang.Integer newValue)
public java.lang.String getPromotionPolicy() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setPromotionPolicy(java.lang.Integer newValue)
public java.lang.Integer getLockingPolicyInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setLockingPolicy(java.lang.String newValue)
public java.lang.Integer getPromotionPolicyInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setPromotionPolicy(java.lang.String newValue)
public WorkspaceAccessBean findByIdentifier(java.lang.String identifier) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns a Workspace Access Bean with the specified identifier.
public java.util.Enumeration findByMemberIdAndStatus(java.lang.Long memberId, java.lang.Integer status) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns an enumeration of Workspace Access Beans with the specified status and member id.
public java.util.Enumeration findByMemberIdAndCompleteOrCancelledStatus(java.lang.Long memberId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
Return a workspace that has the specified member and complete or cancelled status.
SQL:
SELECT * FROM CMFWKSPC WHERE T1.MEMBER_ID = memberId AND (T1.STATUS=com.ibm.commerce.contentmanagement.common.CMWorkspaceConstants.CM_CONT_MAN_STATUS_WKSPCOMPLETE OR T1.STATUS=com.ibm.commerce.contentmanagement.common.CMWorkspaceConstants.CM_CONT_MAN_STATUS_WKSPCANCEL)
public boolean fulfills(java.lang.Long member, java.lang.String relationship) throws javax.naming.NamingException, javax.ejb.FinderException, java.lang.Exception, java.rmi.RemoteException
public java.lang.Long getOwner() throws javax.naming.NamingException, javax.ejb.FinderException, java.lang.Exception, java.rmi.RemoteException