Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03Wsdl
Class PrinterPortService  view PrinterPortService download PrinterPortService.java

java.lang.Object
  extended byorg.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03Wsdl.AbstractPrinterPortService
      extended byorg.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03Wsdl.PrinterPortService
All Implemented Interfaces:
org.apache.ws.resource.properties.v2004_11.porttype.DeleteResourcePropertiesPortType, org.apache.ws.resource.properties.v2004_11.porttype.GetMultipleResourcePropertiesPortType, org.apache.ws.resource.properties.v2004_11.porttype.GetResourcePropertyDocumentPortType, org.apache.ws.resource.properties.v2004_11.porttype.GetResourcePropertyPortType, org.apache.ws.resource.properties.v2004_11.porttype.InsertResourcePropertiesPortType, PrinterPortCustomOperationsPortType, org.apache.ws.resource.properties.v2004_11.porttype.QueryResourcePropertiesPortType, org.apache.ws.resource.properties.v2004_11.porttype.SetResourcePropertiesPortType, org.apache.ws.resource.properties.v2004_11.porttype.UpdateResourcePropertiesPortType, org.apache.ws.resource.handler.WsrfService

public class PrinterPortService
extends AbstractPrinterPortService
implements PrinterPortCustomOperationsPortType

This class should be generated ONCE (and not overwritten) to maintain user-added code. If there is a change to the WSDL, then the generated implemented interfaces (representing the "base" portTypes) will change, thus showing a compile error to the user.

NOTE: This class is generated. However, it will not be overwritten by subsequent calls to the code generator.


Field Summary
private  org.apache.ws.resource.ResourceContext m_resourceContext
           
 
Fields inherited from class org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03Wsdl.AbstractPrinterPortService
TARGET_NSPREFIX, TARGET_NSURI
 
Fields inherited from interface org.apache.ws.resource.properties.v2004_11.porttype.GetMultipleResourcePropertiesPortType
NAME
 
Fields inherited from interface org.apache.ws.resource.properties.v2004_11.porttype.SetResourcePropertiesPortType
NAME
 
Fields inherited from interface org.apache.ws.resource.properties.v2004_11.porttype.UpdateResourcePropertiesPortType
NAME
 
Fields inherited from interface org.apache.ws.resource.properties.v2004_11.porttype.InsertResourcePropertiesPortType
NAME
 
Fields inherited from interface org.apache.ws.resource.properties.v2004_11.porttype.GetResourcePropertyDocumentPortType
NAME
 
Fields inherited from interface org.apache.ws.resource.properties.v2004_11.porttype.GetResourcePropertyPortType
NAME
 
Fields inherited from interface org.apache.ws.resource.properties.v2004_11.porttype.QueryResourcePropertiesPortType
NAME, PROP_QNAME_QUERY_EXPRESSION_DIALECT
 
Fields inherited from interface org.apache.ws.resource.properties.v2004_11.porttype.DeleteResourcePropertiesPortType
NAME
 
Constructor Summary
PrinterPortService(org.apache.ws.resource.ResourceContext resourceContext)
          Creates a new PrinterPortService object.
 
Method Summary
private  void addJobInfoToResponse(JobPortResource instance, org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03.CreationResponseDocument.CreationResponse creationResponse)
           
private  void addJobPropsToPrinterProps(JobPortResource instance)
           
 org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03.CreationResponseDocument Create_Job(org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03.CreateJobRequestDocument requestDoc)
          DOCUMENT_ME
private  org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03.CreationResponseDocument createResponseDocument()
           
private  org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03.JobPropertiesDocument getJobPropDoc(JobPortResource instance)
           
 org.apache.ws.resource.ResourceContext getResourceContext()
          DOCUMENT_ME
private  void incrementQueueCount()
           
private  boolean isAcceptingJobs()
           
private  boolean isDocTypeSupported(org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03.MimeMediaTypeType.Enum documentFormat)
           
 org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03.CreationResponseDocument Print_Job(org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03.PrintJobRequestDocument requestDoc)
          DOCUMENT_ME
 
Methods inherited from class org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03Wsdl.AbstractPrinterPortService
deleteResourceProperties, getMethodName, getMethodNameMap, getMultipleResourceProperties, getResourceProperty, getResourcePropertyDocument, init, insertResourceProperties, isInitialized, queryResourceProperties, setResourceProperties, updateResourceProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ws.resource.properties.v2004_11.porttype.GetMultipleResourcePropertiesPortType
getMultipleResourceProperties
 
Methods inherited from interface org.apache.ws.resource.properties.v2004_11.porttype.SetResourcePropertiesPortType
setResourceProperties
 
Methods inherited from interface org.apache.ws.resource.properties.v2004_11.porttype.UpdateResourcePropertiesPortType
updateResourceProperties
 
Methods inherited from interface org.apache.ws.resource.properties.v2004_11.porttype.InsertResourcePropertiesPortType
insertResourceProperties
 
Methods inherited from interface org.apache.ws.resource.properties.v2004_11.porttype.GetResourcePropertyDocumentPortType
getResourcePropertyDocument
 
Methods inherited from interface org.apache.ws.resource.properties.v2004_11.porttype.GetResourcePropertyPortType
getResourceProperty
 
Methods inherited from interface org.apache.ws.resource.properties.v2004_11.porttype.QueryResourcePropertiesPortType
queryResourceProperties
 
Methods inherited from interface org.apache.ws.resource.properties.v2004_11.porttype.DeleteResourcePropertiesPortType
deleteResourceProperties
 

Field Detail

m_resourceContext

private org.apache.ws.resource.ResourceContext m_resourceContext
Constructor Detail

PrinterPortService

public PrinterPortService(org.apache.ws.resource.ResourceContext resourceContext)
Creates a new PrinterPortService object.

Method Detail

getResourceContext

public org.apache.ws.resource.ResourceContext getResourceContext()
DOCUMENT_ME

Specified by:
getResourceContext in interface org.apache.ws.resource.handler.WsrfService
Specified by:
getResourceContext in class AbstractPrinterPortService

Create_Job

public org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03.CreationResponseDocument Create_Job(org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03.CreateJobRequestDocument requestDoc)
DOCUMENT_ME

Specified by:
Create_Job in interface PrinterPortCustomOperationsPortType

Print_Job

public org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03.CreationResponseDocument Print_Job(org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03.PrintJobRequestDocument requestDoc)
DOCUMENT_ME

Specified by:
Print_Job in interface PrinterPortCustomOperationsPortType

isAcceptingJobs

private boolean isAcceptingJobs()

isDocTypeSupported

private boolean isDocTypeSupported(org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03.MimeMediaTypeType.Enum documentFormat)
                            throws org.apache.ws.resource.ResourceContextException,
                                   org.apache.ws.resource.ResourceException

getJobPropDoc

private org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03.JobPropertiesDocument getJobPropDoc(JobPortResource instance)

addJobInfoToResponse

private void addJobInfoToResponse(JobPortResource instance,
                                  org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03.CreationResponseDocument.CreationResponse creationResponse)

addJobPropsToPrinterProps

private void addJobPropsToPrinterProps(JobPortResource instance)
                                throws org.apache.ws.resource.ResourceContextException,
                                       org.apache.ws.resource.ResourceException

createResponseDocument

private org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03.CreationResponseDocument createResponseDocument()

incrementQueueCount

private void incrementQueueCount()
                          throws org.apache.ws.resource.ResourceException,
                                 org.apache.ws.resource.ResourceContextException