265 lines
8.2 KiB
Java
265 lines
8.2 KiB
Java
/*
|
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
|
* (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.mozilla.org/MPL/>.
|
|
*
|
|
* Software distributed under the License is distributed on an "AS IS" basis, WITHOUT
|
|
* WARRANTY OF ANY KIND, either express or implied. See the License for the specific
|
|
* language governing rights and limitations under the License.
|
|
*
|
|
* The Original Code is the Venice Web Communities System.
|
|
*
|
|
* The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
|
|
* for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
|
* Copyright (C) 2003 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
*/
|
|
package com.silverwrist.venice.conf.impl;
|
|
|
|
import java.security.acl.*;
|
|
import java.util.*;
|
|
import com.silverwrist.dynamo.iface.*;
|
|
import com.silverwrist.dynamo.except.*;
|
|
import com.silverwrist.venice.conf.iface.*;
|
|
import com.silverwrist.venice.conf.obj.*;
|
|
|
|
class ConferenceImpl implements VeniceConference
|
|
{
|
|
/*--------------------------------------------------------------------------------
|
|
* Attributes
|
|
*--------------------------------------------------------------------------------
|
|
*/
|
|
|
|
private DynamicImplConference m_dobj;
|
|
private ConferenceOps m_ops;
|
|
|
|
/*--------------------------------------------------------------------------------
|
|
* Constructor
|
|
*--------------------------------------------------------------------------------
|
|
*/
|
|
|
|
ConferenceImpl(ConferenceOps ops)
|
|
{
|
|
m_dobj = new DynamicImplConference(this);
|
|
m_ops = ops;
|
|
|
|
} // end constructor
|
|
|
|
/*--------------------------------------------------------------------------------
|
|
* Implementations from interface DynamicObject
|
|
*--------------------------------------------------------------------------------
|
|
*/
|
|
|
|
public Object get(String property_name) throws DynamicObjectException
|
|
{
|
|
return m_dobj.get(property_name);
|
|
|
|
} // end get
|
|
|
|
public void set(String property_name, Object value) throws DynamicObjectException
|
|
{
|
|
m_dobj.set(property_name,value);
|
|
|
|
} // end set
|
|
|
|
public Object call(String method_name, Object[] parameters) throws DynamicObjectException
|
|
{
|
|
return m_dobj.call(method_name,parameters);
|
|
|
|
} // end call
|
|
|
|
public Object call(String method_name, List parameters) throws DynamicObjectException
|
|
{
|
|
return m_dobj.call(method_name,parameters);
|
|
|
|
} // end call
|
|
|
|
public DynamicClass getDClass()
|
|
{
|
|
return m_dobj.getDClass();
|
|
|
|
} // end getDClass
|
|
|
|
/*--------------------------------------------------------------------------------
|
|
* Implementations from interface NamedObject
|
|
*--------------------------------------------------------------------------------
|
|
*/
|
|
|
|
/**
|
|
* Returns the name of this object.
|
|
*
|
|
* @return The name of this object.
|
|
*/
|
|
public String getName()
|
|
{
|
|
return null; // TEMP
|
|
|
|
}
|
|
|
|
/*--------------------------------------------------------------------------------
|
|
* Implementations from interface ObjectProvider
|
|
*--------------------------------------------------------------------------------
|
|
*/
|
|
|
|
/**
|
|
* Retrieves an object from this <CODE>ObjectProvider</CODE>.
|
|
*
|
|
* @param namespace The namespace to interpret the name relative to.
|
|
* @param name The name of the object to be retrieved.
|
|
* @return The object reference specified.
|
|
*/
|
|
public Object getObject(String namespace, String name)
|
|
{
|
|
return null; // TEMP
|
|
|
|
}
|
|
|
|
/*--------------------------------------------------------------------------------
|
|
* Implementations from interface SecureObjectStore
|
|
*--------------------------------------------------------------------------------
|
|
*/
|
|
|
|
/**
|
|
* Sets an object into this <CODE>SecureObjectStore</CODE>.
|
|
*
|
|
* @param caller The user performing the operation.
|
|
* @param namespace The namespace to interpret the name relative to.
|
|
* @param name The name of the object to be set.
|
|
* @param value The object to set into the <CODE>SecureObjectStore</CODE>.
|
|
* @return The previous object that was set into the <CODE>SecureObjectStore</CODE> under this namespace and name, or
|
|
* <CODE>null</CODE> if there was no such object.
|
|
* @exception com.silverwrist.dynamo.except.DatabaseException If there was an error setting the object value.
|
|
* @exception com.silverwrist.dynamo.except.DynamoSecurityException If the specified user is not permitted to
|
|
* set this object value into this <CODE>SecureObjectStore</CODE>.
|
|
*/
|
|
public Object setObject(DynamoUser caller, String namespace, String name, Object value)
|
|
throws DatabaseException, DynamoSecurityException
|
|
{
|
|
return null; // TEMP
|
|
|
|
}
|
|
|
|
/**
|
|
* Removes an object from this <CODE>SecureObjectStore</CODE>.
|
|
*
|
|
* @param caller The user performing the operation.
|
|
* @param namespace The namespace to interpret the name relative to.
|
|
* @param name The name of the object to be removed.
|
|
* @return The previous object that was set into the <CODE>SecureObjectStore</CODE> under this namespace and name, or
|
|
* <CODE>null</CODE> if there was no such object.
|
|
* @exception com.silverwrist.dynamo.except.DatabaseException If there was an error removing the object value.
|
|
* @exception com.silverwrist.dynamo.except.DynamoSecurityException If the specified user is not permitted to
|
|
* remove this object value from this <CODE>SecureObjectStore</CODE>.
|
|
*/
|
|
public Object removeObject(DynamoUser caller, String namespace, String name)
|
|
throws DatabaseException, DynamoSecurityException
|
|
{
|
|
return null; // TEMP
|
|
|
|
}
|
|
|
|
/**
|
|
* Returns a collection of all object namespaces that have been set into this <CODE>SecureObjectStore</CODE>.
|
|
*
|
|
* @return A {@link java.util.Collection Collection} containing {@link java.lang.String String} objects specifying
|
|
* all the object namespaces.
|
|
* @exception com.silverwrist.dynamo.except.DatabaseException If there was an error getting the namespace list.
|
|
*/
|
|
public Collection getNamespaces() throws DatabaseException
|
|
{
|
|
return null; // TEMP
|
|
|
|
}
|
|
|
|
/**
|
|
* Returns a collection of all object names that have been set into this <CODE>SecureObjectStore</CODE> under
|
|
* a given namespace.
|
|
*
|
|
* @param namespace The namespace to look for names under.
|
|
* @return A {@link java.util.Collection Collection} containing {@link java.lang.String String} objects
|
|
* specifying all the object names for this namespace.
|
|
* @exception com.silverwrist.dynamo.except.DatabaseException If there was an error getting the object name list.
|
|
*/
|
|
public Collection getNamesForNamespace(String namespace) throws DatabaseException
|
|
{
|
|
return null; // TEMP
|
|
|
|
}
|
|
|
|
/*--------------------------------------------------------------------------------
|
|
* Implementations from interface VeniceConference
|
|
*--------------------------------------------------------------------------------
|
|
*/
|
|
|
|
public int getConfID()
|
|
{
|
|
return -1; // TEMP
|
|
|
|
}
|
|
|
|
public void setName(DynamoUser caller, String name) throws DatabaseException, DynamoSecurityException
|
|
{
|
|
}
|
|
|
|
public java.util.Date getCreatedDate()
|
|
{
|
|
return null; // TEMP
|
|
|
|
}
|
|
|
|
public java.util.Date getLastUpdateDate()
|
|
{
|
|
return null; // TEMP
|
|
|
|
}
|
|
|
|
public void setLastUpdateDate(DynamoUser caller, java.util.Date date)
|
|
throws DatabaseException, DynamoSecurityException
|
|
{
|
|
}
|
|
|
|
public int getHostsGID()
|
|
{
|
|
return -1; // TEMP
|
|
|
|
}
|
|
|
|
public DynamoGroup getHosts() throws DatabaseException
|
|
{
|
|
return null; // TEMP
|
|
|
|
}
|
|
|
|
public DynamoAcl getAcl() throws DatabaseException, AclNotFoundException
|
|
{
|
|
return null; // TEMP
|
|
|
|
}
|
|
|
|
public Set getAliases() throws DatabaseException
|
|
{
|
|
return null; // TEMP
|
|
|
|
}
|
|
|
|
public String getPrimaryAlias() throws DatabaseException
|
|
{
|
|
return null; // TEMP
|
|
|
|
}
|
|
|
|
public void setPrimaryAlias(DynamoUser caller, String alias) throws DatabaseException, DynamoSecurityException
|
|
{
|
|
}
|
|
|
|
public void addAlias(DynamoUser caller, String alias) throws DatabaseException, DynamoSecurityException
|
|
{
|
|
}
|
|
|
|
public void removeAlias(DynamoUser caller, String alias) throws DatabaseException, DynamoSecurityException
|
|
{
|
|
}
|
|
|
|
} // end class ConferenceImpl
|