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/31 19:35:52 UTC

cvs commit: ws-wsrp4j/sandbox/wsrp4j/persistence-xml/src/java/org/apache/wsrp4j/persistence/xml ClientPersistentInformationProvider.java

dlouzan     2005/08/31 10:35:52

  Added:       sandbox/wsrp4j/persistence-xml/src/java/org/apache/wsrp4j/persistence/xml
                        ClientPersistentInformationProvider.java
  Log:
  Initial commit.
  
  Revision  Changes    Path
  1.1                  ws-wsrp4j/sandbox/wsrp4j/persistence-xml/src/java/org/apache/wsrp4j/persistence/xml/ClientPersistentInformationProvider.java
  
  Index: ClientPersistentInformationProvider.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.persistence.xml;
  
  import org.apache.wsrp4j.commons.persistence.PersistentInformation;
  import org.apache.wsrp4j.commons.persistence.PersistentInformationProvider;
  import org.apache.wsrp4j.persistence.xml.driver.ConsumerPortletContextList;
  
  import org.apache.wsrp4j.persistence.xml.driver.PageList;
  import org.apache.wsrp4j.persistence.xml.driver.PortletList;
  import org.apache.wsrp4j.persistence.xml.driver.ProducerList;
  import org.apache.wsrp4j.persistence.xml.driver.UserList;
  
  
  
  /**
   * Contains the persistent file store information for the castor
   * xml file support used by client applications e.g. consumers.
   *
   * @author  <a href="mailto:Ralf.Altrichter@de.ibm.com">Ralf Altrichter</a>
   * @version $Id: ClientPersistentInformationProvider.java,v 1.1 2005/08/31 17:35:52 dlouzan Exp $
   */
  public interface ClientPersistentInformationProvider 
          extends PersistentInformationProvider {
      
      /**
       * Returns the persistent file information for the Portlet
       *
       * @param portletList
       *
       * @return PersistentInformation
       */
      public PersistentInformation getPersistentInformation(
              PortletList portletList);
      
      /**
       * Returns the persistent file information for the Page
       *
       * @param pageList
       *
       * @return PersistentInformation
       */
      public PersistentInformation getPersistentInformation(PageList pageList);
      
      /**
       * Returns the persistent file information for the User
       *
       * @param userList
       *
       * @return PersistentInformation
       */
      public PersistentInformation getPersistentInformation(UserList userList);
      
      /**
       * Returns the persistent file information for the Producer
       *
       * @param producerList
       *
       * @return PersistentInformation
       */
      public PersistentInformation getPersistentInformation(
              ProducerList producerList);
      
      /**
       * Returns the persistent file information for the ConsumerPortletContext
       *
       * @param consumerPortletContextList ConsumerPortletContextList
       *
       * @return PersistentInformation
       */
      public PersistentInformation getPersistentInformation(
              ConsumerPortletContextList consumerPortletContextList);
      
  }