Package org.apache.slide.common

Examples of org.apache.slide.common.ServiceAccessException


                NodePermission permissionClone = permission.cloneObject();
                permissionClone.setObject(resourceId.getUuri()); // switch to uuri
                resourceId.getStore().grantPermission(resourceId, permissionClone);
            }
            catch (ObjectNotFoundException e) {
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here


                NodePermission permissionClone = permission.cloneObject();
                permissionClone.setObject(resourceId.getUuri()); // switch to uuri
                resourceId.getStore().revokePermission(resourceId, permissionClone);
            }
            catch (ObjectNotFoundException e) {
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here

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

                    result.add(p);
                }
                return result.elements();
            }
            catch (ObjectNotFoundException e) {
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here

                NodeLock lockClone = lock.cloneObject();
                lockClone.setObjectUri(resourceId.getUuri()); // switch to uuri
                resourceId.getStore().putLock(resourceId, lockClone);
            }
            catch (ObjectNotFoundException e) {
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here

                NodeLock lockClone = lock.cloneObject();
                lockClone.setObjectUri(resourceId.getUuri()); // switch to uuri
                resourceId.getStore().renewLock(resourceId, lockClone);
            }
            catch (ObjectNotFoundException e) {
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here

                NodeLock lockClone = lock.cloneObject();
                lockClone.setObjectUri(resourceId.getUuri()); // switch to uuri
                resourceId.getStore().removeLock(resourceId, lockClone);
            }
            catch (ObjectNotFoundException e) {
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here

                NodeLock lockClone = lock.cloneObject();
                lockClone.setObjectUri(resourceId.getUuri()); // switch to uuri
                resourceId.getStore().killLock(resourceId, lockClone);
            }
            catch (ObjectNotFoundException e) {
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here

                    result.add(l);
                }
                return result.elements();
            }
            catch (ObjectNotFoundException e) {
                throw new ServiceAccessException(this, e);
            }
        }
    }
View Full Code Here

                nrdsClone.setUri(uri.toString());
                return nrdsClone;
            }
            catch (ObjectNotFoundException e) {
                // TODO: throw RevisionDescriptorsNotFoundException???
                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.