All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rapture.common.client.HttpDocApi Maven / Gradle / Ivy

/**
 * The MIT License (MIT)
 *
 * Copyright (C) 2011-2016 Incapture Technologies LLC
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

/**
 * This file is autogenerated and any changes will be overwritten.
 */

package rapture.common.client;

import java.util.List;
import java.util.Map;
import rapture.common.api.DocApi;
import rapture.common.api.ScriptDocApi;
import rapture.common.CallingContext;
import rapture.common.model.GeneralResponse;
import rapture.common.model.BasePayload;
import rapture.common.exception.RaptureException;
import rapture.common.impl.jackson.JacksonUtil;

import com.fasterxml.jackson.core.type.TypeReference;

import org.apache.log4j.Logger;

import rapture.common.model.DocumentRepoConfig;
import rapture.common.model.DocumentMetadata;
import rapture.common.RaptureFolderInfo;
import rapture.common.RaptureIdGenConfig;
import rapture.common.model.DocumentWithMeta;
import rapture.common.XferDocumentAttribute;
import rapture.common.model.DocWriteHandle;

import rapture.common.shared.doc.ValidateDocRepoPayload;

import rapture.common.shared.doc.CreateDocRepoPayload;

import rapture.common.shared.doc.DocRepoExistsPayload;

import rapture.common.shared.doc.DocExistsPayload;

import rapture.common.shared.doc.GetDocRepoConfigPayload;

import rapture.common.shared.doc.GetDocRepoStatusPayload;

import rapture.common.shared.doc.GetDocRepoConfigsPayload;

import rapture.common.shared.doc.DeleteDocRepoPayload;

import rapture.common.shared.doc.ArchiveRepoDocsPayload;

import rapture.common.shared.doc.GetDocAndMetaPayload;

import rapture.common.shared.doc.GetDocMetaPayload;

import rapture.common.shared.doc.RevertDocPayload;

import rapture.common.shared.doc.GetDocPayload;

import rapture.common.shared.doc.PutDocPayload;

import rapture.common.shared.doc.PutDocWithVersionPayload;

import rapture.common.shared.doc.PutDocWithEventContextPayload;

import rapture.common.shared.doc.DeleteDocPayload;

import rapture.common.shared.doc.RenameDocPayload;

import rapture.common.shared.doc.GetDocsPayload;

import rapture.common.shared.doc.GetDocAndMetasPayload;

import rapture.common.shared.doc.DocsExistPayload;

import rapture.common.shared.doc.PutDocsPayload;

import rapture.common.shared.doc.RenameDocsPayload;

import rapture.common.shared.doc.DeleteDocsByUriPrefixPayload;

import rapture.common.shared.doc.ListDocsByUriPrefixPayload;

import rapture.common.shared.doc.SetDocAttributePayload;

import rapture.common.shared.doc.SetDocAttributesPayload;

import rapture.common.shared.doc.GetDocAttributePayload;

import rapture.common.shared.doc.GetDocAttributesPayload;

import rapture.common.shared.doc.DeleteDocAttributePayload;

import rapture.common.shared.doc.GetDocRepoIdGenUriPayload;

import rapture.common.shared.doc.SetDocRepoIdGenConfigPayload;

import rapture.common.shared.doc.GetDocRepoIdGenConfigPayload;


@SuppressWarnings("all")
public class HttpDocApi extends BaseHttpApi implements DocApi, ScriptDocApi {
        private static final Logger log = Logger.getLogger(HttpDocApi.class);

	public HttpDocApi(HttpLoginApi login) {
		super(login, "doc");
	}
		
	    private static final class ValidateDocRepoTypeReference extends TypeReference {
	    }    
	    @Override
	    public Boolean validateDocRepo(CallingContext context, String docRepoUri) {
	        ValidateDocRepoPayload requestObj = new ValidateDocRepoPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocRepoUri(docRepoUri);
	        return doRequest(requestObj, "VALIDATEDOCREPO", new ValidateDocRepoTypeReference());    }

	    
	    @Override
	    public void createDocRepo(CallingContext context, String docRepoUri, String config) {
	        CreateDocRepoPayload requestObj = new CreateDocRepoPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocRepoUri(docRepoUri);
	        requestObj.setConfig(config);
	        doRequest(requestObj, "CREATEDOCREPO", null);    }

	    private static final class DocRepoExistsTypeReference extends TypeReference {
	    }    
	    @Override
	    public Boolean docRepoExists(CallingContext context, String docRepoUri) {
	        DocRepoExistsPayload requestObj = new DocRepoExistsPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocRepoUri(docRepoUri);
	        return doRequest(requestObj, "DOCREPOEXISTS", new DocRepoExistsTypeReference());    }

	    private static final class DocExistsTypeReference extends TypeReference {
	    }    
	    @Override
	    public Boolean docExists(CallingContext context, String docUri) {
	        DocExistsPayload requestObj = new DocExistsPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocUri(docUri);
	        return doRequest(requestObj, "DOCEXISTS", new DocExistsTypeReference());    }

	    private static final class GetDocRepoConfigTypeReference extends TypeReference {
	    }    
	    @Override
	    public DocumentRepoConfig getDocRepoConfig(CallingContext context, String docRepoUri) {
	        GetDocRepoConfigPayload requestObj = new GetDocRepoConfigPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocRepoUri(docRepoUri);
	        return doRequest(requestObj, "GETDOCREPOCONFIG", new GetDocRepoConfigTypeReference());    }

	    private static final class GetDocRepoStatusTypeReference extends TypeReference> {
	    }    
	    @Override
	    public Map getDocRepoStatus(CallingContext context, String docRepoUri) {
	        GetDocRepoStatusPayload requestObj = new GetDocRepoStatusPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocRepoUri(docRepoUri);
	        return doRequest(requestObj, "GETDOCREPOSTATUS", new GetDocRepoStatusTypeReference());    }

	    private static final class GetDocRepoConfigsTypeReference extends TypeReference> {
	    }    
	    @Override
	    public List getDocRepoConfigs(CallingContext context) {
	        GetDocRepoConfigsPayload requestObj = new GetDocRepoConfigsPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        return doRequest(requestObj, "GETDOCREPOCONFIGS", new GetDocRepoConfigsTypeReference());    }

	    
	    @Override
	    public void deleteDocRepo(CallingContext context, String docRepoUri) {
	        DeleteDocRepoPayload requestObj = new DeleteDocRepoPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocRepoUri(docRepoUri);
	        doRequest(requestObj, "DELETEDOCREPO", null);    }

	    
	    @Override
	    public void archiveRepoDocs(CallingContext context, String docRepoUri, int versionLimit, long timeLimit, Boolean ensureVersionLimit) {
	        ArchiveRepoDocsPayload requestObj = new ArchiveRepoDocsPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocRepoUri(docRepoUri);
	        requestObj.setVersionLimit(versionLimit);
	        requestObj.setTimeLimit(timeLimit);
	        requestObj.setEnsureVersionLimit(ensureVersionLimit);
	        doRequest(requestObj, "ARCHIVEREPODOCS", null);    }

	    private static final class GetDocAndMetaTypeReference extends TypeReference {
	    }    
	    @Override
	    public DocumentWithMeta getDocAndMeta(CallingContext context, String docUri) {
	        GetDocAndMetaPayload requestObj = new GetDocAndMetaPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocUri(docUri);
	        return doRequest(requestObj, "GETDOCANDMETA", new GetDocAndMetaTypeReference());    }

	    private static final class GetDocMetaTypeReference extends TypeReference {
	    }    
	    @Override
	    public DocumentMetadata getDocMeta(CallingContext context, String docUri) {
	        GetDocMetaPayload requestObj = new GetDocMetaPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocUri(docUri);
	        return doRequest(requestObj, "GETDOCMETA", new GetDocMetaTypeReference());    }

	    private static final class RevertDocTypeReference extends TypeReference {
	    }    
	    @Override
	    public DocumentWithMeta revertDoc(CallingContext context, String docUri) {
	        RevertDocPayload requestObj = new RevertDocPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocUri(docUri);
	        return doRequest(requestObj, "REVERTDOC", new RevertDocTypeReference());    }

	    private static final class GetDocTypeReference extends TypeReference {
	    }    
	    @Override
	    public String getDoc(CallingContext context, String docUri) {
	        GetDocPayload requestObj = new GetDocPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocUri(docUri);
	        return doRequest(requestObj, "GETDOC", new GetDocTypeReference());    }

	    private static final class PutDocTypeReference extends TypeReference {
	    }    
	    @Override
	    public String putDoc(CallingContext context, String docUri, String content) {
	        PutDocPayload requestObj = new PutDocPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocUri(docUri);
	        requestObj.setContent(content);
	        return doRequest(requestObj, "PUTDOC", new PutDocTypeReference());    }

