-
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.
Showing
66 changed files
with
2,517 additions
and
400 deletions.
There are no files selected for viewing
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
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
67 changes: 0 additions & 67 deletions
67
src/main/java/org/support/project/knowledge/control/open/LangControl.java
This file was deleted.
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
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
31 changes: 31 additions & 0 deletions
31
src/main/java/org/support/project/knowledge/dao/KnowledgeEditGroupsDao.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,31 @@ | ||
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.GenKnowledgeEditGroupsDao; | ||
|
||
/** | ||
* 編集可能なグループ | ||
*/ | ||
@DI(instance=Instance.Singleton) | ||
public class KnowledgeEditGroupsDao extends GenKnowledgeEditGroupsDao { | ||
|
||
/** SerialVersion */ | ||
private static final long serialVersionUID = 1L; | ||
/** | ||
* インスタンス取得 | ||
* AOPに対応 | ||
* @return インスタンス | ||
*/ | ||
public static KnowledgeEditGroupsDao get() { | ||
return Container.getComp(KnowledgeEditGroupsDao.class); | ||
} | ||
public void deleteOnKnowledgeId(Long knowledgeId) { | ||
String sql = "DELETE FROM KNOWLEDGE_EDIT_GROUPS WHERE KNOWLEDGE_ID = ?"; | ||
super.executeUpdate(sql, knowledgeId); | ||
} | ||
|
||
|
||
|
||
} |
31 changes: 31 additions & 0 deletions
31
src/main/java/org/support/project/knowledge/dao/KnowledgeEditUsersDao.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,31 @@ | ||
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.GenKnowledgeEditUsersDao; | ||
|
||
/** | ||
* 編集可能なユーザ | ||
*/ | ||
@DI(instance=Instance.Singleton) | ||
public class KnowledgeEditUsersDao extends GenKnowledgeEditUsersDao { | ||
|
||
/** SerialVersion */ | ||
private static final long serialVersionUID = 1L; | ||
/** | ||
* インスタンス取得 | ||
* AOPに対応 | ||
* @return インスタンス | ||
*/ | ||
public static KnowledgeEditUsersDao get() { | ||
return Container.getComp(KnowledgeEditUsersDao.class); | ||
} | ||
public void deleteOnKnowledgeId(Long knowledgeId) { | ||
String sql = "DELETE FROM KNOWLEDGE_EDIT_USERS WHERE KNOWLEDGE_ID = ?"; | ||
super.executeUpdate(sql, knowledgeId); | ||
} | ||
|
||
|
||
|
||
} |
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.