Package org.campware.dream.om

Examples of org.campware.dream.om.DistributorCategory


    protected boolean getEntry(Criteria criteria, Context context)
    {
        try
        {
            DistributorCategory entry = (DistributorCategory) DistributorCategoryPeer.doSelect(criteria).get(0);
            context.put("entry", entry);
            return true;
        }
        catch (Exception e)
        {
View Full Code Here


     * wouldn't be secure.
     */
    public void doInsert(RunData data, Context context)
        throws Exception
    {
        DistributorCategory entry = new DistributorCategory();
        data.getParameters().setProperties(entry);
        entry.save();
    }
View Full Code Here

     * into the database.
     */
    public void doUpdate(RunData data, Context context)
        throws Exception
    {
        DistributorCategory entry = new DistributorCategory();
        data.getParameters().setProperties(entry);
        entry.setModified(true);
        entry.setNew(false);
        entry.save();
    }
View Full Code Here

TOP

Related Classes of org.campware.dream.om.DistributorCategory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.