Rev | Line | |
---|
[569] | 1 | package com.ether; |
---|
| 2 | |
---|
| 3 | import org.apache.commons.logging.Log; |
---|
| 4 | import org.apache.commons.logging.LogFactory; |
---|
| 5 | |
---|
| 6 | /** |
---|
| 7 | * @author vmipsl |
---|
| 8 | * @date 07 mar 2011 |
---|
| 9 | */ |
---|
| 10 | public class EtherServiceImpl |
---|
| 11 | implements EtherService |
---|
| 12 | { |
---|
[572] | 13 | // @Nullable |
---|
| 14 | // @Transactional(readOnly = true) |
---|
| 15 | // public List<Plateforme> getAllPlateforms() |
---|
| 16 | // throws ServiceException |
---|
| 17 | // { |
---|
| 18 | // try |
---|
| 19 | // { |
---|
| 20 | // return _plateformDAO.getAllPlateforms(); |
---|
| 21 | // } |
---|
| 22 | // catch( PersistenceException e ) |
---|
| 23 | // { |
---|
| 24 | // throw new ServiceException( ServiceException.ServiceCode.PLATEFORM_NOT_FOUND, e ); |
---|
| 25 | // } |
---|
| 26 | // } |
---|
| 27 | // |
---|
| 28 | // @NotNull |
---|
| 29 | // @Transactional(rollbackFor = Exception.class) |
---|
| 30 | // public Integer createUser( @NotNull final User user ) |
---|
| 31 | // throws ServiceException |
---|
| 32 | // { |
---|
| 33 | // try |
---|
| 34 | // { |
---|
| 35 | // return _userDAO.insert( user ); |
---|
| 36 | // } |
---|
| 37 | // catch( PersistenceException e ) |
---|
| 38 | // { |
---|
| 39 | // throw new ServiceException( ServiceException.ServiceCode.PERSISTENCE, e ); |
---|
| 40 | // } |
---|
| 41 | // } |
---|
[569] | 42 | |
---|
| 43 | private static final Log LOGGER = LogFactory.getLog( EtherServiceImpl.class ); |
---|
| 44 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.