Package org.apache.slide.common

Examples of org.apache.slide.common.ServiceAccessException


                NodeRevisionDescriptors nrdsClone = revisionDescriptors.cloneObject();
                nrdsClone.setUri(resourceId.getUuri()); // switch to uuri
                resourceId.getStore().createRevisionDescriptors(resourceId, nrdsClone);
            }
            catch (ObjectNotFoundException e) {
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here


                nrdsClone.setUri(resourceId.getUuri()); // switch to uuri
                resourceId.getStore().storeRevisionDescriptors(resourceId, nrdsClone);
            }
            catch (ObjectNotFoundException e) {
                // TODO: throw RevisionDescriptorsNotFoundException???
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here

            try {
                ResourceId resourceId = obtainResourceId(uri);
                resourceId.getStore().removeRevisionDescriptors(resourceId);
            }
            catch (ObjectNotFoundException e) {
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here

                nrd.setProperty("parent-set", getXmlParentSet(uri, objectNode));
                return nrd;
            }
            catch (ObjectNotFoundException e) {
                // TODO: throw RevisionDescriptorNotFoundException???
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here

                revisionDescriptor.removeProperty("parent-set");
                ResourceId resourceId = obtainResourceId(uri);
                resourceId.getStore().createRevisionDescriptor(resourceId, revisionDescriptor);
            }
            catch (ObjectNotFoundException e) {
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here

                ResourceId resourceId = obtainResourceId(uri);
                resourceId.getStore().storeRevisionDescriptor(resourceId, revisionDescriptor);
            }
            catch (ObjectNotFoundException e) {
                // TODO: throw RevisionDescriptorNotFoundException???
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here

            try {
                ResourceId resourceId = obtainResourceId(uri);
                resourceId.getStore().removeRevisionDescriptor(resourceId, number);
            }
            catch (ObjectNotFoundException e) {
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here

                ResourceId resourceId = obtainResourceId(uri);
                return resourceId.getStore().retrieveRevisionContent(resourceId, revisionDescriptor);
            }
            catch (ObjectNotFoundException e) {
                // TODO: throw RevisionNotFoundException???
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here

            try {
                ResourceId resourceId = obtainResourceId(uri);
                resourceId.getStore().createRevisionContent(resourceId, revisionDescriptor, revisionContent);
            }
            catch (ObjectNotFoundException e) {
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here

                ResourceId resourceId = obtainResourceId(uri);
                resourceId.getStore().storeRevisionContent(resourceId, revisionDescriptor, revisionContent);
            }
            catch (ObjectNotFoundException e) {
                // TODO: throw RevisionNotFoundException???
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.slide.common.ServiceAccessException

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.