Package org.apache.slide.structure

Examples of org.apache.slide.structure.ObjectNode$ParentBindingList


       
        // Check parent exists and is not lock-null
        checkParentExists(strUri, token);
       
        // Retrieve the associated object
        ObjectNode associatedObject =
            structureHelper.retrieve(token, strUri, false);
       
        // Next we do a security check and a locking check for modifyRevisions
        securityHelper.checkCredentials
            (token, associatedObject,
View Full Code Here


       
        // Check parent exists and is not lock-null
        checkParentExists(strUri, token);
       
        // Retrieve the associated object
        ObjectNode associatedObject =
            structureHelper.retrieve(token, strUri, false);
       
        // Next we do a security check and a locking check for modifyRevisions
        securityHelper.checkCredentials
            (token, associatedObject,
View Full Code Here

     * @exception ObjectAlreadyExistsException An object already exists
     * at this Uri
     */
    public void createObject(Uri uri, ObjectNode object)
        throws ServiceAccessException, ObjectAlreadyExistsException {
        ObjectNode tempObject = object.cloneObject();
        tempObject.validate(uri.toString());
        enlist(nodeStore);
        try {
            nodeStore.createObject(uri, tempObject);
            if (useBinding()) {
                String uuri = tempObject.getUuri();
                if (uuri == null) {
                    throw new IllegalStateException();
                }
                object.setUuri(uuri);
            } else {
                object.setUuri(tempObject.getUri());
            }
        } catch (ServiceAccessException e) {
            delist(nodeStore, false);
            throw e;
        } catch (ObjectAlreadyExistsException e) {
View Full Code Here

       
        if (branchName.equals(NodeRevisionDescriptors.MAIN_BRANCH))
            return null;
       
        // Retrieve the associated object
        ObjectNode associatedObject =
            structureHelper.retrieve(token, strUri, false);
       
        // Next we do a security check and a locking check for modifyRevisions
        securityHelper.checkCredentials
            (token, associatedObject,
View Full Code Here

        RevisionDescriptorNotFoundException, ObjectLockedException,
        NodeNotVersionedException, BranchNotFoundException,
        RevisionAlreadyExistException {
       
        // Retrieve the associated object
        ObjectNode associatedObject =
            structureHelper.retrieve(token, strUri, false);
       
        // Next we do a security check and a locking check for modifyRevisions
        securityHelper.checkCredentials
            (token, associatedObject,
View Full Code Here

        LinkedObjectNotFoundException, ServiceAccessException,
        RevisionDescriptorNotFoundException, ObjectLockedException,
        RevisionNotFoundException {
       
        // Retrieve the associated object
        ObjectNode associatedObject =
            structureHelper.retrieve(token, strUri, false);
       
        // Next we do a security check and a locking check for modifyRevisions
        securityHelper.checkCredentials
            (token, associatedObject,
View Full Code Here

       
        // Invoke interceptors
        invokeInterceptors(token, revisionDescriptors, null, null, PRE_REMOVE);
       
        // Retrieve the associated object
        ObjectNode associatedObject = structureHelper.retrieve
            (token, revisionDescriptors.getUri(), false);
       
        // Next we do a security check and a locking check for modifyRevisions
        securityHelper.checkCredentials
            (token, associatedObject,
View Full Code Here

        throws ObjectNotFoundException, AccessDeniedException,
        LinkedObjectNotFoundException, ServiceAccessException,
        RevisionDescriptorNotFoundException, ObjectLockedException {
       
        // Retrieve the associated object
        ObjectNode associatedObject =
            structureHelper.retrieve(token, strUri, false);
       
        // Next we do a security check and a locking check for modifyRevisions
        securityHelper.checkCredentials
            (token, associatedObject,
View Full Code Here

        RevisionAlreadyExistException, LinkedObjectNotFoundException,
        ServiceAccessException, RevisionDescriptorNotFoundException,
        ObjectLockedException, NodeNotVersionedException {
       
        // Retrieve the associated object
        ObjectNode associatedObject =
            structureHelper.retrieve(token, strUri, false);
       
        // Next we do a security check and a locking check for modifyRevisions
        securityHelper.checkCredentials
            (token, associatedObject,
View Full Code Here

        RevisionAlreadyExistException, LinkedObjectNotFoundException,
        ServiceAccessException, RevisionDescriptorNotFoundException,
        ObjectLockedException, NodeNotVersionedException {
       
        // Retrieve the associated object
        ObjectNode associatedObject =
            structureHelper.retrieve(token, strUri, false);
       
        // Next we do a security check and a locking check for modifyRevisions
        securityHelper.checkCredentials
            (token, associatedObject,
View Full Code Here

TOP

Related Classes of org.apache.slide.structure.ObjectNode$ParentBindingList

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.