Package org.oasisOpen.docs.wsrf.x2004.x10.wsrfWSResourceMetadataDescriptor10Draft01.impl

Examples of org.oasisOpen.docs.wsrf.x2004.x10.wsrfWSResourceMetadataDescriptor10Draft01.impl.StaticValuesDocumentImpl


        return NAMESPACE_SET;
    }

    private DestroyResponseDocument createResponseDocument()
    {
        DestroyResponseDocument responseDoc = DestroyResponseDocument.Factory.newInstance();
        responseDoc.addNewDestroyResponse();
        return responseDoc;
    }
View Full Code Here


     *
     * @return DOCUMENT_ME
     */
    public SetTerminationTimeResponseDocument setTerminationTime( SetTerminationTimeDocument requestDoc )
    {
        SetTerminationTimeResponseDocument responseDoc = createResponseDocument();
        Calendar currentTime = Calendar.getInstance();
        Calendar requestedTermTime =
                requestDoc.getSetTerminationTime().getRequestedTerminationTime();
        Calendar newTermTime = null;

View Full Code Here

        return NAMESPACE_SET;
    }

    private SetTerminationTimeResponseDocument createResponseDocument()
    {
        SetTerminationTimeResponseDocument responseDoc = SetTerminationTimeResponseDocument.Factory.newInstance();
        responseDoc.addNewSetTerminationTimeResponse();
        return responseDoc;
    }
View Full Code Here

      CurrentTimeDocument currTimeDoc = CurrentTimeDocument.Factory.newInstance(  );
      currTimeDoc.setCurrentTime( getCurrentTime(  ) );
      prop.setCallback( new CurrentTimeCallback(  ) );
      prop.add( currTimeDoc );
      prop = m_propSet.get( ScheduledResourceTerminationPortType.PROP_QNAME_TERMINATION_TIME );
      TerminationTimeDocument termTimeDoc = TerminationTimeDocument.Factory.newInstance(  );
      termTimeDoc.setTerminationTime( getTerminationTime(  ) );
      prop.add( termTimeDoc );

      // wsntw:SubscriptionManager props
      prop = m_propSet.get( SubscriptionManagerPortType.PROP_QNAME_CONSUMER_REFERENCE );
      ConsumerReferenceDocument consumerRefDoc = ConsumerReferenceDocument.Factory.newInstance(  );
View Full Code Here

    protected void deleteResourceProperty( QName propName )
    {
        SetResourcePropertiesPortTypeImpl setProvider = new SetResourcePropertiesPortTypeImpl( m_resourceContext );
        SetResourcePropertiesDocument setDocument = SetResourcePropertiesDocument.Factory.newInstance();
        SetResourcePropertiesDocument.SetResourceProperties setType = setDocument.addNewSetResourceProperties();
        DeleteType deleteType = setType.addNewDelete();
        deleteType.setResourceProperty( propName );       
        setProvider.setResourceProperties( setDocument ).getSetResourcePropertiesResponse();
    }
View Full Code Here

    }

    private GetMultipleResourcePropertiesResponseDocument.GetMultipleResourcePropertiesResponse getMultipleResourceProperties( QName[] propNames )
    {
        GetMultipleResourcePropertiesPortTypeImpl provider = new GetMultipleResourcePropertiesPortTypeImpl( m_resourceContext );
        GetMultipleResourcePropertiesDocument doc = GetMultipleResourcePropertiesDocument.Factory.newInstance();
        GetMultipleResourcePropertiesDocument.GetMultipleResourceProperties getMultipleResourceProperties = doc.addNewGetMultipleResourceProperties();
        for ( int i = 0; i < propNames.length; i++ )
        {
            getMultipleResourceProperties.addResourceProperty( propNames[i] );
        }
        GetMultipleResourcePropertiesResponseDocument responseDoc = provider.getMultipleResourceProperties( doc );
View Full Code Here

        GetMultipleResourcePropertiesDocument.GetMultipleResourceProperties getMultipleResourceProperties = doc.addNewGetMultipleResourceProperties();
        for ( int i = 0; i < propNames.length; i++ )
        {
            getMultipleResourceProperties.addResourceProperty( propNames[i] );
        }
        GetMultipleResourcePropertiesResponseDocument responseDoc = provider.getMultipleResourceProperties( doc );
        GetMultipleResourcePropertiesResponseDocument.GetMultipleResourcePropertiesResponse response =
                responseDoc.getGetMultipleResourcePropertiesResponse();
        return response;
    }
View Full Code Here

     *
     * @throws org.apache.ws.resource.faults.ResourceKeyHeaderNotFoundFaultException
     */
    public GetMultipleResourcePropertiesResponseDocument getMultipleResourceProperties( GetMultipleResourcePropertiesDocument requestDoc )
    {
        GetMultipleResourcePropertiesResponseDocument responseDoc = createResponseDocument();
        QName[] propNames = requestDoc.getGetMultipleResourceProperties().getResourcePropertyArray();
        ResourceProperty[] props = getMultipleProperties( propNames );
        addPropertiesToResponse( props, responseDoc.getGetMultipleResourcePropertiesResponse() );
        return responseDoc;
    }
View Full Code Here

        return responseDoc;
    }

    private GetMultipleResourcePropertiesResponseDocument createResponseDocument()
    {
        GetMultipleResourcePropertiesResponseDocument responseDoc = GetMultipleResourcePropertiesResponseDocument.Factory.newInstance();
        responseDoc.addNewGetMultipleResourcePropertiesResponse();
        return responseDoc;
    }
View Full Code Here

    }

    protected GetResourcePropertyResponseDocument.GetResourcePropertyResponse getResourceProperty( QName propName )
    {
        GetResourcePropertyPortTypeImpl get_provider = new GetResourcePropertyPortTypeImpl( m_resourceContext );
        GetResourcePropertyDocument get_document = GetResourcePropertyDocument.Factory.newInstance();
        get_document.setGetResourceProperty( propName );
        GetResourcePropertyResponseDocument resourceProperty = get_provider.getResourceProperty( get_document );
        GetResourcePropertyResponseDocument.GetResourcePropertyResponse getResourcePropertyResponse =
                resourceProperty.getGetResourcePropertyResponse();
        return getResourcePropertyResponse;
    }
View Full Code Here

TOP

Related Classes of org.oasisOpen.docs.wsrf.x2004.x10.wsrfWSResourceMetadataDescriptor10Draft01.impl.StaticValuesDocumentImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.