	    private static final class PutDocWithVersionTypeReference extends TypeReference {
	    }    
	    @Override
	    public Boolean putDocWithVersion(CallingContext context, String docUri, String content, int currentVersion) {
	        PutDocWithVersionPayload requestObj = new PutDocWithVersionPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocUri(docUri);
	        requestObj.setContent(content);
	        requestObj.setCurrentVersion(currentVersion);
	        return doRequest(requestObj, "PUTDOCWITHVERSION", new PutDocWithVersionTypeReference());    }

	    private static final class PutDocWithEventContextTypeReference extends TypeReference {
	    }    
	    @Override
	    public DocWriteHandle putDocWithEventContext(CallingContext context, String docUri, String content, Map eventContext) {
	        PutDocWithEventContextPayload requestObj = new PutDocWithEventContextPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocUri(docUri);
	        requestObj.setContent(content);
	        requestObj.setEventContext(eventContext);
	        return doRequest(requestObj, "PUTDOCWITHEVENTCONTEXT", new PutDocWithEventContextTypeReference());    }

	    private static final class DeleteDocTypeReference extends TypeReference {
	    }    
	    @Override
	    public Boolean deleteDoc(CallingContext context, String docUri) {
	        DeleteDocPayload requestObj = new DeleteDocPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocUri(docUri);
	        return doRequest(requestObj, "DELETEDOC", new DeleteDocTypeReference());    }

	    private static final class RenameDocTypeReference extends TypeReference {
	    }    
	    @Override
	    public String renameDoc(CallingContext context, String fromDocUri, String toDocUri) {
	        RenameDocPayload requestObj = new RenameDocPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setFromDocUri(fromDocUri);
	        requestObj.setToDocUri(toDocUri);
	        return doRequest(requestObj, "RENAMEDOC", new RenameDocTypeReference());    }

	    private static final class GetDocsTypeReference extends TypeReference> {
	    }    
	    @Override
	    public Map getDocs(CallingContext context, List docUris) {
	        GetDocsPayload requestObj = new GetDocsPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocUris(docUris);
	        return doRequest(requestObj, "GETDOCS", new GetDocsTypeReference());    }

	    private static final class GetDocAndMetasTypeReference extends TypeReference> {
	    }    
	    @Override
	    public List getDocAndMetas(CallingContext context, List docUris) {
	        GetDocAndMetasPayload requestObj = new GetDocAndMetasPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocUris(docUris);
	        return doRequest(requestObj, "GETDOCANDMETAS", new GetDocAndMetasTypeReference());    }

	    private static final class DocsExistTypeReference extends TypeReference> {
	    }    
	    @Override
	    public List docsExist(CallingContext context, List docUris) {
	        DocsExistPayload requestObj = new DocsExistPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocUris(docUris);
	        return doRequest(requestObj, "DOCSEXIST", new DocsExistTypeReference());    }

	    private static final class PutDocsTypeReference extends TypeReference> {
	    }    
	    @Override
	    public List putDocs(CallingContext context, List docUris, List contents) {
	        PutDocsPayload requestObj = new PutDocsPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocUris(docUris);
	        requestObj.setContents(contents);
	        return doRequest(requestObj, "PUTDOCS", new PutDocsTypeReference());    }

	    private static final class RenameDocsTypeReference extends TypeReference> {
	    }    
	    @Override
	    public List renameDocs(CallingContext context, String authority, String comment, List fromDocUris, List toDocUris) {
	        RenameDocsPayload requestObj = new RenameDocsPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setAuthority(authority);
	        requestObj.setComment(comment);
	        requestObj.setFromDocUris(fromDocUris);
	        requestObj.setToDocUris(toDocUris);
	        return doRequest(requestObj, "RENAMEDOCS", new RenameDocsTypeReference());    }

	    private static final class DeleteDocsByUriPrefixTypeReference extends TypeReference> {
	    }    
	    @Override
	    public List deleteDocsByUriPrefix(CallingContext context, String docUri) {
	        DeleteDocsByUriPrefixPayload requestObj = new DeleteDocsByUriPrefixPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocUri(docUri);
	        return doRequest(requestObj, "DELETEDOCSBYURIPREFIX", new DeleteDocsByUriPrefixTypeReference());    }

