| java.lang.Object olstore.session.helper.ItemHelperBean
ItemHelperBean | abstract public class ItemHelperBean implements SessionBean(Code) | | |
ejbContext | SessionContext ejbContext(Code) | | |
createItem | public olstore.entity.ItemLocal createItem(String name, String price, String shortDesc, String longDesc, String type) throws NamingException, CreateException(Code) | | A convenience method to help create new items. The fields
name ,
name ,
shortDescr ,
type
are mandatory.
|
ejbActivate | public void ejbActivate()(Code) | | |
ejbCreate | public void ejbCreate() throws CreateException(Code) | | |
ejbPassivate | public void ejbPassivate()(Code) | | |
ejbRemove | public void ejbRemove()(Code) | | |
getPicture | public olstore.entity.PictureLocal getPicture(olstore.entity.ItemLocal item)(Code) | | This method returns the first picture with priority 0.
Will return a random picture if there is none with prioriy 0
|
getPropertiesForType | public Vector getPropertiesForType(String type) throws Exception(Code) | | This method will return an array of PropertyValues that indicate
the default properties associated with the specified type
|
setSessionContext | public void setSessionContext(SessionContext ctx)(Code) | | |
|
|