Package org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceProperties12Draft01

Examples of org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceProperties12Draft01.SetResourcePropertiesDocument


    */
   protected void updateResourceProperty( XmlObject[] propElems )
   {
      SetResourcePropertiesPortTypeImpl                   setProvider =
         new SetResourcePropertiesPortTypeImpl( m_resourceContext );
      SetResourcePropertiesDocument                       setDocument =
         SetResourcePropertiesDocument.Factory.newInstance(  );
      SetResourcePropertiesDocument.SetResourceProperties setType = setDocument.addNewSetResourceProperties(  );
      UpdateType                                          updateType = setType.addNewUpdate(  );
      for ( int i = 0; i < propElems.length; i++ )
      {
         XmlBeanUtils.addChildElement( updateType, propElems[i] );
      }
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

    */
   protected void insertResourceProperty( XmlObject[] propElems )
   {
      SetResourcePropertiesPortTypeImpl                   setProvider =
         new SetResourcePropertiesPortTypeImpl( m_resourceContext );
      SetResourcePropertiesDocument                       setDocument =
         SetResourcePropertiesDocument.Factory.newInstance(  );
      SetResourcePropertiesDocument.SetResourceProperties setType    = setDocument.addNewSetResourceProperties(  );
      InsertType                                          insertType = setType.addNewInsert(  );
      for ( int i = 0; i < propElems.length; i++ )
      {
         XmlBeanUtils.addChildElement( insertType, propElems[i] );
      }
View Full Code Here

    */
   protected void updateResourceProperty( XmlObject[] propElems )
   {
      SetResourcePropertiesPortTypeImpl                   setProvider =
         new SetResourcePropertiesPortTypeImpl( m_resourceContext );
      SetResourcePropertiesDocument                       setDocument =
         SetResourcePropertiesDocument.Factory.newInstance(  );
      SetResourcePropertiesDocument.SetResourceProperties setType    = setDocument.addNewSetResourceProperties(  );
      UpdateType                                          updateType = setType.addNewUpdate(  );
      for ( int i = 0; i < propElems.length; i++ )
      {
         XmlBeanUtils.addChildElement( updateType, propElems[i] );
      }
View Full Code Here

        }
    }

    public static boolean invokeSetResourceProperty(String prop, String value, String filesystemEPRUrl)
    {
        SetResourcePropertiesDocument setResourcePropertiesDocument = SetResourcePropertiesDocument.Factory.newInstance();
        SetResourcePropertiesDocument.SetResourceProperties setResourceProperties = setResourcePropertiesDocument.addNewSetResourceProperties();
        UpdateType updateType = UpdateType.Factory.newInstance();

        XmlObject simpleType = XmlBeanUtils.addChildElement(updateType, QName.valueOf(prop));
        XmlBeanUtils.setValue(simpleType, value);
        setResourceProperties.setUpdateArray(new UpdateType[]{updateType});
View Full Code Here

        if ( LOG.isDebugEnabled() )
        {
            LOG.debug( MSG.getMessage( Keys.SET_RP_REQ, requestDoc ) );
        }

        SetResourcePropertiesResponseDocument responseDoc = createResponseDocument();
        SetResourcePropertiesDocument.SetResourceProperties requestElem = requestDoc.getSetResourceProperties();

        InsertType[] insertElems = requestElem.getInsertArray();
        for ( int i = 0; i < insertElems.length; i++ )
        {
View Full Code Here

        return responseDoc;
    }

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

        {
            LOG.debug( MSG.getMessage( Keys.SET_RP_REQ,
                    requestDoc.toString() ) );
        }

        SetResourcePropertiesResponseDocument responseDoc = createResponseDocument();
        SetResourcePropertiesDocument.SetResourceProperties requestElem = requestDoc.getSetResourceProperties();

        InsertType[] insertElems = requestElem.getInsertArray();
        for ( int i = 0; i < insertElems.length; i++ )
        {
View Full Code Here

        return setResourcePropertyCallback;
    }

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

        if ( LOG.isDebugEnabled() )
        {
            LOG.debug( MSG.getMessage( Keys.SET_RP_REQ, requestDoc ) );
        }

        SetResourcePropertiesResponseDocument responseDoc = createResponseDocument();
        SetResourcePropertiesDocument.SetResourceProperties requestElem = requestDoc.getSetResourceProperties();

        InsertType[] insertElems = requestElem.getInsertArray();
        for ( int i = 0; i < insertElems.length; i++ )
        {
View Full Code Here

TOP

Related Classes of org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceProperties12Draft01.SetResourcePropertiesDocument

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.