	    private static final class ListDocsByUriPrefixTypeReference extends TypeReference> {
	    }    
	    @Override
	    public Map listDocsByUriPrefix(CallingContext context, String docUri, int depth) {
	        ListDocsByUriPrefixPayload requestObj = new ListDocsByUriPrefixPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocUri(docUri);
	        requestObj.setDepth(depth);
	        return doRequest(requestObj, "LISTDOCSBYURIPREFIX", new ListDocsByUriPrefixTypeReference());    }

	    private static final class SetDocAttributeTypeReference extends TypeReference {
	    }    
	    @Override
	    public Boolean setDocAttribute(CallingContext context, String attributeUri, String value) {
	        SetDocAttributePayload requestObj = new SetDocAttributePayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setAttributeUri(attributeUri);
	        requestObj.setValue(value);
	        return doRequest(requestObj, "SETDOCATTRIBUTE", new SetDocAttributeTypeReference());    }

	    private static final class SetDocAttributesTypeReference extends TypeReference> {
	    }    
	    @Override
	    public Map setDocAttributes(CallingContext context, String attributeUri, List keys, List values) {
	        SetDocAttributesPayload requestObj = new SetDocAttributesPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setAttributeUri(attributeUri);
	        requestObj.setKeys(keys);
	        requestObj.setValues(values);
	        return doRequest(requestObj, "SETDOCATTRIBUTES", new SetDocAttributesTypeReference());    }

	    private static final class GetDocAttributeTypeReference extends TypeReference {
	    }    
	    @Override
	    public XferDocumentAttribute getDocAttribute(CallingContext context, String attributeUri) {
	        GetDocAttributePayload requestObj = new GetDocAttributePayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setAttributeUri(attributeUri);
	        return doRequest(requestObj, "GETDOCATTRIBUTE", new GetDocAttributeTypeReference());    }

	    private static final class GetDocAttributesTypeReference extends TypeReference> {
	    }    
	    @Override
	    public List getDocAttributes(CallingContext context, String attributeUri) {
	        GetDocAttributesPayload requestObj = new GetDocAttributesPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setAttributeUri(attributeUri);
	        return doRequest(requestObj, "GETDOCATTRIBUTES", new GetDocAttributesTypeReference());    }

	    private static final class DeleteDocAttributeTypeReference extends TypeReference {
	    }    
	    @Override
	    public Boolean deleteDocAttribute(CallingContext context, String attributeUri) {
	        DeleteDocAttributePayload requestObj = new DeleteDocAttributePayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setAttributeUri(attributeUri);
	        return doRequest(requestObj, "DELETEDOCATTRIBUTE", new DeleteDocAttributeTypeReference());    }

	    private static final class GetDocRepoIdGenUriTypeReference extends TypeReference {
	    }    
	    @Override
	    public String getDocRepoIdGenUri(CallingContext context, String docRepoUri) {
	        GetDocRepoIdGenUriPayload requestObj = new GetDocRepoIdGenUriPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocRepoUri(docRepoUri);
	        return doRequest(requestObj, "GETDOCREPOIDGENURI", new GetDocRepoIdGenUriTypeReference());    }

	    private static final class SetDocRepoIdGenConfigTypeReference extends TypeReference {
	    }    
	    @Override
	    public DocumentRepoConfig setDocRepoIdGenConfig(CallingContext context, String docRepoUri, String idGenConfig) {
	        SetDocRepoIdGenConfigPayload requestObj = new SetDocRepoIdGenConfigPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocRepoUri(docRepoUri);
	        requestObj.setIdGenConfig(idGenConfig);
	        return doRequest(requestObj, "SETDOCREPOIDGENCONFIG", new SetDocRepoIdGenConfigTypeReference());    }

	    private static final class GetDocRepoIdGenConfigTypeReference extends TypeReference {
	    }    
	    @Override
	    public RaptureIdGenConfig getDocRepoIdGenConfig(CallingContext context, String docRepoUri) {
	        GetDocRepoIdGenConfigPayload requestObj = new GetDocRepoIdGenConfigPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setDocRepoUri(docRepoUri);
	        return doRequest(requestObj, "GETDOCREPOIDGENCONFIG", new GetDocRepoIdGenConfigTypeReference());    }

	
	    @Override
	    public Boolean validateDocRepo(String docRepoUri) {
	        return validateDocRepo(null,docRepoUri);    }

	    @Override
	    public void createDocRepo(String docRepoUri, String config) {
	        createDocRepo(null,docRepoUri,config);    }

