Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
aea7e272
Commit
aea7e272
authored
Apr 21, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文書協業
parent
0ffb1554
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
4 deletions
+25
-4
ABVJE_BL/src/jp/agentec/abook/abv/bl/common/constant/ABookCommConstants.java
+7
-0
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/CommunicationLogic.java
+16
-2
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebviewActivity.java
+1
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ContentViewActivity.java
+1
-1
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/common/constant/ABookCommConstants.java
View file @
aea7e272
...
...
@@ -68,6 +68,13 @@ public interface ABookCommConstants {
String
ATTEND_USER_IDS
=
"attendUserIds"
;
String
ARCHIVE_INFO_LAST_UPDATE_DATE
=
"archiveInfoLastUpdateDate"
;
String
CONTENT_ID
=
"contentId"
;
String
CONTENT_NAEM
=
"contentName"
;
String
THUMBNAIL_NORMAL_PATH
=
"thumbnailNormalPath"
;
String
THUMBNAIL_BIG_PATH
=
"thumbnailBigPath"
;
String
RESOURCE_PATH
=
"resourcePath"
;
String
COLLABORATION_DEATAIL_ID
=
"collaborationDetailId"
;
String
ROOT_GROUP_ID
=
"rootGroupId"
;
...
...
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/CommunicationLogic.java
View file @
aea7e272
...
...
@@ -18,11 +18,13 @@ import jp.agentec.abook.abv.bl.data.dao.ArchiveDao;
import
jp.agentec.abook.abv.bl.data.dao.ChatGroupDao
;
import
jp.agentec.abook.abv.bl.data.dao.ChatMessageDao
;
import
jp.agentec.abook.abv.bl.data.dao.ChatRoomDao
;
import
jp.agentec.abook.abv.bl.data.dao.ContentDao
;
import
jp.agentec.abook.abv.bl.data.dao.ShopMemberDao
;
import
jp.agentec.abook.abv.bl.dto.ArchiveDto
;
import
jp.agentec.abook.abv.bl.dto.ChatMessageDto
;
import
jp.agentec.abook.abv.bl.dto.ChatRoomDto
;
import
jp.agentec.abook.abv.bl.dto.ChatGroupDto
;
import
jp.agentec.abook.abv.bl.dto.ContentDto
;
import
jp.agentec.abook.abv.bl.dto.ShopMemberDto
;
import
jp.agentec.adf.util.ArrayUtil
;
import
jp.agentec.adf.util.CollectionUtil
;
...
...
@@ -39,6 +41,7 @@ public class CommunicationLogic extends AbstractLogic {
private
ChatMessageDao
chatMessageDao
=
AbstractDao
.
getDao
(
ChatMessageDao
.
class
);
private
ShopMemberDao
shopMemberDao
=
AbstractDao
.
getDao
(
ShopMemberDao
.
class
);
private
ChatGroupDao
chatGroupDao
=
AbstractDao
.
getDao
(
ChatGroupDao
.
class
);
private
ContentDao
contentDao
=
AbstractDao
.
getDao
(
ContentDao
.
class
);
private
String
localFilePath
;
private
ArchiveDao
archiveDao
=
AbstractDao
.
getDao
(
ArchiveDao
.
class
);
...
...
@@ -994,7 +997,18 @@ public class CommunicationLogic extends AbstractLogic {
}
public
String
getContentList
()
{
return
"asd"
;
List
<
ContentDto
>
contentDtoList
=
contentDao
.
getDownloadedContents
();
JSONArray
resultJsonArray
=
new
JSONArray
();
for
(
ContentDto
contentDto
:
contentDtoList
)
{
Map
<
String
,
Object
>
contentMap
=
new
HashMap
<
String
,
Object
>();
contentMap
.
put
(
ABookCommConstants
.
KEY
.
CONTENT_ID
,
contentDto
.
contentId
);
contentMap
.
put
(
ABookCommConstants
.
KEY
.
CONTENT_NAEM
,
contentDto
.
contentName
);
contentMap
.
put
(
ABookCommConstants
.
KEY
.
THUMBNAIL_NORMAL_PATH
,
contentDto
.
thumbnailNormalPath
);
contentMap
.
put
(
ABookCommConstants
.
KEY
.
THUMBNAIL_BIG_PATH
,
contentDto
.
thumbnailBigPath
);
contentMap
.
put
(
ABookCommConstants
.
KEY
.
RESOURCE_PATH
,
contentDto
.
resourcePath
);
JSONObject
jsonObject
=
new
JSONObject
(
contentMap
);
resultJsonArray
.
put
(
jsonObject
);
}
return
resultJsonArray
.
toString
();
}
}
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebviewActivity.java
View file @
aea7e272
...
...
@@ -1273,7 +1273,7 @@ public class ChatWebviewActivity extends ParentWebViewActivity {
}
@JavascriptInterface
public
String
getC
O
ntentList
()
{
public
String
getC
o
ntentList
()
{
return
communicationLogic
.
getContentList
();
}
}
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ContentViewActivity.java
View file @
aea7e272
...
...
@@ -348,7 +348,7 @@ public class ContentViewActivity extends ABVContentViewActivity {
super
.
onCreate
(
savedInstanceState
);
// 全画面表示
getWindow
().
addFlags
(
WindowManager
.
LayoutParams
.
FLAG_FULLSCREEN
);
//
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
// 初期値設定
pageBGMPathList
=
new
SparseArray
<>();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment