Package org.enhydra.shark.api.internal.repositorypersistence

Examples of org.enhydra.shark.api.internal.repositorypersistence.RepositoryException


            v.setBytes(org.ofbiz.shark.SharkConstants.serializedPkg,serializedPkg);
            v.setBytes(org.ofbiz.shark.SharkConstants.xpdlData, xpdl);
            delegator.create(v);
            Debug.log("Created Value - " + v, module);
        } catch (GenericEntityException e) {
            throw new RepositoryException(e);
        }

    }
View Full Code Here


            value.setBytes(org.ofbiz.shark.SharkConstants.xpdlData, xpdl);
            value.setBytes(org.ofbiz.shark.SharkConstants.serializedPkg,serializedPkg);
            try {
               value.store();
            } catch (GenericEntityException e) {
                throw new RepositoryException(e);
            }
        }
    }
View Full Code Here

        List lookupList = this.getXpdlValues(arg1, null, false);
        GenericValue value = EntityUtil.getFirst(lookupList);
        if (value != null) {
            return value.getBytes(org.ofbiz.shark.SharkConstants.serializedPkg);
        } else {
            throw new RepositoryException("XPDL not found in repository!");
        }
    }
View Full Code Here

            ref.set(org.ofbiz.shark.SharkConstants.refXpdlId, referredXPDLId);
            ref.set(org.ofbiz.shark.SharkConstants.refNumber, (new Long(referredXPDLNumber)).toString());
            try {
                delegator.create(ref);
            } catch (GenericEntityException e) {
                throw new RepositoryException(e);
            }

    }
View Full Code Here

        {
            return (new Long(getCurrentVersion(null, xpdlId))).longValue();
        }
        catch (Exception ex)
        {
            throw new RepositoryException(ex);
        }
    }
View Full Code Here

TOP

Related Classes of org.enhydra.shark.api.internal.repositorypersistence.RepositoryException

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.