	    @Override
	    public Boolean docRepoExists(String docRepoUri) {
	        return docRepoExists(null,docRepoUri);    }

	    @Override
	    public Boolean docExists(String docUri) {
	        return docExists(null,docUri);    }

	    @Override
	    public DocumentRepoConfig getDocRepoConfig(String docRepoUri) {
	        return getDocRepoConfig(null,docRepoUri);    }

	    @Override
	    public Map getDocRepoStatus(String docRepoUri) {
	        return getDocRepoStatus(null,docRepoUri);    }

	    @Override
	    public List getDocRepoConfigs() {
	        return getDocRepoConfigs(null);    }

	    @Override
	    public void deleteDocRepo(String docRepoUri) {
	        deleteDocRepo(null,docRepoUri);    }

	    @Override
	    public void archiveRepoDocs(String docRepoUri, int versionLimit, long timeLimit, Boolean ensureVersionLimit) {
	        archiveRepoDocs(null,docRepoUri,versionLimit,timeLimit,ensureVersionLimit);    }

	    @Override
	    public DocumentWithMeta getDocAndMeta(String docUri) {
	        return getDocAndMeta(null,docUri);    }

	    @Override
	    public DocumentMetadata getDocMeta(String docUri) {
	        return getDocMeta(null,docUri);    }

	    @Override
	    public DocumentWithMeta revertDoc(String docUri) {
	        return revertDoc(null,docUri);    }

	    @Override
	    public String getDoc(String docUri) {
	        return getDoc(null,docUri);    }

	    @Override
	    public String putDoc(String docUri, String content) {
	        return putDoc(null,docUri,content);    }

	    @Override
	    public Boolean putDocWithVersion(String docUri, String content, int currentVersion) {
	        return putDocWithVersion(null,docUri,content,currentVersion);    }

	    @Override
	    public DocWriteHandle putDocWithEventContext(String docUri, String content, Map eventContext) {
	        return putDocWithEventContext(null,docUri,content,eventContext);    }

	    @Override
	    public Boolean deleteDoc(String docUri) {
	        return deleteDoc(null,docUri);    }

	    @Override
	    public String renameDoc(String fromDocUri, String toDocUri) {
	        return renameDoc(null,fromDocUri,toDocUri);    }

	    @Override
	    public Map getDocs(List docUris) {
	        return getDocs(null,docUris);    }

	    @Override
	    public List getDocAndMetas(List docUris) {
	        return getDocAndMetas(null,docUris);    }

	    @Override
	    public List docsExist(List docUris) {
	        return docsExist(null,docUris);    }

	    @Override
	    public List putDocs(List docUris, List contents) {
	        return putDocs(null,docUris,contents);    }

	    @Override
	    public List renameDocs(String authority, String comment, List fromDocUris, List toDocUris) {
	        return renameDocs(null,authority,comment,fromDocUris,toDocUris);    }

	    @Override
	    public List deleteDocsByUriPrefix(String docUri) {
	        return deleteDocsByUriPrefix(null,docUri);    }

	    @Override
	    public Map listDocsByUriPrefix(String docUri, int depth) {
	        return listDocsByUriPrefix(null,docUri,depth);    }

	    @Override
	    public Boolean setDocAttribute(String attributeUri, String value) {
	        return setDocAttribute(null,attributeUri,value);    }

	    @Override
	    public Map setDocAttributes(String attributeUri, List keys, List values) {
	        return setDocAttributes(null,attributeUri,keys,values);    }

	    @Override
	    public XferDocumentAttribute getDocAttribute(String attributeUri) {
	        return getDocAttribute(null,attributeUri);    }

	    @Override
	    public List getDocAttributes(String attributeUri) {
	        return getDocAttributes(null,attributeUri);    }

	    @Override
	    public Boolean deleteDocAttribute(String attributeUri) {
	        return deleteDocAttribute(null,attributeUri);    }

	    @Override
	    public String getDocRepoIdGenUri(String docRepoUri) {
	        return getDocRepoIdGenUri(null,docRepoUri);    }

	    @Override
	    public DocumentRepoConfig setDocRepoIdGenConfig(String docRepoUri, String idGenConfig) {
	        return setDocRepoIdGenConfig(null,docRepoUri,idGenConfig);    }

	    @Override
	    public RaptureIdGenConfig getDocRepoIdGenConfig(String docRepoUri) {
	        return getDocRepoIdGenConfig(null,docRepoUri);    }

}