コード例 #1
0
 /* (non-Javadoc)
  * @see org.fosstrak.ale.wsdl.alelr.epcglobal.ALELRServicePortType#setReaders(org.fosstrak.ale.wsdl.alelr.epcglobal.SetReaders  parms )*
  */
 public org.fosstrak.ale.wsdl.alelr.epcglobal.SetReadersResult setReaders(SetReaders parms)
     throws ValidationExceptionResponse, InUseExceptionResponse, ImplementationExceptionResponse,
         NonCompositeReaderExceptionResponse, SecurityExceptionResponse,
         NoSuchNameExceptionResponse, ImmutableReaderExceptionResponse,
         ReaderLoopExceptionResponse {
   LOG.debug("setReaders");
   try {
     logicalReaderManager.setReaders(parms.getName(), parms.getReaders().getReader());
   } catch (org.fosstrak.ale.exception.NoSuchNameException e) {
     throw new NoSuchNameExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.SecurityException e) {
     throw new SecurityExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.ImplementationException e) {
     throw new ImplementationExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.InUseException e) {
     throw new InUseExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.ImmutableReaderException e) {
     throw new ImmutableReaderExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.NonCompositeReaderException e) {
     throw new NonCompositeReaderExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.ValidationException e) {
     throw new ValidationExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.ReaderLoopException e) {
     throw new ReaderLoopExceptionResponse(e.getMessage(), e);
   }
   return null;
 }
コード例 #2
0
 /* (non-Javadoc)
  * @see org.fosstrak.ale.wsdl.alelr.epcglobal.ALELRServicePortType#getStandardVersion(org.fosstrak.ale.wsdl.alelr.epcglobal.EmptyParms  parms )*
  */
 public java.lang.String getStandardVersion(EmptyParms parms)
     throws ImplementationExceptionResponse {
   LOG.debug("getStandardVersion");
   try {
     return logicalReaderManager.getStandardVersion();
   } catch (org.fosstrak.ale.exception.ImplementationException e) {
     throw new ImplementationExceptionResponse(e.getMessage(), e);
   }
 }
コード例 #3
0
 /* (non-Javadoc)
  * @see org.fosstrak.ale.wsdl.ale.epcglobal.ALEServicePortType#immediate(org.fosstrak.ale.wsdl.ale.epcglobal.Immediate  parms )*
  */
 public org.fosstrak.ale.xsd.ale.epcglobal.ECReports immediate(Immediate parms)
     throws ECSpecValidationExceptionResponse, ImplementationExceptionResponse,
         SecurityExceptionResponse {
   log.debug("immediate");
   try {
     return ale.immediate(parms.getSpec());
   } catch (org.fosstrak.ale.exception.ECSpecValidationException e) {
     throw new ECSpecValidationExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.ImplementationException e) {
     throw new ImplementationExceptionResponse(e.getMessage(), e);
   }
 }
コード例 #4
0
 /* (non-Javadoc)
  * @see org.fosstrak.ale.wsdl.alelr.epcglobal.ALELRServicePortType#getLogicalReaderNames(org.fosstrak.ale.wsdl.alelr.epcglobal.EmptyParms  parms )*
  */
 public org.fosstrak.ale.wsdl.alelr.epcglobal.ArrayOfString getLogicalReaderNames(EmptyParms parms)
     throws ImplementationExceptionResponse, SecurityExceptionResponse {
   LOG.debug("getLogicalReaderNames");
   ArrayOfString aof = new ArrayOfString();
   try {
     aof.getString().addAll(logicalReaderManager.getLogicalReaderNames());
   } catch (org.fosstrak.ale.exception.SecurityException e) {
     throw new SecurityExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.ImplementationException e) {
     throw new ImplementationExceptionResponse(e.getMessage(), e);
   }
   return aof;
 }
コード例 #5
0
 /* (non-Javadoc)
  * @see org.fosstrak.ale.wsdl.alelr.epcglobal.ALELRServicePortType#getLRSpec(org.fosstrak.ale.wsdl.alelr.epcglobal.GetLRSpec  parms )*
  */
 public org.fosstrak.ale.xsd.ale.epcglobal.LRSpec getLRSpec(GetLRSpec parms)
     throws ImplementationExceptionResponse, SecurityExceptionResponse,
         NoSuchNameExceptionResponse {
   LOG.debug("getLRSpec");
   try {
     return logicalReaderManager.getLRSpec(parms.getName());
   } catch (org.fosstrak.ale.exception.NoSuchNameException e) {
     throw new NoSuchNameExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.SecurityException e) {
     throw new SecurityExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.ImplementationException e) {
     throw new ImplementationExceptionResponse(e.getMessage(), e);
   }
 }
コード例 #6
0
 /* (non-Javadoc)
  * @see org.fosstrak.ale.wsdl.alelr.epcglobal.ALELRServicePortType#getPropertyValue(org.fosstrak.ale.wsdl.alelr.epcglobal.GetPropertyValue  parms )*
  */
 public java.lang.String getPropertyValue(GetPropertyValue parms)
     throws ImplementationExceptionResponse, SecurityExceptionResponse,
         NoSuchNameExceptionResponse {
   LOG.debug("getPropertyValue");
   try {
     return logicalReaderManager.getPropertyValue(parms.getName(), parms.getPropertyName());
   } catch (org.fosstrak.ale.exception.NoSuchNameException e) {
     throw new NoSuchNameExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.SecurityException e) {
     throw new SecurityExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.ImplementationException e) {
     throw new ImplementationExceptionResponse(e.getMessage(), e);
   }
 }
コード例 #7
0
 /* (non-Javadoc)
  * @see org.fosstrak.ale.wsdl.alelr.epcglobal.ALELRServicePortType#define(org.fosstrak.ale.wsdl.alelr.epcglobal.Define  parms )*
  */
 public org.fosstrak.ale.wsdl.alelr.epcglobal.DefineResult define(Define parms)
     throws ValidationExceptionResponse, ImplementationExceptionResponse,
         DuplicateNameExceptionResponse, SecurityExceptionResponse {
   LOG.debug("define");
   try {
     logicalReaderManager.define(parms.getName(), parms.getSpec());
   } catch (org.fosstrak.ale.exception.SecurityException e) {
     throw new SecurityExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.ImplementationException e) {
     throw new ImplementationExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.ValidationException e) {
     throw new ValidationExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.DuplicateNameException e) {
     throw new DuplicateNameExceptionResponse(e.getMessage(), e);
   }
   return null;
 }
コード例 #8
0
 /* (non-Javadoc)
  * @see org.fosstrak.ale.wsdl.alelr.epcglobal.ALELRServicePortType#undefine(org.fosstrak.ale.wsdl.alelr.epcglobal.Undefine  parms )*
  */
 public org.fosstrak.ale.wsdl.alelr.epcglobal.UndefineResult undefine(Undefine parms)
     throws InUseExceptionResponse, ImplementationExceptionResponse, SecurityExceptionResponse,
         NoSuchNameExceptionResponse, ImmutableReaderExceptionResponse {
   LOG.debug("undefine");
   try {
     logicalReaderManager.undefine(parms.getName());
   } catch (org.fosstrak.ale.exception.NoSuchNameException e) {
     throw new NoSuchNameExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.SecurityException e) {
     throw new SecurityExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.ImplementationException e) {
     throw new ImplementationExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.InUseException e) {
     throw new InUseExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.ImmutableReaderException e) {
     throw new ImmutableReaderExceptionResponse(e.getMessage(), e);
   }
   return null;
 }