Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[포털 사이트][게시판생성관리] 롬복 생성자 기반 종속성 주입 #30

Open
wants to merge 3 commits into
base: contribution
Choose a base branch
from

Conversation

danheean
Copy link

@danheean danheean commented Oct 8, 2024

수정 사유 Reason for modification

소스를 수정한 사유가 무엇인지 체크해 주세요. Please check the reason you modified the source. ([X] X는 대문자여야 합니다.)

  • 버그수정 Bug fixes
  • 기능개선 Enhancements
  • 기능추가 Adding features
  • 기타 Others

수정된 소스 내용 Modified source

검토자를 위해 수정된 소스 내용을 설명해 주세요. Please describe the modified source for reviewers.

[포털 사이트][게시판생성관리] 롬복 생성자 기반 종속성 주입

  • Source > Format
  • @Repository("BBSAddedOptionsDAO")@Repository로 수정
  • @Repository("BBSAttributeManageDAO")@Repository로 수정
  • @Repository("BBSLoneMasterDAO")@Repository로 수정
  • @Repository("BBSManageDAO")@Repository로 수정
  • @Service("EgovBBSAttributeManageService")@Service로 수정
  • @Service("EgovBBSLoneMasterService")@Service 로 수정
  • @Service("EgovBBSManageService")@Service 로 수정
  • @RequiredArgsConstructor 추가

크롬 링크 주소 복사

검색 키워드

/cop/bbs/

브랜치 이름

2024/di/bbs

@Repository DAO - BBSAddedOptionsDAO, BBSAttributeManageDAO, BBSLoneMasterDAO, BBSManageDAO

@Repository
public class BBSAddedOptionsDAO extends EgovAbstractMapper {

@Repository
public class BBSAttributeManageDAO extends EgovAbstractMapper {

@Repository
public class BBSLoneMasterDAO extends EgovAbstractMapper {

@Repository
public class BBSManageDAO extends EgovAbstractMapper {

@Service ServiceImpl - EgovBBSAttributeManageServiceImpl, EgovBBSLoneMasterServiceImpl, EgovBBSManageServiceImpl

@Service
@RequiredArgsConstructor
public class EgovBBSAttributeManageServiceImpl extends EgovAbstractServiceImpl implements EgovBBSAttributeManageService {

	private static final Logger LOGGER = LoggerFactory.getLogger(EgovBBSAttributeManageServiceImpl.class);

	private final BBSAttributeManageDAO bBSAttributeManageDAO;

	@Resource(name = "BBSUseInfoManageDAO")
	private BBSUseInfoManageDAO bbsUseDAO;

	@Resource(name = "EgovUserInfManageService")
	private EgovUserInfManageService userService;

	private final EgovIdGnrService egovBBSMstrIdGnrService;

	@Resource(name = "propertiesService")
	protected EgovPropertyService propertyService;

	// ---------------------------------
	// 2009.06.26 : 2단계 기능 추가
	// ---------------------------------
	private final BBSAddedOptionsDAO bBSAddedOptionsDAO;
	//// -------------------------------

@Service
@RequiredArgsConstructor
public class EgovBBSLoneMasterServiceImpl extends EgovAbstractServiceImpl implements EgovBBSLoneMasterService {

	private final BBSLoneMasterDAO bBSLoneMasterDAO;

	@Resource(name = "BBSUseInfoManageDAO")
	private BBSUseInfoManageDAO bbsUseDAO;

	private final EgovIdGnrService egovBBSMstrIdGnrService;


@Service
@RequiredArgsConstructor
public class EgovBBSManageServiceImpl extends EgovAbstractServiceImpl implements EgovBBSManageService {

	private final BBSManageDAO bBSManageDAO;

@Controller Controller - EgovBBSAdminManageController, EgovBBSAttributeManageController, EgovBBSLoneMasterController, EgovBBSManageController, EgovMainController

@Controller
@RequiredArgsConstructor
public class EgovBBSAdminManageController {

	private final EgovBBSManageService egovBBSManageService;

	private EgovBBSAttributeManageService egovBBSAttributeManageService;

	@Resource(name = "EgovFileMngService")
	private EgovFileMngService fileMngService;

@Controller
@RequiredArgsConstructor
public class EgovBBSAttributeManageController {

	private final EgovBBSAttributeManageService egovBBSAttributeManageService;

@Controller
@RequiredArgsConstructor
public class EgovBBSLoneMasterController {

	private final EgovBBSLoneMasterService egovBBSLoneMasterService;

@Controller
@RequiredArgsConstructor
public class EgovBBSManageController {

	private final EgovBBSManageService egovBBSManageService;

	private final EgovBBSAttributeManageService egovBBSAttributeManageService;

@Controller
@SessionAttributes(types = ComDefaultVO.class)
@RequiredArgsConstructor
public class EgovMainController {

	/**
	 * EgovBBSManageService
	 */
	private final EgovBBSManageService bbsMngService;

JUnit 테스트 JUnit tests

테스트를 완료하셨으면 다음 항목에 [대문자X]로 표시해 주세요. When you're done testing, check the following items.

  • JUnit 테스트 JUnit tests
  • 수동 테스트 Manual testing

테스트 브라우저 Test Browser

테스트를 진행한 브라우저를 선택해 주세요. Please select the browser(s) you ran the test on. (다중 선택 가능 you can select multiple) [X] X는 대문자여야 합니다.

  • Chrome
  • Firefox
  • Edge
  • Safari
  • Opera
  • Internet Explorer
  • 기타 Others

테스트 스크린샷 또는 캡처 영상 Test screenshots or captured video

테스트 전과 후의 스크린샷 또는 캡처 영상을 이곳에 첨부해 주세요. Please attach screenshots or video captures of your before and after tests here.

  • EgovMainController 주입 결과
    image

  • EgovBBSAttributeManageController.java 주입 결과
    image

  • Egov BBSManageController.java 주입 결과
    image

  • EgovBBSAdminManageController.java 주입 결과
    image

  • EgovBBSLoneMasterController.java 주입 결과
    image

  • EgovBBSManageServiceImpl 주입 결과
    image

  • EgovBBSAttributeManageServiceImpl.java 주입 결과
    image

  • EgovBBSLoneMasterServiceImpl.java 주입 결과
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant