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
049c73aa
Commit
049c73aa
authored
Apr 12, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
コードレビュー対応。
parent
17f23320
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
19 deletions
+19
-19
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/AcmsClient.java
+4
-4
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/json/ArchiveDetailJSON.java
+1
-1
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/parameters/ArchiveDetailRequestParameters.java
+4
-4
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/parameters/ArchiveRequestParameters.java
+5
-5
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/dao/ArchiveDao.java
+1
-1
ABVJE_BL/src/jp/agentec/abook/abv/bl/dto/ArchiveDto.java
+3
-3
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/CommunicationLogic.java
+1
-1
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/AcmsClient.java
View file @
049c73aa
...
@@ -50,6 +50,8 @@ import jp.agentec.abook.abv.bl.acms.client.parameters.AcmsContentParameters;
...
@@ -50,6 +50,8 @@ import jp.agentec.abook.abv.bl.acms.client.parameters.AcmsContentParameters;
import
jp.agentec.abook.abv.bl.acms.client.parameters.AcmsParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.AcmsParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.AddMemberGroupParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.AddMemberGroupParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.AppStoreNewLoginParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.AppStoreNewLoginParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.ArchiveDetailRequestParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.ArchiveRequestParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.ChangeRoomNameParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.ChangeRoomNameParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.CheckSendLogParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.CheckSendLogParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.ContentReadingLogParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.ContentReadingLogParameters
;
...
@@ -60,8 +62,6 @@ import jp.agentec.abook.abv.bl.acms.client.parameters.EnterpriseNewLoginParamete
...
@@ -60,8 +62,6 @@ import jp.agentec.abook.abv.bl.acms.client.parameters.EnterpriseNewLoginParamete
import
jp.agentec.abook.abv.bl.acms.client.parameters.FavoriteGroupParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.FavoriteGroupParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.FavoriteUserParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.FavoriteUserParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.GetApertureMasterDataParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.GetApertureMasterDataParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.GetArchivesDetailParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.GetArchivesParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.GetContentParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.GetContentParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.GetEnqueteReplyParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.GetEnqueteReplyParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.GetFavoriteParameters
;
import
jp.agentec.abook.abv.bl.acms.client.parameters.GetFavoriteParameters
;
...
@@ -762,7 +762,7 @@ public class AcmsClient implements AcmsClientResponseListener {
...
@@ -762,7 +762,7 @@ public class AcmsClient implements AcmsClientResponseListener {
* @throws AcmsException
* @throws AcmsException
*/
*/
public
ArchiveListJSON
getArchives
(
String
sid
,
String
updateDate
)
throws
NetworkDisconnectedException
,
AcmsException
{
public
ArchiveListJSON
getArchives
(
String
sid
,
String
updateDate
)
throws
NetworkDisconnectedException
,
AcmsException
{
HttpResponse
response
=
send
(
AcmsApis
.
ApigetArchive
,
new
GetArchives
Parameters
(
sid
,
AcmsApis
.
ArchiveCmds
.
getArchive
,
updateDate
));
HttpResponse
response
=
send
(
AcmsApis
.
ApigetArchive
,
new
ArchiveRequest
Parameters
(
sid
,
AcmsApis
.
ArchiveCmds
.
getArchive
,
updateDate
));
ArchiveListJSON
json
=
new
ArchiveListJSON
(
response
.
httpResponseBody
);
ArchiveListJSON
json
=
new
ArchiveListJSON
(
response
.
httpResponseBody
);
return
json
;
return
json
;
}
}
...
@@ -777,7 +777,7 @@ public class AcmsClient implements AcmsClientResponseListener {
...
@@ -777,7 +777,7 @@ public class AcmsClient implements AcmsClientResponseListener {
* @throws AcmsException
* @throws AcmsException
*/
*/
public
ArchiveDetailJSON
getArchiveDetail
(
String
sid
,
Integer
archiveId
,
Integer
collaborationDetailId
)
throws
NetworkDisconnectedException
,
AcmsException
{
public
ArchiveDetailJSON
getArchiveDetail
(
String
sid
,
Integer
archiveId
,
Integer
collaborationDetailId
)
throws
NetworkDisconnectedException
,
AcmsException
{
HttpResponse
response
=
send
(
AcmsApis
.
ApigetArchive
,
new
GetArchivesDetail
Parameters
(
sid
,
AcmsApis
.
ArchiveCmds
.
getArchiveDetail
,
archiveId
,
collaborationDetailId
));
HttpResponse
response
=
send
(
AcmsApis
.
ApigetArchive
,
new
ArchiveDetailRequest
Parameters
(
sid
,
AcmsApis
.
ArchiveCmds
.
getArchiveDetail
,
archiveId
,
collaborationDetailId
));
ArchiveDetailJSON
json
=
new
ArchiveDetailJSON
(
response
.
httpResponseBody
);
ArchiveDetailJSON
json
=
new
ArchiveDetailJSON
(
response
.
httpResponseBody
);
return
json
;
return
json
;
}
}
...
...
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/json/ArchiveDetailJSON.java
View file @
049c73aa
...
@@ -33,7 +33,7 @@ public class ArchiveDetailJSON extends AcmsCommonJSON {
...
@@ -33,7 +33,7 @@ public class ArchiveDetailJSON extends AcmsCommonJSON {
archiveDto
.
archiveDate
=
DateTimeUtil
.
millToDateString
(
archiveInfo
.
getJSONObject
(
ABookCommConstants
.
KEY
.
ARCHIVE_DATE
)
archiveDto
.
archiveDate
=
DateTimeUtil
.
millToDateString
(
archiveInfo
.
getJSONObject
(
ABookCommConstants
.
KEY
.
ARCHIVE_DATE
)
.
getLong
(
ABookCommConstants
.
KEY
.
TIME
),
"yyyy/MM/dd HH:mm"
);
.
getLong
(
ABookCommConstants
.
KEY
.
TIME
),
"yyyy/MM/dd HH:mm"
);
archiveDto
.
roomId
=
archiveInfo
.
getInt
(
ABookCommConstants
.
KEY
.
ROOM_ID
);
archiveDto
.
roomId
=
archiveInfo
.
getInt
(
ABookCommConstants
.
KEY
.
ROOM_ID
);
archiveDto
.
save
u
serId
=
archiveInfo
.
getInt
(
ABookCommConstants
.
KEY
.
SAVE_USER_ID
);
archiveDto
.
save
U
serId
=
archiveInfo
.
getInt
(
ABookCommConstants
.
KEY
.
SAVE_USER_ID
);
archiveDto
.
filePath
=
archiveInfo
.
getString
(
ABookCommConstants
.
KEY
.
FILE_PATH
);
archiveDto
.
filePath
=
archiveInfo
.
getString
(
ABookCommConstants
.
KEY
.
FILE_PATH
);
if
(
archiveInfo
.
has
(
ABookCommConstants
.
KEY
.
ATTEND_USER_IDS
))
{
if
(
archiveInfo
.
has
(
ABookCommConstants
.
KEY
.
ATTEND_USER_IDS
))
{
archiveDto
.
attendUserIds
=
archiveInfo
.
getJSONArray
(
ABookCommConstants
.
KEY
.
ATTEND_USER_IDS
).
toString
();
archiveDto
.
attendUserIds
=
archiveInfo
.
getJSONArray
(
ABookCommConstants
.
KEY
.
ATTEND_USER_IDS
).
toString
();
...
...
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/parameters/
GetArchivesDetail
Parameters.java
→
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/parameters/
ArchiveDetailRequest
Parameters.java
View file @
049c73aa
...
@@ -4,11 +4,11 @@ import jp.agentec.adf.net.http.HttpParameterObject;
...
@@ -4,11 +4,11 @@ import jp.agentec.adf.net.http.HttpParameterObject;
/**
/**
* ACMSのAPIに渡す共通的なパラメータを格納します。ACMSのAPIのパラメータ用クラスを作成するときはこのクラスを継承してください。<br>
* ACMSのAPIに渡す共通的なパラメータを格納します。ACMSのAPIのパラメータ用クラスを作成するときはこのクラスを継承してください。<br>
* ただし、このクラスはログイン状態の確認用として使われる {@link
GetArchivesDetail
Parameters#sid} を持っているため、ログイン用のパラメータ {@link MobileLoginParameters} は、このクラスを継承する必要はありません。
* ただし、このクラスはログイン状態の確認用として使われる {@link
ArchiveDetailRequest
Parameters#sid} を持っているため、ログイン用のパラメータ {@link MobileLoginParameters} は、このクラスを継承する必要はありません。
* @author lee-mk
* @author lee-mk
* @version 1.0.0
* @version 1.0.0
*/
*/
public
class
GetArchivesDetail
Parameters
extends
HttpParameterObject
{
public
class
ArchiveDetailRequest
Parameters
extends
HttpParameterObject
{
/**
/**
* セッションID
* セッションID
* @since 1.0.0
* @since 1.0.0
...
@@ -19,12 +19,12 @@ public class GetArchivesDetailParameters extends HttpParameterObject {
...
@@ -19,12 +19,12 @@ public class GetArchivesDetailParameters extends HttpParameterObject {
private
Integer
collaborationDetailId
;
private
Integer
collaborationDetailId
;
/**
/**
* {@link
GetArchivesDetail
Parameters} のインスタンスを初期化します。
* {@link
ArchiveDetailRequest
Parameters} のインスタンスを初期化します。
* @param sid ログインした時のセッションIDです。
* @param sid ログインした時のセッションIDです。
* @param cmd Apiリクエストに必要なコマンド(ABOOK COMM専用)。
* @param cmd Apiリクエストに必要なコマンド(ABOOK COMM専用)。
* @since 1.0.0
* @since 1.0.0
*/
*/
public
GetArchivesDetail
Parameters
(
String
sid
,
String
cmd
,
Integer
archiveId
,
Integer
collaborationDetailId
)
{
public
ArchiveDetailRequest
Parameters
(
String
sid
,
String
cmd
,
Integer
archiveId
,
Integer
collaborationDetailId
)
{
this
.
sid
=
sid
;
this
.
sid
=
sid
;
this
.
cmd
=
cmd
;
this
.
cmd
=
cmd
;
this
.
archiveId
=
archiveId
;
this
.
archiveId
=
archiveId
;
...
...
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/parameters/
GetArchives
Parameters.java
→
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/parameters/
ArchiveRequest
Parameters.java
View file @
049c73aa
...
@@ -4,11 +4,11 @@ import jp.agentec.adf.net.http.HttpParameterObject;
...
@@ -4,11 +4,11 @@ import jp.agentec.adf.net.http.HttpParameterObject;
/**
/**
* ACMSのAPIに渡す共通的なパラメータを格納します。ACMSのAPIのパラメータ用クラスを作成するときはこのクラスを継承してください。<br>
* ACMSのAPIに渡す共通的なパラメータを格納します。ACMSのAPIのパラメータ用クラスを作成するときはこのクラスを継承してください。<br>
* ただし、このクラスはログイン状態の確認用として使われる {@link
GetArchives
Parameters#sid} を持っているため、ログイン用のパラメータ {@link MobileLoginParameters} は、このクラスを継承する必要はありません。
* ただし、このクラスはログイン状態の確認用として使われる {@link
ArchiveRequest
Parameters#sid} を持っているため、ログイン用のパラメータ {@link MobileLoginParameters} は、このクラスを継承する必要はありません。
* @author
Taejin Hong
* @author
Lee-mk
* @version 1.0.0
* @version 1.0.0
*/
*/
public
class
GetArchives
Parameters
extends
HttpParameterObject
{
public
class
ArchiveRequest
Parameters
extends
HttpParameterObject
{
/**
/**
* セッションID
* セッションID
* @since 1.0.0
* @since 1.0.0
...
@@ -18,12 +18,12 @@ public class GetArchivesParameters extends HttpParameterObject {
...
@@ -18,12 +18,12 @@ public class GetArchivesParameters extends HttpParameterObject {
private
String
updatedDate
;
private
String
updatedDate
;
/**
/**
* {@link
GetArchives
Parameters} のインスタンスを初期化します。
* {@link
ArchiveRequest
Parameters} のインスタンスを初期化します。
* @param sid ログインした時のセッションIDです。
* @param sid ログインした時のセッションIDです。
* @param cmd Apiリクエストに必要なコマンド(ABOOK COMM専用)。
* @param cmd Apiリクエストに必要なコマンド(ABOOK COMM専用)。
* @since 1.0.0
* @since 1.0.0
*/
*/
public
GetArchives
Parameters
(
String
sid
,
String
cmd
,
String
updatedDate
)
{
public
ArchiveRequest
Parameters
(
String
sid
,
String
cmd
,
String
updatedDate
)
{
this
.
sid
=
sid
;
this
.
sid
=
sid
;
this
.
cmd
=
cmd
;
this
.
cmd
=
cmd
;
this
.
updatedDate
=
updatedDate
;
this
.
updatedDate
=
updatedDate
;
...
...
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/dao/ArchiveDao.java
View file @
049c73aa
...
@@ -48,7 +48,7 @@ public class ArchiveDao extends AbstractDao {
...
@@ -48,7 +48,7 @@ public class ArchiveDao extends AbstractDao {
}
}
column
=
cursor
.
getColumnIndex
(
"save_user_id"
);
column
=
cursor
.
getColumnIndex
(
"save_user_id"
);
if
(
column
!=
-
1
)
{
if
(
column
!=
-
1
)
{
dto
.
save
u
serId
=
cursor
.
getInt
(
column
);
dto
.
save
U
serId
=
cursor
.
getInt
(
column
);
}
}
column
=
cursor
.
getColumnIndex
(
"attend_user_ids"
);
column
=
cursor
.
getColumnIndex
(
"attend_user_ids"
);
if
(
column
!=
-
1
)
{
if
(
column
!=
-
1
)
{
...
...
ABVJE_BL/src/jp/agentec/abook/abv/bl/dto/ArchiveDto.java
View file @
049c73aa
...
@@ -7,7 +7,7 @@ public class ArchiveDto extends AbstractDto {
...
@@ -7,7 +7,7 @@ public class ArchiveDto extends AbstractDto {
public
String
archiveDate
;
public
String
archiveDate
;
public
Integer
archiveType
;
public
Integer
archiveType
;
public
Integer
roomId
;
public
Integer
roomId
;
public
Integer
save
u
serId
;
public
Integer
save
U
serId
;
public
String
attendUserIds
;
public
String
attendUserIds
;
public
String
filePath
;
public
String
filePath
;
public
Integer
collaborationDetailId
;
public
Integer
collaborationDetailId
;
...
@@ -16,7 +16,7 @@ public class ArchiveDto extends AbstractDto {
...
@@ -16,7 +16,7 @@ public class ArchiveDto extends AbstractDto {
@Override
@Override
public
Object
[]
getInsertValues
()
{
public
Object
[]
getInsertValues
()
{
return
new
Object
[]{
archiveId
,
archiveName
,
archiveDate
,
archiveType
,
roomId
,
save
u
serId
,
attendUserIds
,
collaborationDetailId
,
filePath
};
return
new
Object
[]{
archiveId
,
archiveName
,
archiveDate
,
archiveType
,
roomId
,
save
U
serId
,
attendUserIds
,
collaborationDetailId
,
filePath
};
}
}
@Override
@Override
...
@@ -25,7 +25,7 @@ public class ArchiveDto extends AbstractDto {
...
@@ -25,7 +25,7 @@ public class ArchiveDto extends AbstractDto {
}
}
public
Object
[]
getUpdateDetailValues
()
{
public
Object
[]
getUpdateDetailValues
()
{
return
new
Object
[]{
archiveName
,
archiveType
,
archiveDate
,
roomId
,
attendUserIds
,
filePath
,
save
u
serId
,
archiveId
};
return
new
Object
[]{
archiveName
,
archiveType
,
archiveDate
,
roomId
,
attendUserIds
,
filePath
,
save
U
serId
,
archiveId
};
}
}
@Override
@Override
...
...
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/CommunicationLogic.java
View file @
049c73aa
...
@@ -829,7 +829,7 @@ public class CommunicationLogic extends AbstractLogic {
...
@@ -829,7 +829,7 @@ public class CommunicationLogic extends AbstractLogic {
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
ARCHIVE_TYPE
,
archiveDto
.
archiveType
);
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
ARCHIVE_TYPE
,
archiveDto
.
archiveType
);
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
ROOM_ID
,
archiveDto
.
roomId
);
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
ROOM_ID
,
archiveDto
.
roomId
);
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
ROOM_NAME
,
chatRoomDao
.
getChatRoom
(
archiveDto
.
roomId
).
chatRoomName
);
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
ROOM_NAME
,
chatRoomDao
.
getChatRoom
(
archiveDto
.
roomId
).
chatRoomName
);
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
SAVE_USER_ID
,
archiveDto
.
save
u
serId
);
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
SAVE_USER_ID
,
archiveDto
.
save
U
serId
);
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
ATTEND_USER_IDS
,
archiveDto
.
attendUserIds
);
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
ATTEND_USER_IDS
,
archiveDto
.
attendUserIds
);
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
FILE_PATH
,
archiveDto
.
filePath
);
archiveMap
.
put
(
ABookCommConstants
.
KEY
.
FILE_PATH
,
archiveDto
.
filePath
);
JSONObject
jsonObject
=
new
JSONObject
(
archiveMap
);
JSONObject
jsonObject
=
new
JSONObject
(
archiveMap
);
...
...
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