Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
ndduc01 committed Oct 28, 2024
1 parent a1fe919 commit 98f2006
Show file tree
Hide file tree
Showing 145 changed files with 1,374 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
import gov.cdc.dataprocessing.model.container.model.InterventionContainer;
import gov.cdc.dataprocessing.model.container.model.PublicHealthCaseContainer;

/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface PageProxyContainer {
public static final long serialVersionUID = 1L;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

import java.sql.Timestamp;

/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface ReportSummaryInterface {
public boolean getIsTouched();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
package gov.cdc.dataprocessing.model.dto;

import java.sql.Timestamp;

/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface RootDtoInterface {
/**
* A getter for last change user id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@
import java.util.Optional;

@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface NbsInterfaceRepository extends JpaRepository<NbsInterfaceModel, Integer> {
Optional<NbsInterfaceModel> findByNbsInterfaceUid(Integer id);
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@
import java.sql.Timestamp;

@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface StoredProcRepository extends CrudRepository<NbsInterfaceModel, Integer> {
@Procedure(name = "UpdateSpecimenCollDate_SP")
void updateSpecimenCollDateSP(@Param("NBSInterfaceUid") Long nbsInterfaceUid, @Param("specimentCollectionDate") Timestamp specimentCollectionDate);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@

import java.util.Collection;
@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface CustomAuthUserRepository {
Collection<AuthUserRealizedRole> getAuthUserRealizedRole(String userId);
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@
import java.util.Collection;

@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface CustomNbsQuestionRepository {
Collection<QuestionRequiredNnd> retrieveQuestionRequiredNnd(String formCd);
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@
import java.util.Map;

@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface CustomRepository {
Collection<CTContactSummaryDto> getContactByPatientInfo(String queryString);
Map<Object,Object> getLabParticipations(Long observationUID);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@
import java.util.Optional;

@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface ActIdRepository extends JpaRepository<ActId, Long> {
@Query("SELECT data FROM ActId data WHERE data.actUid = :uid")
Optional<Collection<ActId>> findRecordsById(@Param("uid") Long uid);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@
import java.util.Collection;

@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface ActLocatorParticipationRepository extends JpaRepository<ActLocatorParticipation, Long> {
@Query("SELECT data FROM ActLocatorParticipation data WHERE data.actUid = :uid")
Collection<ActLocatorParticipation> findRecordsById(@Param("uid") Long uid);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,15 @@
import org.springframework.stereotype.Repository;

@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface ActRelationshipHistoryRepository extends JpaRepository<ActRelationshipHistory, Long> {
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@
import java.util.Optional;

@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface ActRelationshipRepository extends JpaRepository<ActRelationship, Long> {
@Query("SELECT data FROM ActRelationship data WHERE data.targetActUid = :uid")
Optional<Collection<ActRelationship>> findRecordsByActUid(@Param("uid") Long uid);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,15 @@
import org.springframework.stereotype.Repository;

@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface ActRepository extends JpaRepository<Act, Long> {
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,15 @@
import org.springframework.stereotype.Repository;

@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface NbsActEntityHistRepository extends JpaRepository<NbsActEntityHist, Long> {
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@
import java.util.Optional;

@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface NbsActEntityRepository extends JpaRepository<NbsActEntity, Long> {
/**
* private final String SELECT_ACT_ENTITY_COLLECTION="SELECT nbs_act_entity_uid \"nbsActEntityUid\", add_time \"addTime\", add_user_id \"addUserId\", last_chg_time \"lastChgTime\", last_chg_user_id \"lastChgUserId\", act_uid \"actUid\", entity_uid \"entityUid\", type_cd \"typeCd\", entity_version_ctrl_nbr \"entityVersionCtrlNbr\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@
import java.util.Optional;

@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface WAQuestionRepository extends JpaRepository<WAQuestion, Long> {
@Query(value = ComplexQueries.GENERIC_QUESTION_OID_METADATA_SQL, nativeQuery = true)
Optional<List<WAQuestion>> findGenericQuestionMetaData();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@
import java.util.Optional;

@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface AuthUserRepository extends JpaRepository<AuthUser, Long> {
@Query("SELECT data FROM AuthUser data WHERE data.userId = :userId")
Optional<AuthUser> findAuthUserByUserId(@Param("userId") String userId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@
import java.util.Optional;

@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface DsmAlgorithmRepository extends JpaRepository<DsmAlgorithm, Long> {

// SELECT_DSM_ALGORITHM_LIST ="SELECT dsm_algorithm_uid \"dsmAlgorithmUid\", algorithm_nm \"algorithmNm\", event_type \"eventType\", condition_list \"conditionList\", frequency \"frequency\" , apply_to \"applyTo\", sending_system_list \"sendingSystemList\", reporting_system_list \"reportingSystemList\", event_action \"eventAction\","
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@


@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface EdxDocumentRepository extends JpaRepository<EdxDocument, Long> {
/*
* String SELECT_EDX_DOCUMENT_COLLECTION = "SELECT EDX_Document_uid \"eDXDocumentUid\", act_uid \"actUid\",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,15 @@
import org.springframework.stereotype.Repository;

@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface EdxEventProcessRepository extends JpaRepository<EdxEventProcess, Long> {
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@
import java.util.Optional;

@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface EntityIdRepository extends JpaRepository<EntityId, Long> {
@Query("SELECT pn FROM EntityId pn WHERE pn.entityUid = :parentUid")
Optional<List<EntityId>> findByParentUid(@Param("parentUid") Long parentUid);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@
import java.util.Optional;

@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface EntityLocatorParticipationRepository extends JpaRepository<EntityLocatorParticipation, Long> {
@Query("SELECT pn FROM EntityLocatorParticipation pn WHERE pn.entityUid = :parentUid")
Optional<List<EntityLocatorParticipation>> findByParentUid(@Param("parentUid") Long parentUid);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,15 @@
import org.springframework.stereotype.Repository;

@Repository
/**
125 - Comment complaint
3776 - Complex complaint
6204 - Forcing convert to stream to list complaint
1141 - Nested complaint
1118 - Private constructor complaint
1186 - Add nested comment for empty constructor complaint
6809 - Calling transactional method with This. complaint
*/
@SuppressWarnings({"java:S125", "java:S3776", "java:S6204", "java:S1141", "java:S1118", "java:S1186", "java:S6809"})
public interface EntityRepository extends JpaRepository<EntityODSE, Long> {
}
Loading

0 comments on commit 98f2006

Please sign in to comment.