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

joynr.infrastructure.DefaultGlobalDomainAccessControllerProvider Maven / Gradle / Ivy

There is a newer version: 1.25.0
Show newest version
/*
 *
 * Copyright (C) 2011 - 2016 BMW Car IT GmbH
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// #####################################################
//#######################################################
//###                                                 ###
//##    WARNING: This file is generated. DO NOT EDIT   ##
//##             All changes will be lost!             ##
//###                                                 ###
//#######################################################
// #####################################################
package joynr.infrastructure;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import io.joynr.provider.Promise;

import joynr.infrastructure.DacTypes.DomainRoleEntry;
import joynr.infrastructure.DacTypes.MasterAccessControlEntry;
import joynr.infrastructure.DacTypes.MasterRegistrationControlEntry;
import joynr.infrastructure.DacTypes.OwnerAccessControlEntry;
import joynr.infrastructure.DacTypes.OwnerRegistrationControlEntry;
import joynr.infrastructure.DacTypes.Role;

public class DefaultGlobalDomainAccessControllerProvider extends GlobalDomainAccessControllerAbstractProvider {
	private static final Logger logger = LoggerFactory.getLogger(DefaultGlobalDomainAccessControllerProvider.class);


	public DefaultGlobalDomainAccessControllerProvider() {
	}



	/*
	* getDomainRoles
	*/
	@Override
	public Promise getDomainRoles(
			String uid) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.getDomainRoles called");
		logger.warn("**********************************************");
		GetDomainRolesDeferred deferred = new GetDomainRolesDeferred();
		DomainRoleEntry[] domainRoleEntries = {};
		deferred.resolve(domainRoleEntries);
		return new Promise<>(deferred);
	}

	/*
	* updateDomainRole
	*/
	@Override
	public Promise updateDomainRole(
			DomainRoleEntry updatedEntry) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.updateDomainRole called");
		logger.warn("**********************************************");
		UpdateDomainRoleDeferred deferred = new UpdateDomainRoleDeferred();
		Boolean success = false;
		deferred.resolve(success);
		return new Promise<>(deferred);
	}

	/*
	* removeDomainRole
	*/
	@Override
	public Promise removeDomainRole(
			String uid,
			Role role) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.removeDomainRole called");
		logger.warn("**********************************************");
		RemoveDomainRoleDeferred deferred = new RemoveDomainRoleDeferred();
		Boolean success = false;
		deferred.resolve(success);
		return new Promise<>(deferred);
	}

	/*
	* getMasterAccessControlEntries
	*/
	@Override
	public Promise getMasterAccessControlEntries(
			String uid) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.getMasterAccessControlEntries called");
		logger.warn("**********************************************");
		GetMasterAccessControlEntries1Deferred deferred = new GetMasterAccessControlEntries1Deferred();
		MasterAccessControlEntry[] masterAces = {};
		deferred.resolve(masterAces);
		return new Promise<>(deferred);
	}

	/*
	* getEditableMasterAccessControlEntries
	*/
	@Override
	public Promise getEditableMasterAccessControlEntries(
			String uid) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.getEditableMasterAccessControlEntries called");
		logger.warn("**********************************************");
		GetEditableMasterAccessControlEntriesDeferred deferred = new GetEditableMasterAccessControlEntriesDeferred();
		MasterAccessControlEntry[] masterAces = {};
		deferred.resolve(masterAces);
		return new Promise<>(deferred);
	}

	/*
	* getMasterAccessControlEntries
	*/
	@Override
	public Promise getMasterAccessControlEntries(
			String domain,
			String interfaceName) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.getMasterAccessControlEntries called");
		logger.warn("**********************************************");
		GetMasterAccessControlEntries1Deferred deferred = new GetMasterAccessControlEntries1Deferred();
		MasterAccessControlEntry[] masterAces = {};
		deferred.resolve(masterAces);
		return new Promise<>(deferred);
	}

	/*
	* updateMasterAccessControlEntry
	*/
	@Override
	public Promise updateMasterAccessControlEntry(
			MasterAccessControlEntry updatedMasterAce) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.updateMasterAccessControlEntry called");
		logger.warn("**********************************************");
		UpdateMasterAccessControlEntryDeferred deferred = new UpdateMasterAccessControlEntryDeferred();
		Boolean success = false;
		deferred.resolve(success);
		return new Promise<>(deferred);
	}

	/*
	* removeMasterAccessControlEntry
	*/
	@Override
	public Promise removeMasterAccessControlEntry(
			String uid,
			String domain,
			String interfaceName,
			String operation) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.removeMasterAccessControlEntry called");
		logger.warn("**********************************************");
		RemoveMasterAccessControlEntryDeferred deferred = new RemoveMasterAccessControlEntryDeferred();
		Boolean success = false;
		deferred.resolve(success);
		return new Promise<>(deferred);
	}

	/*
	* getMediatorAccessControlEntries
	*/
	@Override
	public Promise getMediatorAccessControlEntries(
			String uid) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.getMediatorAccessControlEntries called");
		logger.warn("**********************************************");
		GetMediatorAccessControlEntries1Deferred deferred = new GetMediatorAccessControlEntries1Deferred();
		MasterAccessControlEntry[] mediatorAces = {};
		deferred.resolve(mediatorAces);
		return new Promise<>(deferred);
	}

	/*
	* getEditableMediatorAccessControlEntries
	*/
	@Override
	public Promise getEditableMediatorAccessControlEntries(
			String uid) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.getEditableMediatorAccessControlEntries called");
		logger.warn("**********************************************");
		GetEditableMediatorAccessControlEntriesDeferred deferred = new GetEditableMediatorAccessControlEntriesDeferred();
		MasterAccessControlEntry[] mediatorAces = {};
		deferred.resolve(mediatorAces);
		return new Promise<>(deferred);
	}

	/*
	* getMediatorAccessControlEntries
	*/
	@Override
	public Promise getMediatorAccessControlEntries(
			String domain,
			String interfaceName) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.getMediatorAccessControlEntries called");
		logger.warn("**********************************************");
		GetMediatorAccessControlEntries1Deferred deferred = new GetMediatorAccessControlEntries1Deferred();
		MasterAccessControlEntry[] mediatorAces = {};
		deferred.resolve(mediatorAces);
		return new Promise<>(deferred);
	}

	/*
	* updateMediatorAccessControlEntry
	*/
	@Override
	public Promise updateMediatorAccessControlEntry(
			MasterAccessControlEntry updatedMediatorAce) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.updateMediatorAccessControlEntry called");
		logger.warn("**********************************************");
		UpdateMediatorAccessControlEntryDeferred deferred = new UpdateMediatorAccessControlEntryDeferred();
		Boolean success = false;
		deferred.resolve(success);
		return new Promise<>(deferred);
	}

	/*
	* removeMediatorAccessControlEntry
	*/
	@Override
	public Promise removeMediatorAccessControlEntry(
			String uid,
			String domain,
			String interfaceName,
			String operation) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.removeMediatorAccessControlEntry called");
		logger.warn("**********************************************");
		RemoveMediatorAccessControlEntryDeferred deferred = new RemoveMediatorAccessControlEntryDeferred();
		Boolean success = false;
		deferred.resolve(success);
		return new Promise<>(deferred);
	}

	/*
	* getOwnerAccessControlEntries
	*/
	@Override
	public Promise getOwnerAccessControlEntries(
			String uid) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.getOwnerAccessControlEntries called");
		logger.warn("**********************************************");
		GetOwnerAccessControlEntries1Deferred deferred = new GetOwnerAccessControlEntries1Deferred();
		OwnerAccessControlEntry[] ownerAces = {};
		deferred.resolve(ownerAces);
		return new Promise<>(deferred);
	}

	/*
	* getOwnerAccessControlEntries
	*/
	@Override
	public Promise getOwnerAccessControlEntries(
			String domain,
			String interfaceName) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.getOwnerAccessControlEntries called");
		logger.warn("**********************************************");
		GetOwnerAccessControlEntries1Deferred deferred = new GetOwnerAccessControlEntries1Deferred();
		OwnerAccessControlEntry[] ownerAces = {};
		deferred.resolve(ownerAces);
		return new Promise<>(deferred);
	}

	/*
	* getEditableOwnerAccessControlEntries
	*/
	@Override
	public Promise getEditableOwnerAccessControlEntries(
			String uid) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.getEditableOwnerAccessControlEntries called");
		logger.warn("**********************************************");
		GetEditableOwnerAccessControlEntriesDeferred deferred = new GetEditableOwnerAccessControlEntriesDeferred();
		OwnerAccessControlEntry[] ownerAces = {};
		deferred.resolve(ownerAces);
		return new Promise<>(deferred);
	}

	/*
	* updateOwnerAccessControlEntry
	*/
	@Override
	public Promise updateOwnerAccessControlEntry(
			OwnerAccessControlEntry updatedOwnerAce) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.updateOwnerAccessControlEntry called");
		logger.warn("**********************************************");
		UpdateOwnerAccessControlEntryDeferred deferred = new UpdateOwnerAccessControlEntryDeferred();
		Boolean success = false;
		deferred.resolve(success);
		return new Promise<>(deferred);
	}

	/*
	* removeOwnerAccessControlEntry
	*/
	@Override
	public Promise removeOwnerAccessControlEntry(
			String uid,
			String domain,
			String interfaceName,
			String operation) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.removeOwnerAccessControlEntry called");
		logger.warn("**********************************************");
		RemoveOwnerAccessControlEntryDeferred deferred = new RemoveOwnerAccessControlEntryDeferred();
		Boolean success = false;
		deferred.resolve(success);
		return new Promise<>(deferred);
	}

	/*
	* getMasterRegistrationControlEntries
	*/
	@Override
	public Promise getMasterRegistrationControlEntries(
			String uid) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.getMasterRegistrationControlEntries called");
		logger.warn("**********************************************");
		GetMasterRegistrationControlEntriesDeferred deferred = new GetMasterRegistrationControlEntriesDeferred();
		MasterRegistrationControlEntry[] masterRces = {};
		deferred.resolve(masterRces);
		return new Promise<>(deferred);
	}

	/*
	* getEditableMasterRegistrationControlEntries
	*/
	@Override
	public Promise getEditableMasterRegistrationControlEntries(
			String uid) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.getEditableMasterRegistrationControlEntries called");
		logger.warn("**********************************************");
		GetEditableMasterRegistrationControlEntriesDeferred deferred = new GetEditableMasterRegistrationControlEntriesDeferred();
		MasterRegistrationControlEntry[] masterRces = {};
		deferred.resolve(masterRces);
		return new Promise<>(deferred);
	}

	/*
	* updateMasterRegistrationControlEntry
	*/
	@Override
	public Promise updateMasterRegistrationControlEntry(
			MasterRegistrationControlEntry updatedMasterRce) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.updateMasterRegistrationControlEntry called");
		logger.warn("**********************************************");
		UpdateMasterRegistrationControlEntryDeferred deferred = new UpdateMasterRegistrationControlEntryDeferred();
		Boolean success = false;
		deferred.resolve(success);
		return new Promise<>(deferred);
	}

	/*
	* removeMasterRegistrationControlEntry
	*/
	@Override
	public Promise removeMasterRegistrationControlEntry(
			String uid,
			String domain,
			String interfaceName) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.removeMasterRegistrationControlEntry called");
		logger.warn("**********************************************");
		RemoveMasterRegistrationControlEntryDeferred deferred = new RemoveMasterRegistrationControlEntryDeferred();
		Boolean success = false;
		deferred.resolve(success);
		return new Promise<>(deferred);
	}

	/*
	* getMediatorRegistrationControlEntries
	*/
	@Override
	public Promise getMediatorRegistrationControlEntries(
			String uid) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.getMediatorRegistrationControlEntries called");
		logger.warn("**********************************************");
		GetMediatorRegistrationControlEntriesDeferred deferred = new GetMediatorRegistrationControlEntriesDeferred();
		MasterRegistrationControlEntry[] mediatorRces = {};
		deferred.resolve(mediatorRces);
		return new Promise<>(deferred);
	}

	/*
	* getEditableMediatorRegistrationControlEntries
	*/
	@Override
	public Promise getEditableMediatorRegistrationControlEntries(
			String uid) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.getEditableMediatorRegistrationControlEntries called");
		logger.warn("**********************************************");
		GetEditableMediatorRegistrationControlEntriesDeferred deferred = new GetEditableMediatorRegistrationControlEntriesDeferred();
		MasterRegistrationControlEntry[] mediatorRces = {};
		deferred.resolve(mediatorRces);
		return new Promise<>(deferred);
	}

	/*
	* updateMediatorRegistrationControlEntry
	*/
	@Override
	public Promise updateMediatorRegistrationControlEntry(
			MasterRegistrationControlEntry updatedMediatorRce) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.updateMediatorRegistrationControlEntry called");
		logger.warn("**********************************************");
		UpdateMediatorRegistrationControlEntryDeferred deferred = new UpdateMediatorRegistrationControlEntryDeferred();
		Boolean success = false;
		deferred.resolve(success);
		return new Promise<>(deferred);
	}

	/*
	* removeMediatorRegistrationControlEntry
	*/
	@Override
	public Promise removeMediatorRegistrationControlEntry(
			String uid,
			String domain,
			String interfaceName) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.removeMediatorRegistrationControlEntry called");
		logger.warn("**********************************************");
		RemoveMediatorRegistrationControlEntryDeferred deferred = new RemoveMediatorRegistrationControlEntryDeferred();
		Boolean success = false;
		deferred.resolve(success);
		return new Promise<>(deferred);
	}

	/*
	* getOwnerRegistrationControlEntries
	*/
	@Override
	public Promise getOwnerRegistrationControlEntries(
			String uid) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.getOwnerRegistrationControlEntries called");
		logger.warn("**********************************************");
		GetOwnerRegistrationControlEntriesDeferred deferred = new GetOwnerRegistrationControlEntriesDeferred();
		OwnerRegistrationControlEntry[] ownerRces = {};
		deferred.resolve(ownerRces);
		return new Promise<>(deferred);
	}

	/*
	* getEditableOwnerRegistrationControlEntries
	*/
	@Override
	public Promise getEditableOwnerRegistrationControlEntries(
			String uid) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.getEditableOwnerRegistrationControlEntries called");
		logger.warn("**********************************************");
		GetEditableOwnerRegistrationControlEntriesDeferred deferred = new GetEditableOwnerRegistrationControlEntriesDeferred();
		OwnerRegistrationControlEntry[] ownerRces = {};
		deferred.resolve(ownerRces);
		return new Promise<>(deferred);
	}

	/*
	* updateOwnerRegistrationControlEntry
	*/
	@Override
	public Promise updateOwnerRegistrationControlEntry(
			OwnerRegistrationControlEntry updatedOwnerRce) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.updateOwnerRegistrationControlEntry called");
		logger.warn("**********************************************");
		UpdateOwnerRegistrationControlEntryDeferred deferred = new UpdateOwnerRegistrationControlEntryDeferred();
		Boolean success = false;
		deferred.resolve(success);
		return new Promise<>(deferred);
	}

	/*
	* removeOwnerRegistrationControlEntry
	*/
	@Override
	public Promise removeOwnerRegistrationControlEntry(
			String uid,
			String domain,
			String interfaceName) {
		logger.warn("**********************************************");
		logger.warn("* DefaultGlobalDomainAccessControllerProvider.removeOwnerRegistrationControlEntry called");
		logger.warn("**********************************************");
		RemoveOwnerRegistrationControlEntryDeferred deferred = new RemoveOwnerRegistrationControlEntryDeferred();
		Boolean success = false;
		deferred.resolve(success);
		return new Promise<>(deferred);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy