-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #898 from support-project/dev_next
Dev next
- Loading branch information
Showing
106 changed files
with
3,745 additions
and
900 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
src/main/java/org/support/project/knowledge/bat/AggregateBat.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package org.support.project.knowledge.bat; | ||
|
||
import org.apache.commons.lang.ClassUtils; | ||
import org.support.project.common.log.Log; | ||
import org.support.project.common.log.LogFactory; | ||
import org.support.project.knowledge.logic.AggregateLogic; | ||
|
||
public class AggregateBat extends AbstractBat { | ||
/** ログ */ | ||
private static final Log LOG = LogFactory.getLog(AggregateBat.class); | ||
|
||
public static void main(String[] args) throws Exception { | ||
try { | ||
initLogName("AggregateBat.log"); | ||
configInit(ClassUtils.getShortClassName(AggregateBat.class)); | ||
|
||
AggregateBat bat = new AggregateBat(); | ||
bat.dbInit(); | ||
bat.start(); | ||
|
||
finishInfo(); | ||
} catch (Exception e) { | ||
LOG.error("any error", e); | ||
throw e; | ||
} | ||
} | ||
|
||
/** | ||
* 処理の実行 | ||
* @throws Exception Exception | ||
*/ | ||
public void start() throws Exception { | ||
AggregateLogic aggregateLogic = AggregateLogic.get(); | ||
aggregateLogic.startAggregate(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/main/java/org/support/project/knowledge/control/admin/AggregateControl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package org.support.project.knowledge.control.admin; | ||
|
||
import org.support.project.di.DI; | ||
import org.support.project.di.Instance; | ||
import org.support.project.knowledge.control.Control; | ||
|
||
@DI(instance = Instance.Prototype) | ||
public class AggregateControl extends Control { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
src/main/java/org/support/project/knowledge/dao/MailHookIgnoreConditionsDao.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package org.support.project.knowledge.dao; | ||
|
||
import org.support.project.di.Container; | ||
import org.support.project.di.DI; | ||
import org.support.project.di.Instance; | ||
|
||
import org.support.project.knowledge.dao.gen.GenMailHookIgnoreConditionsDao; | ||
|
||
/** | ||
* メールから投稿の際の除外条件 | ||
*/ | ||
@DI(instance = Instance.Singleton) | ||
public class MailHookIgnoreConditionsDao extends GenMailHookIgnoreConditionsDao { | ||
|
||
/** SerialVersion */ | ||
private static final long serialVersionUID = 1L; | ||
/** | ||
* Get instance from DI container. | ||
* @return instance | ||
*/ | ||
public static MailHookIgnoreConditionsDao get() { | ||
return Container.getComp(MailHookIgnoreConditionsDao.class); | ||
} | ||
|
||
|
||
|
||
} |
27 changes: 27 additions & 0 deletions
27
src/main/java/org/support/project/knowledge/dao/NotificationStatusDao.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package org.support.project.knowledge.dao; | ||
|
||
import org.support.project.di.Container; | ||
import org.support.project.di.DI; | ||
import org.support.project.di.Instance; | ||
|
||
import org.support.project.knowledge.dao.gen.GenNotificationStatusDao; | ||
|
||
/** | ||
* いいねの通知状態 | ||
*/ | ||
@DI(instance = Instance.Singleton) | ||
public class NotificationStatusDao extends GenNotificationStatusDao { | ||
|
||
/** SerialVersion */ | ||
private static final long serialVersionUID = 1L; | ||
/** | ||
* Get instance from DI container. | ||
* @return instance | ||
*/ | ||
public static NotificationStatusDao get() { | ||
return Container.getComp(NotificationStatusDao.class); | ||
} | ||
|
||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.