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

rapture.common.client.HttpAdminApi 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.AdminApi;
import rapture.common.api.ScriptAdminApi;
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.TypeArchiveConfig;
import rapture.common.model.RepoConfig;
import rapture.common.CallingContext;
import rapture.common.model.RaptureUser;

import rapture.common.shared.admin.GetSystemPropertiesPayload;

import rapture.common.shared.admin.GetRepoConfigPayload;

import rapture.common.shared.admin.GetSessionsForUserPayload;

import rapture.common.shared.admin.DeleteUserPayload;

import rapture.common.shared.admin.DestroyUserPayload;

import rapture.common.shared.admin.RestoreUserPayload;

import rapture.common.shared.admin.AddUserPayload;

import rapture.common.shared.admin.VerifyUserPayload;

import rapture.common.shared.admin.DoesUserExistPayload;

import rapture.common.shared.admin.GetUserPayload;

import rapture.common.shared.admin.GenerateApiUserPayload;

import rapture.common.shared.admin.ResetUserPasswordPayload;

import rapture.common.shared.admin.CreatePasswordResetTokenPayload;

import rapture.common.shared.admin.CreateRegistrationTokenPayload;

import rapture.common.shared.admin.CancelPasswordResetTokenPayload;

import rapture.common.shared.admin.EmailUserPayload;

import rapture.common.shared.admin.UpdateUserEmailPayload;

import rapture.common.shared.admin.AddTemplatePayload;

import rapture.common.shared.admin.RunTemplatePayload;

import rapture.common.shared.admin.GetTemplatePayload;

import rapture.common.shared.admin.CopyDocumentRepoPayload;

import rapture.common.shared.admin.AddIPToWhiteListPayload;

import rapture.common.shared.admin.RemoveIPFromWhiteListPayload;

import rapture.common.shared.admin.GetIPWhiteListPayload;

import rapture.common.shared.admin.GetAllUsersPayload;

import rapture.common.shared.admin.InitiateTypeConversionPayload;

import rapture.common.shared.admin.PutArchiveConfigPayload;

import rapture.common.shared.admin.GetArchiveConfigPayload;

import rapture.common.shared.admin.DeleteArchiveConfigPayload;

import rapture.common.shared.admin.PingPayload;

import rapture.common.shared.admin.AddMetadataPayload;

import rapture.common.shared.admin.SetMOTDPayload;

import rapture.common.shared.admin.GetMOTDPayload;

import rapture.common.shared.admin.SetEnvironmentNamePayload;

import rapture.common.shared.admin.SetEnvironmentPropertiesPayload;

import rapture.common.shared.admin.GetEnvironmentNamePayload;

import rapture.common.shared.admin.GetEnvironmentPropertiesPayload;

import rapture.common.shared.admin.EncodePayload;

import rapture.common.shared.admin.CreateURIPayload;

import rapture.common.shared.admin.CreateMultipartURIPayload;

import rapture.common.shared.admin.DecodePayload;

import rapture.common.shared.admin.FindGroupNamesByUserPayload;


@SuppressWarnings("all")
public class HttpAdminApi extends BaseHttpApi implements AdminApi, ScriptAdminApi {
        private static final Logger log = Logger.getLogger(HttpAdminApi.class);

	public HttpAdminApi(HttpLoginApi login) {
		super(login, "admin");
	}
		
	    private static final class GetSystemPropertiesTypeReference extends TypeReference> {
	    }    
	    @Override
	    public Map getSystemProperties(CallingContext context, List keys) {
	        GetSystemPropertiesPayload requestObj = new GetSystemPropertiesPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setKeys(keys);
	        return doRequest(requestObj, "GETSYSTEMPROPERTIES", new GetSystemPropertiesTypeReference());    }

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

	    private static final class GetSessionsForUserTypeReference extends TypeReference> {
	    }    
	    @Override
	    public List getSessionsForUser(CallingContext context, String user) {
	        GetSessionsForUserPayload requestObj = new GetSessionsForUserPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setUser(user);
	        return doRequest(requestObj, "GETSESSIONSFORUSER", new GetSessionsForUserTypeReference());    }

	    
	    @Override
	    public void deleteUser(CallingContext context, String userName) {
	        DeleteUserPayload requestObj = new DeleteUserPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setUserName(userName);
	        doRequest(requestObj, "DELETEUSER", null);    }

	    
	    @Override
	    public void destroyUser(CallingContext context, String userName) {
	        DestroyUserPayload requestObj = new DestroyUserPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setUserName(userName);
	        doRequest(requestObj, "DESTROYUSER", null);    }

	    
	    @Override
	    public void restoreUser(CallingContext context, String userName) {
	        RestoreUserPayload requestObj = new RestoreUserPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setUserName(userName);
	        doRequest(requestObj, "RESTOREUSER", null);    }

	    
	    @Override
	    public void addUser(CallingContext context, String userName, String description, String hashPassword, String email) {
	        AddUserPayload requestObj = new AddUserPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setUserName(userName);
	        requestObj.setDescription(description);
	        requestObj.setHashPassword(hashPassword);
	        requestObj.setEmail(email);
	        doRequest(requestObj, "ADDUSER", null);    }

	    private static final class VerifyUserTypeReference extends TypeReference {
	    }    
	    @Override
	    public Boolean verifyUser(CallingContext context, String userName, String token) {
	        VerifyUserPayload requestObj = new VerifyUserPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setUserName(userName);
	        requestObj.setToken(token);
	        return doRequest(requestObj, "VERIFYUSER", new VerifyUserTypeReference());    }

	    private static final class DoesUserExistTypeReference extends TypeReference {
	    }    
	    @Override
	    public Boolean doesUserExist(CallingContext context, String userName) {
	        DoesUserExistPayload requestObj = new DoesUserExistPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setUserName(userName);
	        return doRequest(requestObj, "DOESUSEREXIST", new DoesUserExistTypeReference());    }

	    private static final class GetUserTypeReference extends TypeReference {
	    }    
	    @Override
	    public RaptureUser getUser(CallingContext context, String userName) {
	        GetUserPayload requestObj = new GetUserPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setUserName(userName);
	        return doRequest(requestObj, "GETUSER", new GetUserTypeReference());    }

	    private static final class GenerateApiUserTypeReference extends TypeReference {
	    }    
	    @Override
	    public RaptureUser generateApiUser(CallingContext context, String prefix, String description) {
	        GenerateApiUserPayload requestObj = new GenerateApiUserPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setPrefix(prefix);
	        requestObj.setDescription(description);
	        return doRequest(requestObj, "GENERATEAPIUSER", new GenerateApiUserTypeReference());    }

	    
	    @Override
	    public void resetUserPassword(CallingContext context, String userName, String newHashPassword) {
	        ResetUserPasswordPayload requestObj = new ResetUserPasswordPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setUserName(userName);
	        requestObj.setNewHashPassword(newHashPassword);
	        doRequest(requestObj, "RESETUSERPASSWORD", null);    }

	    private static final class CreatePasswordResetTokenTypeReference extends TypeReference {
	    }    
	    @Override
	    public String createPasswordResetToken(CallingContext context, String username) {
	        CreatePasswordResetTokenPayload requestObj = new CreatePasswordResetTokenPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setUsername(username);
	        return doRequest(requestObj, "CREATEPASSWORDRESETTOKEN", new CreatePasswordResetTokenTypeReference());    }

	    private static final class CreateRegistrationTokenTypeReference extends TypeReference {
	    }    
	    @Override
	    public String createRegistrationToken(CallingContext context, String username) {
	        CreateRegistrationTokenPayload requestObj = new CreateRegistrationTokenPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setUsername(username);
	        return doRequest(requestObj, "CREATEREGISTRATIONTOKEN", new CreateRegistrationTokenTypeReference());    }

	    
	    @Override
	    public void cancelPasswordResetToken(CallingContext context, String username) {
	        CancelPasswordResetTokenPayload requestObj = new CancelPasswordResetTokenPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setUsername(username);
	        doRequest(requestObj, "CANCELPASSWORDRESETTOKEN", null);    }

	    
	    @Override
	    public void emailUser(CallingContext context, String userName, String emailTemplate, Map templateValues) {
	        EmailUserPayload requestObj = new EmailUserPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setUserName(userName);
	        requestObj.setEmailTemplate(emailTemplate);
	        requestObj.setTemplateValues(templateValues);
	        doRequest(requestObj, "EMAILUSER", null);    }

	    
	    @Override
	    public void updateUserEmail(CallingContext context, String userName, String newEmail) {
	        UpdateUserEmailPayload requestObj = new UpdateUserEmailPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setUserName(userName);
	        requestObj.setNewEmail(newEmail);
	        doRequest(requestObj, "UPDATEUSEREMAIL", null);    }

	    
	    @Override
	    public void addTemplate(CallingContext context, String name, String template, Boolean overwrite) {
	        AddTemplatePayload requestObj = new AddTemplatePayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setName(name);
	        requestObj.setTemplate(template);
	        requestObj.setOverwrite(overwrite);
	        doRequest(requestObj, "ADDTEMPLATE", null);    }

	    private static final class RunTemplateTypeReference extends TypeReference {
	    }    
	    @Override
	    public String runTemplate(CallingContext context, String name, String parameters) {
	        RunTemplatePayload requestObj = new RunTemplatePayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setName(name);
	        requestObj.setParameters(parameters);
	        return doRequest(requestObj, "RUNTEMPLATE", new RunTemplateTypeReference());    }

	    private static final class GetTemplateTypeReference extends TypeReference {
	    }    
	    @Override
	    public String getTemplate(CallingContext context, String name) {
	        GetTemplatePayload requestObj = new GetTemplatePayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setName(name);
	        return doRequest(requestObj, "GETTEMPLATE", new GetTemplateTypeReference());    }

	    
	    @Override
	    public void copyDocumentRepo(CallingContext context, String srcAuthority, String targAuthority, Boolean wipe) {
	        CopyDocumentRepoPayload requestObj = new CopyDocumentRepoPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setSrcAuthority(srcAuthority);
	        requestObj.setTargAuthority(targAuthority);
	        requestObj.setWipe(wipe);
	        doRequest(requestObj, "COPYDOCUMENTREPO", null);    }

	    
	    @Override
	    public void addIPToWhiteList(CallingContext context, String ipAddress) {
	        AddIPToWhiteListPayload requestObj = new AddIPToWhiteListPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setIpAddress(ipAddress);
	        doRequest(requestObj, "ADDIPTOWHITELIST", null);    }

	    
	    @Override
	    public void removeIPFromWhiteList(CallingContext context, String ipAddress) {
	        RemoveIPFromWhiteListPayload requestObj = new RemoveIPFromWhiteListPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setIpAddress(ipAddress);
	        doRequest(requestObj, "REMOVEIPFROMWHITELIST", null);    }

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

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

	    
	    @Override
	    public void initiateTypeConversion(CallingContext context, String raptureURI, String newConfig, int versionsToKeep) {
	        InitiateTypeConversionPayload requestObj = new InitiateTypeConversionPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setRaptureURI(raptureURI);
	        requestObj.setNewConfig(newConfig);
	        requestObj.setVersionsToKeep(versionsToKeep);
	        doRequest(requestObj, "INITIATETYPECONVERSION", null);    }

	    
	    @Override
	    public void putArchiveConfig(CallingContext context, String raptureURI, TypeArchiveConfig config) {
	        PutArchiveConfigPayload requestObj = new PutArchiveConfigPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setRaptureURI(raptureURI);
	        requestObj.setConfig(config);
	        doRequest(requestObj, "PUTARCHIVECONFIG", null);    }

	    private static final class GetArchiveConfigTypeReference extends TypeReference {
	    }    
	    @Override
	    public TypeArchiveConfig getArchiveConfig(CallingContext context, String raptureURI) {
	        GetArchiveConfigPayload requestObj = new GetArchiveConfigPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setRaptureURI(raptureURI);
	        return doRequest(requestObj, "GETARCHIVECONFIG", new GetArchiveConfigTypeReference());    }

	    
	    @Override
	    public void deleteArchiveConfig(CallingContext context, String raptureURI) {
	        DeleteArchiveConfigPayload requestObj = new DeleteArchiveConfigPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setRaptureURI(raptureURI);
	        doRequest(requestObj, "DELETEARCHIVECONFIG", null);    }

	    private static final class PingTypeReference extends TypeReference {
	    }    
	    @Override
	    public Boolean ping(CallingContext context) {
	        PingPayload requestObj = new PingPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        return doRequest(requestObj, "PING", new PingTypeReference());    }

	    
	    @Override
	    public void addMetadata(CallingContext context, Map values, Boolean overwrite) {
	        AddMetadataPayload requestObj = new AddMetadataPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setValues(values);
	        requestObj.setOverwrite(overwrite);
	        doRequest(requestObj, "ADDMETADATA", null);    }

	    
	    @Override
	    public void setMOTD(CallingContext context, String message) {
	        SetMOTDPayload requestObj = new SetMOTDPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setMessage(message);
	        doRequest(requestObj, "SETMOTD", null);    }

