/*
(non-Javadoc)

@see
com.emc.ecs.nfsclient.nfs.NfsFile#makeLinkRequest(com.emc.ecs.nfsclient.
nfs.NfsFile)
977365
public NfsLinkRequest makeLinkRequest(F source) throws IOException {
        return getNfs().makeLinkRequest(source.getFileHandle(), getParentFile().getFileHandle(), getName());
    }
305929
public Nfs3RmdirResponse wrapped_sendRmdir(NfsRmdirRequest request) throws IOException {
        RpcResponseHandler<Nfs3RmdirResponse> responseHandler = new NfsResponseHandler<Nfs3RmdirResponse>() {

            /* (non-Javadoc)
             * @see com.emc.ecs.nfsclient.rpc.RpcResponseHandler#makeNewResponse()
             */
            protected Nfs3RmdirResponse makeNewResponse() {
                return new Nfs3RmdirResponse();
            }

        };
        _rpcWrapper.callRpcWrapped(request, responseHandler);
        return responseHandler.getResponse();
    }
178218
private void addLinkedResource(FilePathMapping linkedResource) {
		linkedResources.add(linkedResource);
		if (parent != null) {
			parent.addLinkedResource(linkedResource);
		}
	}
1081054
public Nfs3ReadlinkResponse getReadlink(NfsReadlinkRequest request) throws IOException {
        Nfs3ReadlinkResponse response = new Nfs3ReadlinkResponse();
        _rpcWrapper.callRpcNaked(request, response);
        return response;
    }
441197
public Nfs3RenameResponse sendRename(NfsRenameRequest request) throws IOException {
        Nfs3RenameResponse response = new Nfs3RenameResponse();
        _rpcWrapper.callRpcNaked(request, response);
        return response;
    }
1080857
public TrmMeLinkRequest createNewTrmMeLinkRequest() throws MessageCreateFailedException {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "createNewTrmMeLinkRequest");
    TrmMeLinkRequest msg = null;
    try {
      msg = new TrmMeLinkRequestImpl();
    }
    catch (MessageDecodeFailedException e) {
      /* No need to FFDC this as JsMsgObject will already have done so */
      // No FFDC code needed
      throw new MessageCreateFailedException(e);
    }
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "createNewTrmMeLinkRequest");
    return msg;
  }
700015
public Nfs3LinkResponse sendLink(NfsLinkRequest request) throws IOException {
        Nfs3LinkResponse response = new Nfs3LinkResponse();
        _rpcWrapper.callRpcNaked(request, response);
        return response;
    }
505807
public Nfs3CommitRequest makeCommitRequest(byte[] fileHandle, long offsetToCommit, int dataSizeToCommit) throws FileNotFoundException {
        return new Nfs3CommitRequest(fileHandle, offsetToCommit, dataSizeToCommit, _credential);
    }
1081020
public Nfs3SetAttrResponse setAttr(NfsSetAttrRequest request) throws IOException {
        Nfs3SetAttrResponse response = new Nfs3SetAttrResponse();
        _rpcWrapper.callRpcNaked(request, response);
        return response;
    }
882107
public Nfs3FsInfoResponse getFsInfo(NfsFsInfoRequest request) throws IOException {
        Nfs3FsInfoResponse response = new Nfs3FsInfoResponse();
        _rpcWrapper.callRpcNaked(request, response);
        return response;
    }
773295
public Nfs3CommitResponse sendCommit(NfsCommitRequest request) throws IOException {
        Nfs3CommitResponse response = new Nfs3CommitResponse();
        _rpcWrapper.callRpcNaked(request, response, _server);
        return response;
    }
479795
public Nfs3MknodResponse wrapped_sendMknod(NfsMknodRequest request) throws IOException {
        RpcResponseHandler<Nfs3MknodResponse> responseHandler = new NfsResponseHandler<Nfs3MknodResponse>() {
            
            /* (non-Javadoc)
             * @see com.emc.ecs.nfsclient.rpc.RpcResponseHandler#makeNewResponse()
             */
            protected Nfs3MknodResponse makeNewResponse() {
                return new Nfs3MknodResponse();
            }

        };
        _rpcWrapper.callRpcWrapped(request, responseHandler);
        return responseHandler.getResponse();
    }
65835
@RequestMapping(value = "builds/{buildId}/links", method = RequestMethod.PUT)
    public Build createBuildLinkFromForm(@PathVariable ID buildId, @RequestBody BuildLinkForm form) {
        Build build = structureService.getBuild(buildId);
        structureService.editBuildLinks(build, form);
        return build;
    }
660031
public NfsCommitRequest makeCommitRequest(long offsetToCommit, int dataSizeToCommit) throws IOException {
        return getNfs().makeCommitRequest(getFileHandle(), offsetToCommit, dataSizeToCommit);
    }
1328683
public Nfs3GetAttrResponse getAttr(NfsGetAttrRequest request) throws IOException {
        Nfs3GetAttrResponse response = new Nfs3GetAttrResponse();
        _rpcWrapper.callRpcNaked(request, response);
        return response;
    }
229296
public NfsLinkResponse link(F source) throws IOException {
        NfsLinkResponse response = getNfs().wrapped_sendLink(makeLinkRequest(source));
        setFileHandle(source.getFileHandle());
        return response;
    }
1216084
public Nfs3CreateRequest makeCreateRequest(NfsCreateMode createMode, byte[] parentDirectoryFileHandle, String name,
            NfsSetAttributes attributes, byte[] verifier) throws FileNotFoundException {
        return new Nfs3CreateRequest(createMode, parentDirectoryFileHandle, name, attributes, verifier, _credential);
    }