com.ibm.commerce.contract.beans
Class AttachmentDataBean

com.ibm.commerce.contract.beans.AttachmentDataBean
All Implemented Interfaces:
Delegator

public class AttachmentDataBean
implements Delegator

IBM internal use only.


Fields inherited from interface com.ibm.commerce.security.Delegator
COPYRIGHT
 
Constructor Summary
AttachmentDataBean()
           
 
Method Summary
 java.lang.String getAttachmentId()
          IBM internal use only.
 java.lang.Long getAttachmentIdInEJBType()
          IBM internal use only.
 java.lang.String getAttachmentURL()
          IBM internal use only.
 CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyAttachmentId()
          Retrieve its primary key.
 Protectable getDelegate()
          Retrieves access control information.
 java.lang.String getMimeType()
          IBM internal use only.
 java.lang.String getMimeTypeEncoding()
          IBM internal use only.
 java.lang.String getOwnerId()
          IBM internal use only.
 java.lang.Long getOwnerIdInEJBType()
          IBM internal use only.
 TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 java.lang.String getTimeCreated()
          IBM internal use only.
 java.sql.Timestamp getTimeCreatedInEJBType()
          IBM internal use only.
 java.lang.String getTimeUpdated()
          IBM internal use only.
 java.sql.Timestamp getTimeUpdatedInEJBType()
          IBM internal use only.
 java.lang.String getUsage()
          IBM internal use only.
 void populate()
          Retrieves data from the database.
 void setAttachmentId(java.lang.Long aAttachmentId)
          IBM internal use only.
 void setAttachmentURL(java.lang.String aAttachmentURL)
          IBM internal use only.
 void setCommandContext(CommandContext aCommandContext)
          Sets the command context within this bean.
 void setDataBeanKeyAttachmentId(java.lang.String aDataBeanKeyAttachmentId)
          Set its primary key for fetching.
 void setMimeType(java.lang.String aMimeType)
          IBM internal use only.
 void setMimeTypeEncoding(java.lang.String aMimeTypeEncoding)
          IBM internal use only.
 void setOwnerId(java.lang.Long aOwnerId)
          IBM internal use only.
 void setRequestProperties(TypedProperty aRequestProperties)
          Sets the request property within this bean.
 void setTimeCreated(java.sql.Timestamp aTimeCreated)
          IBM internal use only.
 void setTimeUpdated(java.sql.Timestamp aTimeUpdated)
          IBM internal use only.
 void setUsage(java.lang.String aUsage)
          IBM internal use only.
 

Constructor Detail

AttachmentDataBean

public AttachmentDataBean()
Method Detail

getAttachmentId

public java.lang.String getAttachmentId()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

IBM internal use only.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getAttachmentIdInEJBType

public java.lang.Long getAttachmentIdInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

IBM internal use only.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getAttachmentURL

public java.lang.String getAttachmentURL()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

IBM internal use only.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCommandContext

public CommandContext getCommandContext()

Gets the command context set within this bean.

Returns:
com.ibm.commerce.command.CommandContext

getDataBeanKeyAttachmentId

public java.lang.String getDataBeanKeyAttachmentId()

Retrieve its primary key.

Returns:
java.lang.String

getDelegate

public Protectable getDelegate()
                        throws java.lang.Exception

Retrieves access control information.

Specified by:
getDelegate in interface Delegator
Returns:
com.ibm.commerce.security.Protectable
Throws:
java.lang.Exception - The java.lang.Exception exception

getMimeType

public java.lang.String getMimeType()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

IBM internal use only.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getMimeTypeEncoding

public java.lang.String getMimeTypeEncoding()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

IBM internal use only.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOwnerId

public java.lang.String getOwnerId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

IBM internal use only.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOwnerIdInEJBType

public java.lang.Long getOwnerIdInEJBType()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

IBM internal use only.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRequestProperties

public TypedProperty getRequestProperties()

Gets the request property set within this bean.

Returns:
com.ibm.commerce.datatype.TypedProperty

getTimeCreated

public java.lang.String getTimeCreated()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

IBM internal use only.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTimeCreatedInEJBType

public java.sql.Timestamp getTimeCreatedInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

IBM internal use only.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTimeUpdated

public java.lang.String getTimeUpdated()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

IBM internal use only.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTimeUpdatedInEJBType

public java.sql.Timestamp getTimeUpdatedInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

IBM internal use only.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getUsage

public java.lang.String getUsage()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException

IBM internal use only.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

populate

public void populate()
              throws java.lang.Exception

Retrieves data from the database.

Returns:
void
Throws:
java.lang.Exception - The java.lang.Exception exception

setAttachmentId

public void setAttachmentId(java.lang.Long aAttachmentId)

IBM internal use only.

Parameters:
aAttachmentId - java.lang.Long
Returns:
void

setAttachmentURL

public void setAttachmentURL(java.lang.String aAttachmentURL)

IBM internal use only.

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

setCommandContext

public void setCommandContext(CommandContext aCommandContext)

Sets the command context within this bean.

Parameters:
aCommandContext - com.ibm.commerce.command.CommandContext
Returns:
void

setDataBeanKeyAttachmentId

public void setDataBeanKeyAttachmentId(java.lang.String aDataBeanKeyAttachmentId)

Set its primary key for fetching.

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

setMimeType

public void setMimeType(java.lang.String aMimeType)

IBM internal use only.

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

setMimeTypeEncoding

public void setMimeTypeEncoding(java.lang.String aMimeTypeEncoding)

IBM internal use only.

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

setOwnerId

public void setOwnerId(java.lang.Long aOwnerId)

IBM internal use only.

Parameters:
aOwnerId - java.lang.Long
Returns:
void

setRequestProperties

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

Sets the request property within this bean.

Parameters:
aRequestProperties - com.ibm.commerce.datatype.TypedProperty
Returns:
void
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

setTimeCreated

public void setTimeCreated(java.sql.Timestamp aTimeCreated)

IBM internal use only.

Parameters:
aTimeCreated - java.sql.Timestamp
Returns:
void

setTimeUpdated

public void setTimeUpdated(java.sql.Timestamp aTimeUpdated)

IBM internal use only.

Parameters:
aTimeUpdated - java.sql.Timestamp
Returns:
void

setUsage

public void setUsage(java.lang.String aUsage)

IBM internal use only.

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