	    private static final class GetMOTDTypeReference extends TypeReference {
	    }    
	    @Override
	    public String getMOTD(CallingContext context) {
	        GetMOTDPayload requestObj = new GetMOTDPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        return doRequest(requestObj, "GETMOTD", new GetMOTDTypeReference());    }

	    
	    @Override
	    public void setEnvironmentName(CallingContext context, String name) {
	        SetEnvironmentNamePayload requestObj = new SetEnvironmentNamePayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setName(name);
	        doRequest(requestObj, "SETENVIRONMENTNAME", null);    }

	    
	    @Override
	    public void setEnvironmentProperties(CallingContext context, Map properties) {
	        SetEnvironmentPropertiesPayload requestObj = new SetEnvironmentPropertiesPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setProperties(properties);
	        doRequest(requestObj, "SETENVIRONMENTPROPERTIES", null);    }

	    private static final class GetEnvironmentNameTypeReference extends TypeReference {
	    }    
	    @Override
	    public String getEnvironmentName(CallingContext context) {
	        GetEnvironmentNamePayload requestObj = new GetEnvironmentNamePayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        return doRequest(requestObj, "GETENVIRONMENTNAME", new GetEnvironmentNameTypeReference());    }

	    private static final class GetEnvironmentPropertiesTypeReference extends TypeReference> {
	    }    
	    @Override
	    public Map getEnvironmentProperties(CallingContext context) {
	        GetEnvironmentPropertiesPayload requestObj = new GetEnvironmentPropertiesPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        return doRequest(requestObj, "GETENVIRONMENTPROPERTIES", new GetEnvironmentPropertiesTypeReference());    }

	    private static final class EncodeTypeReference extends TypeReference {
	    }    
	    @Override
	    public String encode(CallingContext context, String toEncode) {
	        EncodePayload requestObj = new EncodePayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setToEncode(toEncode);
	        return doRequest(requestObj, "ENCODE", new EncodeTypeReference());    }

	    private static final class CreateURITypeReference extends TypeReference {
	    }    
	    @Override
	    public String createURI(CallingContext context, String path, String leaf) {
	        CreateURIPayload requestObj = new CreateURIPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setPath(path);
	        requestObj.setLeaf(leaf);
	        return doRequest(requestObj, "CREATEURI", new CreateURITypeReference());    }

	    private static final class CreateMultipartURITypeReference extends TypeReference {
	    }    
	    @Override
	    public String createMultipartURI(CallingContext context, List elements) {
	        CreateMultipartURIPayload requestObj = new CreateMultipartURIPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setElements(elements);
	        return doRequest(requestObj, "CREATEMULTIPARTURI", new CreateMultipartURITypeReference());    }

	    private static final class DecodeTypeReference extends TypeReference {
	    }    
	    @Override
	    public String decode(CallingContext context, String encoded) {
	        DecodePayload requestObj = new DecodePayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setEncoded(encoded);
	        return doRequest(requestObj, "DECODE", new DecodeTypeReference());    }

	    private static final class FindGroupNamesByUserTypeReference extends TypeReference> {
	    }    
	    @Override
	    public List findGroupNamesByUser(CallingContext context, String username) {
	        FindGroupNamesByUserPayload requestObj = new FindGroupNamesByUserPayload();
	        requestObj.setContext(context == null ? this.getContext() : context);
	        requestObj.setUsername(username);
	        return doRequest(requestObj, "FINDGROUPNAMESBYUSER", new FindGroupNamesByUserTypeReference());    }

	
	    @Override
	    public Map getSystemProperties(List keys) {
	        return getSystemProperties(null,keys);    }

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

	    @Override
	    public List getSessionsForUser(String user) {
	        return getSessionsForUser(null,user);    }

	    @Override
	    public void deleteUser(String userName) {
	        deleteUser(null,userName);    }

	    @Override
	    public void destroyUser(String userName) {
	        destroyUser(null,userName);    }

