From: <id...@us...> - 2009-04-21 17:54:57
|
Revision: 143 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=143&view=rev Author: idueppe Date: 2009-04-21 17:54:48 +0000 (Tue, 21 Apr 2009) Log Message: ----------- Modified Paths: -------------- trunk/sandbox/cse-ip/sc-mapper/src/main/java/de/campussource/cse/mapper/IdentityMapperBean.java Modified: trunk/sandbox/cse-ip/sc-mapper/src/main/java/de/campussource/cse/mapper/IdentityMapperBean.java =================================================================== --- trunk/sandbox/cse-ip/sc-mapper/src/main/java/de/campussource/cse/mapper/IdentityMapperBean.java 2009-04-21 17:01:07 UTC (rev 142) +++ trunk/sandbox/cse-ip/sc-mapper/src/main/java/de/campussource/cse/mapper/IdentityMapperBean.java 2009-04-21 17:54:48 UTC (rev 143) @@ -22,7 +22,9 @@ * @author Ingo Dueppe */ @Stateless -@WebService(name="IdentityMapper", targetNamespace="http://cse.campussource.de/mapper") +@WebService( + name="IdentityMapper", + targetNamespace="http://cse.campussource.de/mapper") public class IdentityMapperBean implements IdentityMapper { @PersistenceContext @@ -31,7 +33,10 @@ @Override @TransactionAttribute(TransactionAttributeType.REQUIRED) @WebMethod(action="persistClientObjectId") - public void persistClientObjectId(@WebParam(name="BusId") Long busId, @WebParam(name="ClientInstanceId") Long clientInstanceId, @WebParam(name="ClientObjectId") String clientObjectId) { + public void persistClientObjectId( + @WebParam(name="BusId") Long busId, + @WebParam(name="ClientInstanceId") Long clientInstanceId, + @WebParam(name="ClientObjectId") String clientObjectId) { Validate.notNull(busId, "IdentityMapper.persistClientObjectId: Parameter busId is mandatory."); Validate.notNull(clientInstanceId, "IdentityMapper.persistClientObjectId: Parameter clientInstanceId is mandatory."); Validate.notEmpty(clientObjectId, "IdentityMapper.persistClientObjectId: Parameter clientObjectId is mandatory."); @@ -47,7 +52,10 @@ @Override @TransactionAttribute(TransactionAttributeType.REQUIRED) @WebMethod(action="toBusId") - public @WebResult(name="BusId") Long toBusId(@WebParam(name="ClientInstanceId") Long clientInstanceId, @WebParam(name="ClientObjectId") String clientObjectId) { + @WebResult(name="BusId") + public Long toBusId( + @WebParam(name="ClientInstanceId") Long clientInstanceId, + @WebParam(name="ClientObjectId") String clientObjectId) { Validate.notNull(clientInstanceId, "IdentityMapper.toBusId: Parameter clientInstanceId is mandatory."); Validate.notNull(clientObjectId, "IdentityMapper.toBusId: Parameter clientObjectId is mandatory."); try { @@ -64,7 +72,10 @@ @Override @TransactionAttribute(TransactionAttributeType.REQUIRED) @WebMethod(action="toClientObjectId") - public @WebResult(name="ClientObjectId") String toClientObjectId(@WebParam(name="busId") Long busId, @WebParam(name="clientInstanceId") Long clientInstanceId) throws IdNotFoundException { + @WebResult(name="ClientObjectId") + public String toClientObjectId( + @WebParam(name="busId") Long busId, + @WebParam(name="clientInstanceId") Long clientInstanceId) throws IdNotFoundException { Validate.notNull(busId,"IdentityMapper.toClientObjectId: Parameter busId is mandatory."); Validate.notNull(clientInstanceId,"IdentityMapper.toClientObjectId: Parameter clientInstanceId is mandatory."); try { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |