Skip to content

Commit

Permalink
egovframe-development v4.0.0 FINAL
Browse files Browse the repository at this point in the history
  • Loading branch information
ohorange21 committed Mar 2, 2022
1 parent ea61a3f commit e5192f7
Show file tree
Hide file tree
Showing 4,427 changed files with 80,046 additions and 5,679 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<setup:Installation
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
name="installation">
<productVersion
href="index:/org.eclipse.setup#//@productCatalogs[name='self']/@products[name='product']/@versions[name='version']"/>
</setup:Installation>
9 changes: 9 additions & 0 deletions .metadata/.plugins/org.eclipse.compare/dialog_settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="ResizableDialogBounds">
<item key="x" value="2480"/>
<item key="y" value="120"/>
<item key="width" value="800"/>
<item key="height" value="600"/>
</section>
</section>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
package pkg.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import egovframework.rte.cmmn.SampleDefaultVO;
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;
import egovframework.rte.fdl.idgnr.EgovIdGnrService;
import pkg.service.EgovSample2Service;
import pkg.service.Sample2VO;


/**
* @Class Name : EgovSample2ServiceImpl.java
* @Description : Sample2 Business Implement class
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.02.01 홍길동 최초 생성
*
* @author 실행환경 개발팀 홍길동
* @since 2009.02.01
* @version 1.0
* @see
*
* Copyright (C) 2009 by MOSPA All right reserved.
*/

@Service("sample2Service")
public class EgovSample2ServiceImpl extends AbstractServiceImpl implements
EgovSample2Service {

@Resource(name="sample2DAO")
private Sample2DAO sample2DAO;

/** ID Generation */
@Resource(name="egovSample2IdGnrService")
private EgovIdGnrService egovIdGnrService;

/**
* SAMPLE2을 등록한다.
* @param vo - 등록할 정보가 담긴 Sample2VO
* @return 등록 결과
* @exception Exception
*/
public String insertSample2(Sample2VO vo) throws Exception {
log.debug(vo.toString());

/** ID Generation Service */
String id = egovIdGnrService.getNextStringId();
vo.setId(id);
log.debug(vo.toString());

sample2DAO.insertSample2(vo);
return id;
}

/**
* SAMPLE2을 수정한다.
* @param vo - 수정할 정보가 담긴 Sample2VO
* @return void형
* @exception Exception
*/
public void updateSample2(Sample2VO vo) throws Exception {
sample2DAO.updateSample2(vo);
}

/**
* SAMPLE2을 삭제한다.
* @param vo - 삭제할 정보가 담긴 Sample2VO
* @return void형
* @exception Exception
*/
public void deleteSample2(Sample2VO vo) throws Exception {
sample2DAO.deleteSample2(vo);
}

/**
* SAMPLE2을 조회한다.
* @param vo - 조회할 정보가 담긴 Sample2VO
* @return 조회한 SAMPLE2
* @exception Exception
*/
public Sample2VO selectSample2(Sample2VO vo) throws Exception {
Sample2VO resultVO = sample2DAO.selectSample2(vo);
if (resultVO == null)
throw processException("info.nodata.msg");
return resultVO;
}

/**
* SAMPLE2 목록을 조회한다.
* @param searchVO - 조회할 정보가 담긴 VO
* @return SAMPLE2 목록
* @exception Exception
*/
public List selectSample2List(SampleDefaultVO searchVO) throws Exception {
return sample2DAO.selectSample2List(searchVO);
}

/**
* SAMPLE2 총 갯수를 조회한다.
* @param searchVO - 조회할 정보가 담긴 VO
* @return SAMPLE2 총 갯수
* @exception
*/
public int selectSample2ListTotCnt(SampleDefaultVO searchVO) {
return sample2DAO.selectSample2ListTotCnt(searchVO);
}

}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>

<appender name="${txtAppenderName}" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="${txtConversionPattern}" />
</layout>
</appender>

<logger name="org.springframework" additivity="false">
<level value="DEBUG" />
<appender-ref ref="${txtAppenderName}" />
</logger>

<root>
<level value="OFF" />
<appender-ref ref="${txtAppenderName}" />
</root>

</log4j:configuration>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
txtTransactionName=tran1
txtDatasourceName=ds1
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">

<bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"
destroy-method="close">
<property name="driverClass" value="${driver}" />
<property name="jdbcUrl" value="${dburl}" />
<property name="user" value="${username}" />
<property name="password" value="${password}" />
<property name="initialPoolSize" value="3" />
<property name="minPoolSize" value="3" />
<property name="maxPoolSize" value="50" />
<!-- <property name="timeout" value="0" /> --> <!-- 0 means: no timeout -->
<property name="idleConnectionTestPeriod" value="200" />
<property name="acquireIncrement" value="1" />
<property name="maxStatements" value="0" /> <!-- 0 means: statement caching is turned off. -->
<!-- c3p0 is very asynchronous. Slow JDBC operations are generally performed
by helper threads that don't hold contended locks.
Spreading these operations over multiple threads can significantly improve performance
by allowing multiple operations to be performed simultaneously -->
<property name="numHelperThreads" value="3" /> <!-- 3 is default -->
</bean>
</beans>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
/*
* Copyright 2008-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package egovframework.dev.imp.dbio.wizard;

import java.io.ByteArrayInputStream;
import java.io.InputStream;

import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.ui.dialogs.WizardNewFileCreationPage;

import egovframework.dev.imp.dbio.DBIOPlugin;
import egovframework.dev.imp.dbio.common.DbioMessages;

/**
* NewSqlMap WizardPage
* @author 개발환경 개발팀 김형조
* @since 2009.02.20
* @version 1.0
* @see
*
* <pre>
* << 개정이력(Modification Information) >>
*
* 수정일 수정자 수정내용
* ------- -------- ---------------------------
* 2009.02.20 김형조 최초 생성
*
*
* </pre>
*/
public class NewSqlMapWizardPage extends WizardNewFileCreationPage {

/**
* 생성자
*
* @param selection
*/
public NewSqlMapWizardPage(IStructuredSelection selection) {
super(NewSqlMapWizardPage.class.getName(), selection);
setAllowExistingResources(false);
setFileExtension("xml"); //$NON-NLS-1$

setImageDescriptor(DBIOPlugin.getDefault().getImageDescriptor(DBIOPlugin.IMG_SQL_MAP_WIZ_BANNER));

setTitle(DbioMessages.NewSqlMapWizardPage_1);
setDescription(DbioMessages.NewSqlMapWizardPage_2);

}

@Override
protected InputStream getInitialContents() {
String data = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + //$NON-NLS-1$
"<!DOCTYPE sqlMap PUBLIC \"-//ibatis.apache.org//DTD SQL Map 2.0//EN\" " + //$NON-NLS-1$
"\"http://ibatis.apache.org/dtd/sql-map-2.dtd\" >\n" + //$NON-NLS-1$
"<sqlMap />"; //$NON-NLS-1$
return new ByteArrayInputStream(data.getBytes());
}
}
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<EclipseWork>
<wizard>
<title>New Table ID Generation</title>

<component-page required="true">
<!-- NewTableIdGen New Table ID Generation -->
<description>Create Table ID Generation</description>
<group label="Generation File" required="true">
<container name="txtPath" label="File Path: " required="true"
type="folder" value="" /> <!-- #webroot -->
<textfield name="txtFileName" label="File Name: "
required="true" value="" />
</group>
<group label="Configuration" required="true">
<textfield name="txtIdServiceName" label="ID Service Name: "
required="true" value="" />
<textfield name="txtDatasourceName" label="DataSource Name: "
required="true" value="" />
<textfield name="txtTableId" label="Table: " required="true" />
<textfield name="txtTableName" label="Table Name: "
required="true" />
<textfield name="txtBlockSize" label="Block Size: "
required="true" />

</group>
<group label="Strategy" checkbox="chkStrategy" required="true">
<checkbox name="chkStrategy" label="Use Strategy: " value="false"
required="true" />
<textfield name="txtStrategyName" label="Strategy Name: " required="true" />
<textfield name="txtPrefix" label="Prefix: " required="true" />
<textfield name="txtCipers" label="Cipers: " required="true" />
<textfield name="txtFillChar" label="Fill Char: "
required="true" />
</group>
</component-page>

<output>
<template component="txtFileName" velocity="tableId.vm"
extension="xml" container="txtPath">
</template>
</output>

</wizard>
</EclipseWork>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<bean id="${triggerName}" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail" ref="${jobDetailFactoryBeanName}" />
<!-- 매 10초마다 실행 -->
<property name="cronExpression" value="${cronExpression}" />
</bean>
Binary file not shown.
Loading

0 comments on commit e5192f7

Please sign in to comment.