mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
107 lines
3.5 KiB
Java
107 lines
3.5 KiB
Java
// Copyright 2012 Citrix Systems, Inc. Licensed under the
|
|
// Apache License, Version 2.0 (the "License"); you may not use this
|
|
// file except in compliance with the License. Citrix Systems, Inc.
|
|
// reserves all rights not expressly granted by 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.
|
|
//
|
|
// Automatically generated by addcopyright.py at 04/03/2012
|
|
package com.cloud.vpc.dao;
|
|
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
import javax.ejb.Local;
|
|
|
|
import com.cloud.configuration.ConfigurationVO;
|
|
import com.cloud.configuration.dao.ConfigurationDao;
|
|
import com.cloud.utils.db.GenericDaoBase;
|
|
|
|
@Local(value={ConfigurationDao.class})
|
|
public class MockConfigurationDaoImpl extends GenericDaoBase<ConfigurationVO, String> implements ConfigurationDao{
|
|
|
|
/* (non-Javadoc)
|
|
* @see com.cloud.configuration.dao.ConfigurationDao#getConfiguration(java.lang.String, java.util.Map)
|
|
*/
|
|
@Override
|
|
public Map<String, String> getConfiguration(String instance, Map<String, ? extends Object> params) {
|
|
return new HashMap<String, String>();
|
|
}
|
|
|
|
/* (non-Javadoc)
|
|
* @see com.cloud.configuration.dao.ConfigurationDao#getConfiguration(java.util.Map)
|
|
*/
|
|
@Override
|
|
public Map<String, String> getConfiguration(Map<String, ? extends Object> params) {
|
|
return new HashMap<String, String>();
|
|
}
|
|
|
|
/* (non-Javadoc)
|
|
* @see com.cloud.configuration.dao.ConfigurationDao#getConfiguration()
|
|
*/
|
|
@Override
|
|
public Map<String, String> getConfiguration() {
|
|
// TODO Auto-generated method stub
|
|
return null;
|
|
}
|
|
|
|
/* (non-Javadoc)
|
|
* @see com.cloud.configuration.dao.ConfigurationDao#update(java.lang.String, java.lang.String)
|
|
*/
|
|
@Override
|
|
public boolean update(String name, String value) {
|
|
// TODO Auto-generated method stub
|
|
return false;
|
|
}
|
|
|
|
/* (non-Javadoc)
|
|
* @see com.cloud.configuration.dao.ConfigurationDao#getValue(java.lang.String)
|
|
*/
|
|
@Override
|
|
public String getValue(String name) {
|
|
// TODO Auto-generated method stub
|
|
return null;
|
|
}
|
|
|
|
/* (non-Javadoc)
|
|
* @see com.cloud.configuration.dao.ConfigurationDao#getValueAndInitIfNotExist(java.lang.String, java.lang.String, java.lang.String)
|
|
*/
|
|
@Override
|
|
public String getValueAndInitIfNotExist(String name, String category, String initValue) {
|
|
// TODO Auto-generated method stub
|
|
return null;
|
|
}
|
|
|
|
/* (non-Javadoc)
|
|
* @see com.cloud.configuration.dao.ConfigurationDao#isPremium()
|
|
*/
|
|
@Override
|
|
public boolean isPremium() {
|
|
// TODO Auto-generated method stub
|
|
return false;
|
|
}
|
|
|
|
/* (non-Javadoc)
|
|
* @see com.cloud.configuration.dao.ConfigurationDao#findByName(java.lang.String)
|
|
*/
|
|
@Override
|
|
public ConfigurationVO findByName(String name) {
|
|
// TODO Auto-generated method stub
|
|
return null;
|
|
}
|
|
|
|
/* (non-Javadoc)
|
|
* @see com.cloud.configuration.dao.ConfigurationDao#update(java.lang.String, java.lang.String, java.lang.String)
|
|
*/
|
|
@Override
|
|
public boolean update(String name, String category, String value) {
|
|
// TODO Auto-generated method stub
|
|
return false;
|
|
}
|
|
|
|
}
|