You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by dl...@apache.org on 2005/08/22 21:05:48 UTC

cvs commit: ws-wsrp4j/sandbox/wsrp4j/commons/src/java/org/apache/wsrp4j/commons/persistence ServerPersistentFactory.java

dlouzan     2005/08/22 12:05:48

  Added:       sandbox/wsrp4j/commons/src/java/org/apache/wsrp4j/commons/persistence
                        ServerPersistentFactory.java
  Log:
  Initial commit.
  
  Revision  Changes    Path
  1.1                  ws-wsrp4j/sandbox/wsrp4j/commons/src/java/org/apache/wsrp4j/commons/persistence/ServerPersistentFactory.java
  
  Index: ServerPersistentFactory.java
  ===================================================================
  /*
   * Copyright 2003-2005 The Apache Software Foundation.
   * 
   * 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.
   */
  
  package org.apache.wsrp4j.commons.persistence;
  
  import org.apache.wsrp4j.commons.exception.WSRPException;
  
  
  /**
   * This class is the interface definition for the server persistence
   * support factory class. E.g. a Producer uses server persistent 
   * support. 
   *
   * @author  <a href="mailto:Ralf.Altrichter@de.ibm.com">Ralf Altrichter</a>
   *
   * @version $Id: ServerPersistentFactory.java,v 1.1 2005/08/22 19:05:47 dlouzan Exp $
   */
  public interface ServerPersistentFactory extends PersistentFactory {
  
       /**
       * Returns the RegistrationList
       * 
       * @return PersistentDataObject
       * @throws WSRPException
       */
      PersistentDataObject getRegistrationList() throws WSRPException;
  
  
      /**
       * Returns the ConsumerConfiguredPortletList
       * 
       * @return PersistentDataObject
       * @throws WSRPException
       */
      PersistentDataObject getConsumerConfiguredPortletList() 
      throws WSRPException;
  
      /**
       * Returns the PortletDescriptionList
       * 
       * @return PersistentDataObject
       * @throws WSRPException
       */
      PersistentDataObject getPortletDescriptionList() throws WSRPException;
  
      /**
       * Returns the ServiceDescriptionList
       * 
       * @return PersistentDataObject
       * @throws WSRPException
       */
      PersistentDataObject getServiceDescriptionList() throws WSRPException;
  
      /**
       * Returns the ConsumerPortletRegistrationList
       * 
       * @return PersistentDataObject
       * @throws WSRPException
       */
      PersistentDataObject getConsumerPortletRegistrationList() 
      throws WSRPException;
  }