001: /*
002: * JBoss, Home of Professional Open Source.
003: * Copyright 2006, Red Hat Middleware LLC, and individual contributors
004: * as indicated by the @author tags. See the copyright.txt file in the
005: * distribution for a full listing of individual contributors.
006: *
007: * This is free software; you can redistribute it and/or modify it
008: * under the terms of the GNU Lesser General Public License as
009: * published by the Free Software Foundation; either version 2.1 of
010: * the License, or (at your option) any later version.
011: *
012: * This software is distributed in the hope that it will be useful,
013: * but WITHOUT ANY WARRANTY; without even the implied warranty of
014: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
015: * Lesser General Public License for more details.
016: *
017: * You should have received a copy of the GNU Lesser General Public
018: * License along with this software; if not, write to the Free
019: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
020: * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
021: */
022: package org.jboss.test.wsrp;
023:
024: import java.rmi.RemoteException;
025:
026: import org.jboss.test.wsrp.core.AccessDeniedFault;
027: import org.jboss.test.wsrp.core.ClonePortlet;
028: import org.jboss.test.wsrp.core.DestroyPortlets;
029: import org.jboss.test.wsrp.core.DestroyPortletsResponse;
030: import org.jboss.test.wsrp.core.GetPortletDescription;
031: import org.jboss.test.wsrp.core.GetPortletProperties;
032: import org.jboss.test.wsrp.core.GetPortletPropertyDescription;
033: import org.jboss.test.wsrp.core.InconsistentParametersFault;
034: import org.jboss.test.wsrp.core.InvalidHandleFault;
035: import org.jboss.test.wsrp.core.InvalidRegistrationFault;
036: import org.jboss.test.wsrp.core.InvalidUserCategoryFault;
037: import org.jboss.test.wsrp.core.MissingParametersFault;
038: import org.jboss.test.wsrp.core.OperationFailedFault;
039: import org.jboss.test.wsrp.core.PortletContext;
040: import org.jboss.test.wsrp.core.PortletDescriptionResponse;
041: import org.jboss.test.wsrp.core.PortletPropertyDescriptionResponse;
042: import org.jboss.test.wsrp.core.PropertyList;
043: import org.jboss.test.wsrp.core.SetPortletProperties;
044:
045: //$Id: PortletManagementEndpoint.java 57211 2006-09-26 12:39:46Z dimitris@jboss.org $
046: /**
047: * WSRP Endpoint for PortletManagement
048: * @author <a href="mailto:Anil.Saldhana@jboss.org">Anil Saldhana</a>
049: * @since Mar 27, 2006
050: * @version $Revision: 57211 $
051: */
052: public class PortletManagementEndpoint implements
053: WSRP_v1_PortletManagement_PortType {
054:
055: public PortletDescriptionResponse getPortletDescription(
056: GetPortletDescription getPortletDescription)
057: throws AccessDeniedFault, InvalidHandleFault,
058: InvalidUserCategoryFault, InconsistentParametersFault,
059: MissingParametersFault, InvalidRegistrationFault,
060: OperationFailedFault, RemoteException {
061: return new PortletDescriptionResponse();
062: }
063:
064: public PortletContext clonePortlet(ClonePortlet clonePortlet)
065: throws InvalidUserCategoryFault, AccessDeniedFault,
066: OperationFailedFault, InvalidHandleFault,
067: InvalidRegistrationFault, InconsistentParametersFault,
068: MissingParametersFault, RemoteException {
069: return new PortletContext();
070: }
071:
072: public DestroyPortletsResponse destroyPortlets(
073: DestroyPortlets destroyPortlets)
074: throws InconsistentParametersFault, MissingParametersFault,
075: InvalidRegistrationFault, OperationFailedFault,
076: RemoteException {
077: return new DestroyPortletsResponse();
078: }
079:
080: public PortletContext setPortletProperties(
081: SetPortletProperties setPortletProperties)
082: throws OperationFailedFault, InvalidHandleFault,
083: MissingParametersFault, InconsistentParametersFault,
084: InvalidUserCategoryFault, AccessDeniedFault,
085: InvalidRegistrationFault, RemoteException {
086: return new PortletContext();
087: }
088:
089: public PropertyList getPortletProperties(
090: GetPortletProperties getPortletProperties)
091: throws InvalidHandleFault, MissingParametersFault,
092: InvalidRegistrationFault, AccessDeniedFault,
093: OperationFailedFault, InconsistentParametersFault,
094: InvalidUserCategoryFault, RemoteException {
095: return new PropertyList();
096: }
097:
098: public PortletPropertyDescriptionResponse getPortletPropertyDescription(
099: GetPortletPropertyDescription getPortletPropertyDescription)
100: throws MissingParametersFault, InconsistentParametersFault,
101: InvalidUserCategoryFault, InvalidRegistrationFault,
102: AccessDeniedFault, InvalidHandleFault,
103: OperationFailedFault, RemoteException {
104: return new PortletPropertyDescriptionResponse();
105: }
106:
107: }
|