	    @Override
	    public void restoreUser(String userName) {
	        restoreUser(null,userName);    }

	    @Override
	    public void addUser(String userName, String description, String hashPassword, String email) {
	        addUser(null,userName,description,hashPassword,email);    }

	    @Override
	    public Boolean verifyUser(String userName, String token) {
	        return verifyUser(null,userName,token);    }

	    @Override
	    public Boolean doesUserExist(String userName) {
	        return doesUserExist(null,userName);    }

	    @Override
	    public RaptureUser getUser(String userName) {
	        return getUser(null,userName);    }

	    @Override
	    public RaptureUser generateApiUser(String prefix, String description) {
	        return generateApiUser(null,prefix,description);    }

	    @Override
	    public void resetUserPassword(String userName, String newHashPassword) {
	        resetUserPassword(null,userName,newHashPassword);    }

	    @Override
	    public String createPasswordResetToken(String username) {
	        return createPasswordResetToken(null,username);    }

	    @Override
	    public String createRegistrationToken(String username) {
	        return createRegistrationToken(null,username);    }

	    @Override
	    public void cancelPasswordResetToken(String username) {
	        cancelPasswordResetToken(null,username);    }

	    @Override
	    public void emailUser(String userName, String emailTemplate, Map templateValues) {
	        emailUser(null,userName,emailTemplate,templateValues);    }

	    @Override
	    public void updateUserEmail(String userName, String newEmail) {
	        updateUserEmail(null,userName,newEmail);    }

	    @Override
	    public void addTemplate(String name, String template, Boolean overwrite) {
	        addTemplate(null,name,template,overwrite);    }

	    @Override
	    public String runTemplate(String name, String parameters) {
	        return runTemplate(null,name,parameters);    }

	    @Override
	    public String getTemplate(String name) {
	        return getTemplate(null,name);    }

	    @Override
	    public void copyDocumentRepo(String srcAuthority, String targAuthority, Boolean wipe) {
	        copyDocumentRepo(null,srcAuthority,targAuthority,wipe);    }

	    @Override
	    public void addIPToWhiteList(String ipAddress) {
	        addIPToWhiteList(null,ipAddress);    }

	    @Override
	    public void removeIPFromWhiteList(String ipAddress) {
	        removeIPFromWhiteList(null,ipAddress);    }

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

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

	    @Override
	    public void initiateTypeConversion(String raptureURI, String newConfig, int versionsToKeep) {
	        initiateTypeConversion(null,raptureURI,newConfig,versionsToKeep);    }

	    @Override
	    public void putArchiveConfig(String raptureURI, TypeArchiveConfig config) {
	        putArchiveConfig(null,raptureURI,config);    }

	    @Override
	    public TypeArchiveConfig getArchiveConfig(String raptureURI) {
	        return getArchiveConfig(null,raptureURI);    }

	    @Override
	    public void deleteArchiveConfig(String raptureURI) {
	        deleteArchiveConfig(null,raptureURI);    }

	    @Override
	    public Boolean ping() {
	        return ping(null);    }

	    @Override
	    public void addMetadata(Map values, Boolean overwrite) {
	        addMetadata(null,values,overwrite);    }

	    @Override
	    public void setMOTD(String message) {
	        setMOTD(null,message);    }

	    @Override
	    public String getMOTD() {
	        return getMOTD(null);    }

	    @Override
	    public void setEnvironmentName(String name) {
	        setEnvironmentName(null,name);    }

	    @Override
	    public void setEnvironmentProperties(Map properties) {
	        setEnvironmentProperties(null,properties);    }

	    @Override
	    public String getEnvironmentName() {
	        return getEnvironmentName(null);    }

	    @Override
	    public Map getEnvironmentProperties() {
	        return getEnvironmentProperties(null);    }

	    @Override
	    public String encode(String toEncode) {
	        return encode(null,toEncode);    }

	    @Override
	    public String createURI(String path, String leaf) {
	        return createURI(null,path,leaf);    }

	    @Override
	    public String createMultipartURI(List elements) {
	        return createMultipartURI(null,elements);    }

	    @Override
	    public String decode(String encoded) {
	        return decode(null,encoded);    }

	    @Override
	    public List findGroupNamesByUser(String username) {
	        return findGroupNamesByUser(null,username);    }

}






© 2015 - 2025 Weber Informatics LLC | Privacy Policy