public List<Repository> getAllSpecificationRepositories() throws GreenPepperServerException {
        try {
            sessionService.startSession();

            List<Repository> repositories = repositoryDao.getAllRepositories(ContentType.TEST);

            log.debug("Retrieved All Specification Repositories number: " + repositories.size());
            return repositories;
        } catch (Exception ex) {
            throw handleException(RETRIEVE_SUTS, ex);
        } finally {
            sessionService.closeSession();
        }
    }
public List < Repository > getAllSpecificationRepositories ( ) throws GreenPepperServerException { try { sessionService . startSession ( ) ; List < Repository > repositories = repositoryDao . getAllRepositories ( ContentType . TEST ) ; log . debug ( "Retrieved All Specification Repositories number: " + repositories . size ( ) ) ; return repositories ; } catch ( Exception ex ) { throw handleException ( RETRIEVE_SUTS , ex ) ; } finally { sessionService . closeSession ( ) ; } }
<p>getAllSpecificationRepositories.</p>

@inheritDoc NO NEEDS TO SECURE THIS
@return a {@link java.util.List} object.
@throws com.greenpepper.server.GreenPepperServerException if any.