Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
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_web
check
Commits
b9c45397
Commit
b9c45397
authored
Dec 07, 2012
by
Motohisa Nakano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20121206-3
parent
90cbc971
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
674 additions
and
607 deletions
+674
-607
abvw/common/js/common.js
+602
-579
abvw/common/json/lang/lang-en.json
+3
-3
abvw/common/json/lang/lang-ja.json
+1
-1
abvw/common/json/lang/lang-ko.json
+1
-1
abvw/contentview.html
+8
-3
abvw/js/contentview.js
+59
-20
No files found.
abvw/common/js/common.js
View file @
b9c45397
...
...
@@ -124,9 +124,6 @@ var Keys = {
// Session:パスワード要変更(requirePasswordChange):String (0:不要, 1:初回, 2:定期変更)
requirePasswordChange
:
'requirePasswordChange'
,
// Local:ユーザ情報(userInfo)_言語:String
userInfo_language
:
'language'
,
/* -------------------------------------------------------------------------------- */
// Session:ユーザ情報(userInfo)_セッションID:String
userInfo_sid
:
'sid'
,
...
...
@@ -450,1035 +447,1053 @@ function restoreData(jsonString) {
return
data
;
}
var
ClientData
=
{
// Local
IsJumpBack
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
IsJumpBack
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
IsJumpBack
);
}
},
// Local
JumpQueue
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
JumpQueue
,
data
);
}
else
{
if
(
LocalStorageUtils
.
get
(
Keys
.
JumpQueue
)
==
undefined
||
LocalStorageUtils
.
get
(
Keys
.
JumpQueue
)
==
null
)
{
var
tempData
=
[];
LocalStorageUtils
.
set
(
Keys
.
JumpQueue
,
tempData
);
}
return
LocalStorageUtils
.
get
(
Keys
.
JumpQueue
);
function
operateData
(
args
,
strKey
,
returnDefaultData
)
{
if
(
args
.
length
>
0
)
{
var
data
=
args
[
0
];
LocalStorageUtils
.
set
(
strKey
,
data
);
SessionStorageUtils
.
set
(
strKey
,
JSON
.
stringify
(
data
));
}
else
{
if
(
SessionStorageUtils
.
get
(
strKey
)
!=
'undefined'
&&
SessionStorageUtils
.
get
(
strKey
)
!=
undefined
&&
SessionStorageUtils
.
get
(
strKey
)
!=
''
&&
SessionStorageUtils
.
get
(
strKey
)
!=
null
&&
SessionStorageUtils
.
get
(
strKey
)
!=
'null'
)
{
return
JSON
.
parse
(
SessionStorageUtils
.
get
(
strKey
));
}
},
IsRefresh
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
IsRefresh
,
JSON
.
stringify
(
data
));
}
else
{
if
(
SessionStorageUtils
.
get
(
Keys
.
IsRefresh
)
!=
'undefined'
&&
SessionStorageUtils
.
get
(
Keys
.
IsRefresh
)
!=
undefined
&&
SessionStorageUtils
.
get
(
Keys
.
IsRefresh
)
!=
''
&&
SessionStorageUtils
.
get
(
Keys
.
IsRefresh
)
!=
null
&&
SessionStorageUtils
.
get
(
Keys
.
IsRefresh
)
!=
'null'
)
{
return
JSON
.
parse
(
SessionStorageUtils
.
get
(
Keys
.
IsRefresh
));
else
{
SessionStorageUtils
.
set
(
strKey
,
JSON
.
stringify
(
LocalStorageUtils
.
get
(
strKey
)));
if
(
SessionStorageUtils
.
get
(
strKey
)
!=
'undefined'
&&
SessionStorageUtils
.
get
(
strKey
)
!=
undefined
&&
SessionStorageUtils
.
get
(
strKey
)
!=
''
&&
SessionStorageUtils
.
get
(
strKey
)
!=
null
&&
SessionStorageUtils
.
get
(
strKey
)
!=
'null'
)
{
return
JSON
.
parse
(
SessionStorageUtils
.
get
(
strKey
));
}
return
false
;
return
returnDefaultData
;
}
},
// Session
IsLocked
:
function
(
data
)
{
}
}
var
ClientData
=
{
// Local :ユーザ情報(userInfo)_アカウントパス:String
userInfo_accountPath
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
IsLocked
,
data
);
avwUserSetting
().
set
(
Keys
.
userInfo_accountPath
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
IsLocked
);
return
avwUserSetting
().
get
(
Keys
.
userInfo_accountPath
);
}
},
// Local
IsHideToolbar
:
function
(
data
)
{
// Local
: ユーザ情報(userInfo)_セッションID:String
userInfo_sid_local
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
IsHideToolbar
,
data
);
avwUserSetting
().
set
(
Keys
.
userInfo_sid
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
IsHideToolbar
);
return
avwUserSetting
().
get
(
Keys
.
userInfo_sid
);
}
},
// Local
IsAddingMarking
:
function
(
data
)
{
// Local
:ユーザ情報(userInfo)_ログインID:String
userInfo_loginId
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
IsAddingMarking
,
data
);
avwUserSetting
().
set
(
Keys
.
userInfo_loginId
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
IsAddingMarking
);
return
avwUserSetting
().
get
(
Keys
.
userInfo_loginId
);
}
},
// Local
IsAddingMemo
:
function
(
data
)
{
// Local
:ユーザ情報(userInfo)_アカウント情報記憶フラグ:Char(Y:可能, N:不可)
userInfo_rememberLogin
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
IsAddingMemo
,
data
);
avwUserSetting
().
set
(
Keys
.
userInfo_rememberLogin
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
IsAddingMemo
);
return
avwUserSetting
().
get
(
Keys
.
userInfo_rememberLogin
);
}
},
// Local
IsDisplayMarking
:
function
(
data
)
{
// Local
JumpQueue
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
IsDisplayMarking
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
IsDisplayMarking
);
operateData
(
arguments
,
Keys
.
JumpQueue
,
[]);
}
},
// Local
IsDisplayMemo
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
IsDisplayMemo
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
IsDisplayMemo
);
else
{
return
operateData
(
arguments
,
Keys
.
JumpQueue
,
[]);
}
},
// Local
ResourceVersion
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
ResourceVersion
,
data
);
}
else
{
if
(
LocalStorageUtils
.
get
(
Keys
.
ResourceVersion
)
==
undefined
||
LocalStorageUtils
.
get
(
Keys
.
ResourceVersion
)
==
null
)
{
var
tempData
=
[];
LocalStorageUtils
.
set
(
Keys
.
ResourceVersion
,
tempData
);
}
return
LocalStorageUtils
.
get
(
Keys
.
ResourceVersion
);
operateData
(
arguments
,
Keys
.
ResourceVersion
,
[]);
}
else
{
return
operateData
(
arguments
,
Keys
.
ResourceVersion
,
[]);
}
},
// Local
ContentViewDetail
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
ContentViewDetail
,
data
);
}
else
{
if
(
LocalStorageUtils
.
get
(
Keys
.
ContentViewDetail
)
==
undefined
||
LocalStorageUtils
.
get
(
Keys
.
ContentViewDetail
)
==
null
)
{
var
tempData
=
[];
LocalStorageUtils
.
set
(
Keys
.
ContentViewDetail
,
tempData
);
}
return
LocalStorageUtils
.
get
(
Keys
.
ContentViewDetail
);
operateData
(
arguments
,
Keys
.
ContentViewDetail
,
[]);
}
else
{
return
operateData
(
arguments
,
Keys
.
ContentViewDetail
,
[]);
}
},
// Local
MetaVersion
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
MetaVersion
,
data
);
}
else
{
if
(
LocalStorageUtils
.
get
(
Keys
.
MetaVersion
)
==
undefined
||
LocalStorageUtils
.
get
(
Keys
.
MetaVersion
)
==
null
)
{
var
tempData
=
[];
LocalStorageUtils
.
set
(
Keys
.
MetaVersion
,
tempData
);
}
return
LocalStorageUtils
.
get
(
Keys
.
MetaVersion
);
operateData
(
arguments
,
Keys
.
MetaVersion
,
[]);
}
else
{
return
operateData
(
arguments
,
Keys
.
MetaVersion
,
[]);
}
},
// Local
ReadingContentIds
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
ReadingContentIds
,
data
);
}
else
{
if
(
LocalStorageUtils
.
get
(
Keys
.
ReadingContentIds
)
==
undefined
||
LocalStorageUtils
.
get
(
Keys
.
ReadingContentIds
)
==
null
)
{
var
tempData
=
[];
LocalStorageUtils
.
set
(
Keys
.
ReadingContentIds
,
tempData
);
}
return
LocalStorageUtils
.
get
(
Keys
.
ReadingContentIds
);
operateData
(
arguments
,
Keys
.
ReadingContentIds
,
[]);
}
else
{
return
operateData
(
arguments
,
Keys
.
ReadingContentIds
,
[]);
}
},
// Bookmark collection
//
Local:
Bookmark collection
BookMarkData
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
BookMarkData
,
data
);
}
else
{
if
(
LocalStorageUtils
.
get
(
Keys
.
BookMarkData
)
==
undefined
||
LocalStorageUtils
.
get
(
Keys
.
BookMarkData
)
==
null
)
{
var
tempData
=
[];
LocalStorageUtils
.
set
(
Keys
.
BookMarkData
,
tempData
);
}
return
LocalStorageUtils
.
get
(
Keys
.
BookMarkData
);
operateData
(
arguments
,
Keys
.
BookMarkData
,
[]);
}
else
{
return
operateData
(
arguments
,
Keys
.
BookMarkData
,
[]);
}
},
// Marking collection
//
Local:
Marking collection
MarkingData
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
MarkingData
,
data
);
}
else
{
if
(
LocalStorageUtils
.
get
(
Keys
.
MarkingData
)
==
undefined
||
LocalStorageUtils
.
get
(
Keys
.
MarkingData
)
==
null
)
{
var
tempData
=
[];
LocalStorageUtils
.
set
(
Keys
.
MarkingData
,
tempData
);
}
return
LocalStorageUtils
.
get
(
Keys
.
MarkingData
);
operateData
(
arguments
,
Keys
.
MarkingData
,
[]);
}
else
{
return
operateData
(
arguments
,
Keys
.
MarkingData
,
[]);
}
},
// Local: content log collection
ContentLogData
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
ContentLogData
,
data
);
SessionStorageUtils
.
set
(
Keys
.
ContentLogData
,
JSON
.
stringify
(
data
));
}
else
{
if
(
SessionStorageUtils
.
get
(
Keys
.
ContentLogData
)
!=
'undefined'
&&
SessionStorageUtils
.
get
(
Keys
.
ContentLogData
)
!=
undefined
&&
SessionStorageUtils
.
get
(
Keys
.
ContentLogData
)
!=
''
&&
SessionStorageUtils
.
get
(
Keys
.
ContentLogData
)
!=
null
&&
SessionStorageUtils
.
get
(
Keys
.
ContentLogData
)
!=
'null'
)
{
return
JSON
.
parse
(
SessionStorageUtils
.
get
(
Keys
.
ContentLogData
));
}
else
{
SessionStorageUtils
.
set
(
Keys
.
ContentLogData
,
JSON
.
stringify
(
LocalStorageUtils
.
get
(
Keys
.
ContentLogData
)));
if
(
SessionStorageUtils
.
get
(
Keys
.
ContentLogData
)
!=
'undefined'
&&
SessionStorageUtils
.
get
(
Keys
.
ContentLogData
)
!=
undefined
&&
SessionStorageUtils
.
get
(
Keys
.
ContentLogData
)
!=
''
&&
SessionStorageUtils
.
get
(
Keys
.
ContentLogData
)
!=
null
&&
SessionStorageUtils
.
get
(
Keys
.
ContentLogData
)
!=
'null'
)
{
return
JSON
.
parse
(
SessionStorageUtils
.
get
(
Keys
.
ContentLogData
));
}
else
{
return
[];
}
}
operateData
(
arguments
,
Keys
.
ContentLogData
,
[]);
}
else
{
return
operateData
(
arguments
,
Keys
.
ContentLogData
,
[]);
}
},
// Memo collection
//
Local:
Memo collection
MemoData
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
MemoData
,
data
);
}
else
{
if
(
LocalStorageUtils
.
get
(
Keys
.
MemoData
)
==
undefined
||
LocalStorageUtils
.
get
(
Keys
.
MemoData
)
==
null
)
{
var
tempData
=
[];
LocalStorageUtils
.
set
(
Keys
.
MemoData
,
tempData
);
}
return
LocalStorageUtils
.
get
(
Keys
.
MemoData
);
operateData
(
arguments
,
Keys
.
MemoData
,
[]);
}
else
{
return
operateData
(
arguments
,
Keys
.
MemoData
,
[]);
}
},
// Local
MarkingType
:
function
(
data
)
{
IsJumpBack
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
MarkingType
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
MarkingType
);
operateData
(
arguments
,
Keys
.
IsJumpBack
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
IsJumpBack
,
undefined
);
}
},
// Local
:ユーザオプション(userOpt)_ログアウトモード: Interger(0:logout with backup, 1:logout without backup)
userOpt_logoutMode
:
function
(
data
)
{
// Local
IsHideToolbar
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
userOpt_logoutMode
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
userOpt_logoutMode
);
operateData
(
arguments
,
Keys
.
IsHideToolbar
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
IsHideToolbar
,
undefined
);
}
},
// Local
BookmarkScreen
:
function
(
data
)
{
IsAddingMarking
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
BookmarkScreen
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
BookmarkScreen
);
operateData
(
arguments
,
Keys
.
IsAddingMarking
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
IsAddingMarking
,
undefined
);
}
},
//
Session
userInfo_userName
:
function
(
data
)
{
//
Local
IsAddingMemo
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
userInfo_userName
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
userInfo_userName
);
operateData
(
arguments
,
Keys
.
IsAddingMemo
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
IsAddingMemo
,
undefined
);
}
},
// Session :コンテンツ詳細情報(contentInfo)_サムネール: String (base64string)
contentInfo_contentThumbnail
:
function
(
data
)
{
// Local
IsDisplayMarking
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
contentInfo_contentThumbnail
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_contentThumbnail
);
operateData
(
arguments
,
Keys
.
IsDisplayMarking
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
IsDisplayMarking
,
undefined
);
}
},
// Local
IsDisplayMemo
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
operateData
(
arguments
,
Keys
.
IsDisplayMemo
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
IsDisplayMemo
,
undefined
);
}
},
// Local
MarkingType
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
operateData
(
arguments
,
Keys
.
MarkingType
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
MarkingType
,
undefined
);
}
},
// Local :ユーザオプション(userOpt)_ログアウトモード: Interger(0:logout with backup, 1:logout without backup)
userOpt_logoutMode
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
operateData
(
arguments
,
Keys
.
userOpt_logoutMode
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
userOpt_logoutMode
,
undefined
);
}
},
// Local
BookmarkScreen
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
operateData
(
arguments
,
Keys
.
BookmarkScreen
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
BookmarkScreen
,
undefined
);
}
},
// Local: isChangedMemo: boolean (true: changed, false: not change)
isChangedMemo
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
isChangedMemo
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
isChangedMemo
);
operateData
(
arguments
,
Keys
.
isChangedMemo
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
isChangedMemo
,
undefined
);
}
},
//
Session
: isChangedMakingData: boolean (true: changed, false: not change)
//
Local
: isChangedMakingData: boolean (true: changed, false: not change)
isChangedMarkingData
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
isChangedMarkingData
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
isChangedMarkingData
);
operateData
(
arguments
,
Keys
.
isChangedMarkingData
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
isChangedMarkingData
,
undefined
);
}
},
//
Session
: isChangedBookmark: boolean (true: changed, false: not change)
//
Local
: isChangedBookmark: boolean (true: changed, false: not change)
isChangedBookmark
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
isChangedBookmark
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
isChangedBookmark
);
operateData
(
arguments
,
Keys
.
isChangedBookmark
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
isChangedBookmark
,
undefined
);
}
},
//
Session:パスワード要変更(requirePasswordChange):String (0:不要, 1:初回, 2:定期変更)
requirePasswordChange
:
function
(
data
)
{
//
Local :共通(common)_コンテンツID:Integer
common_preContentId
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
requirePasswordChange
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
requirePasswordChange
);
operateData
(
arguments
,
Keys
.
common_preContentId
,
undefined
);
}
},
// Loal: ユーザ情報(userInfo)_言語:String
userInfo_language
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
avwUserSetting
().
set
(
Keys
.
userInfo_language
,
data
);
}
else
{
return
avwUserSetting
().
get
(
Keys
.
userInfo_language
);
else
{
return
operateData
(
arguments
,
Keys
.
common_preContentId
,
undefined
);
}
},
//
Session:ユーザ情報(userInfo)_セッションID:String
userInfo_sid
:
function
(
data
)
{
//
Local :ページ情報データ(common)_ページNo:Integer
common_prePageNo
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
userInfo_sid
,
data
);
avwUserSetting
().
set
(
Keys
.
userInfo_sid
,
data
);
}
else
{
//return avwUserSetting().get(Keys.userInfo_sid);
if
(
avwUserSession
())
{
return
SessionStorageUtils
.
get
(
Keys
.
userInfo_sid
);
}
return
null
;
operateData
(
arguments
,
Keys
.
common_prePageNo
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
common_prePageNo
,
undefined
);
}
},
// Local
:ユーザ情報(userInfo)_セッションID:String
userInfo_sid_local
:
function
(
data
)
{
// Local
:マーキングツールバー(marking)_ツールデフォルト:Interger(ベン:1, マーカー:2, 消しゴム:3)
marking_defaultDsp
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
avwUserSetting
().
set
(
Keys
.
userInfo_sid
,
data
);
}
else
{
return
avwUserSetting
().
get
(
Keys
.
userInfo_sid
);
operateData
(
arguments
,
Keys
.
marking_defaultDsp
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
marking_defaultDsp
,
undefined
);
}
},
// Session :事業者オプション(serviceOpt)_初回ログイン時パスワード強制変更:Integer(0:なし, 1:催促, 2:強制)
serviceOpt_force_pw_change_on_login
:
function
(
data
)
{
// Local :ペン書式設定(penOpt)_色:String
penOpt_color
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
serviceOpt_force_pw_change_on_login
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
serviceOpt_force_pw_change_on_login
);
operateData
(
arguments
,
Keys
.
penOpt_color
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
penOpt_color
,
undefined
);
}
},
//
Session :事業者オプション(serviceOpt)_定期ログイン時パスワード強制変更:Integer(0:なし, 1:催促, 2:強制)
serviceOpt_force_pw_change_periodically
:
function
(
data
)
{
//
Local :ペン書式設定(penOpt)_サイズ:Interger
penOpt_size
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
serviceOpt_force_pw_change_periodically
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
serviceOpt_force_pw_change_periodically
);
operateData
(
arguments
,
Keys
.
penOpt_size
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
penOpt_size
,
undefined
);
}
},
//
Session:事業者オプション(serviceOpt)_メモ・マーキングデータバックアップ使用:Char(Y:可能, N:不可)
serviceOpt_user_data_backup
:
function
(
data
)
{
//
Local :マーカ書式設定(maker)_色:String
maker_color
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
serviceOpt_user_data_backup
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
serviceOpt_user_data_backup
);
operateData
(
arguments
,
Keys
.
maker_color
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
maker_color
,
undefined
);
}
},
//
Session :事業者オプション(serviceOpt)_マーキング機能使用:Char(Y:可能, N:不可)
serviceOpt_marking
:
function
(
data
)
{
//
Local :マーカ書式設定(maker)_サイズ:Interger
maker_size
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
serviceOpt_marking
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
serviceOpt_marking
);
operateData
(
arguments
,
Keys
.
maker_size
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
maker_size
,
undefined
);
}
},
//
Session :事業者オプション(serviceOpt)_一定期間経過後アプリロック:Char(Y:可能, N:不可)
serviceOpt_force_login_periodically
:
function
(
data
)
{
//
Local :消しゴム書式設定(erase)_色:String
erase_color
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
serviceOpt_force_login_periodically
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
serviceOpt_force_login_periodically
);
operateData
(
arguments
,
Keys
.
erase_color
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
erase_color
,
undefined
);
}
},
//
Session :共通(common)_コンテンツID:Inte
ger
common_contentId
:
function
(
data
)
{
//
Local :消しゴム書式設定(erase)_サイズ:Inter
ger
erase_size
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
common_contentId
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
common_contentId
);
operateData
(
arguments
,
Keys
.
erase_size
,
undefined
);
}
},
// Local :共通(common)_コンテンツID:Integer
common_preContentId
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
common_preContentId
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
common_preContentId
);
else
{
return
operateData
(
arguments
,
Keys
.
erase_size
,
undefined
);
}
},
// Session: 共通(common)_コンテンツデータチェックフラグ: Integer(true/false, true:メモ、マーキング、しおりを削除する処理を行える false:メモ、マーキング、しおりを削除する処理をしない)
common_contentDataChkFlg
:
function
(
data
)
{
// Local :インデックスデータ(index)_目次ID:Interger(Number)
index_ID
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
common_contentDataChkFlg
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
common_contentDataChkFlg
);
operateData
(
arguments
,
Keys
.
index_ID
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
index_ID
,
undefined
);
}
},
// Session :ページ情報データ(pageInfo)_ページNo:Integer
pageInfo_pageNo
:
function
(
data
)
{
// Local :インデックスデータ(index)_親の目次ID:Interger(Number)
index_parentID
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
pageInfo_pageNo
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
pageInfo_pageNo
);
operateData
(
arguments
,
Keys
.
index_parentID
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
index_parentID
,
undefined
);
}
},
// Local :ページ情報データ(common)_ページNo:Integer
common_prePageNo
:
function
(
data
)
{
// Local :インデックスデータ(index)_目次名:String(String)
index_title
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
common_prePageNo
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
common_prePageNo
);
operateData
(
arguments
,
Keys
.
index_title
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
index_title
,
undefined
);
}
},
// Session :ページ情報データ(pageInfo)_ページテキスト:String
pageInfo_pageText
:
function
(
data
)
{
// Local :インデックスデータ(index)_該当ページ:Interger(Number)
index_destPageNumber
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
pageInfo_pageText
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
pageInfo_pageText
);
operateData
(
arguments
,
Keys
.
index_destPageNumber
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
index_destPageNumber
,
undefined
);
}
},
//
Session :ページ情報データ(pageInfo)_コンテンツサムネイル:Integer
pageInfo_pageImgResrcId
:
function
(
data
)
{
//
Local :ユーザ情報(userInfo)_最終ログイン日時:Datetime
userInfo_lastLoginTime
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
pageInfo_pageImgResrcId
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
pageInfo_pageImgResrcId
);
operateData
(
arguments
,
Keys
.
userInfo_lastLoginTime
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
userInfo_lastLoginTime
,
undefined
);
}
},
//
Session :コンテンツ内リンク(linkInfo)_リンク位置のx座標:Integer
linkInfo_linkLocationX
:
function
(
data
)
{
//
Local :ユーザ情報(userInfo)_パスワードスキップ日時:Datetime
userInfo_pwdSkipDt
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
linkInfo_linkLocationX
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
linkInfo_linkLocationX
);
operateData
(
arguments
,
Keys
.
userInfo_pwdSkipDt
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
userInfo_pwdSkipDt
,
undefined
);
}
},
//
Session :コンテンツ内リンク(linkInfo)_リンク位置のy座標:Integer
linkInfo_linkLocationY
:
function
(
data
)
{
//
Local: ユーザオプション(userOpt)_初期表示画面モード(本棚/リスト):Interger(0:本棚, 1:リスト)
userOpt_homeMode
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
linkInfo_linkLocationY
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
linkInfo_linkLocationY
);
operateData
(
arguments
,
Keys
.
userOpt_homeMode
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
userOpt_homeMode
,
undefined
);
}
},
//
Session :コンテンツ内リンク(linkInfo)_リンク領域の幅:Integer
linkInfo_linkLocationWidth
:
function
(
data
)
{
//
Local :ユーザオプション(userOpt)_動画繰り返しフラグ:Interger(0: 繰り返しなし, 1: 繰り返しあり)
userOpt_videoMode
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
linkInfo_linkLocationWidth
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
linkInfo_linkLocationWidth
);
operateData
(
arguments
,
Keys
.
userOpt_videoMode
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
userOpt_videoMode
,
undefined
);
}
},
//
Session :コンテンツ内リンク(linkInfo)_リンク領域の高さ:Integer
linkInfo_linkLocationHeight
:
function
(
data
)
{
//
Local :ユーザオプション(userOpt)_音楽繰り返しフラグ:Interger(0: 繰り返しなし, 1: 繰り返しあり)
userOpt_musicMode
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
linkInfo_linkLocationHeight
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
linkInfo_linkLocationHeight
);
operateData
(
arguments
,
Keys
.
userOpt_musicMode
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
userOpt_musicMode
,
undefined
);
}
},
//
Session :コンテンツ内リンク(linkInfo)_リンクタイプ:Integer(0/1
)
linkInfo_linkKind
:
function
(
data
)
{
//
Local :ユーザオプション(userOpt)_マーキング表示設定:Interger(0:表示しない, 1:表示する
)
userOpt_makingDsp
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
linkInfo_linkKind
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
linkInfo_linkKind
);
operateData
(
arguments
,
Keys
.
userOpt_makingDsp
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
userOpt_makingDsp
,
undefined
);
}
},
//
Session :コンテンツ内リンク(linkInfo)_ターゲットURI:String(0/1
)
linkInfo_destURI
:
function
(
data
)
{
//
Local :ユーザオプション(userOpt)_バックアップ確認フラグ:Interger(0:する, 1:しない
)
userOpt_bkConfirmFlg
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
linkInfo_destURI
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
linkInfo_destURI
);
operateData
(
arguments
,
Keys
.
userOpt_bkConfirmFlg
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
userOpt_bkConfirmFlg
,
undefined
);
}
},
//
Session :コンテンツ内リンク(linkInfo)_ターゲットページNo:Integer(0/1)
linkInfo_destPageNumber
:
function
(
data
)
{
//
Local :閲覧履歴(viewlog)_コンテンツID:Interger
viewlog_contentId
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
linkInfo_destPageNumber
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
linkInfo_destPageNumber
);
operateData
(
arguments
,
Keys
.
viewlog_contentId
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
viewlog_contentId
,
undefined
);
}
},
//
Session :閲覧ログ(log)_コンテンツ閲覧開始時刻
:Datetime
log_contentStartV
iewDt
:
function
(
data
)
{
//
Local :閲覧履歴(viewlog)_閲覧日
:Datetime
viewlog_v
iewDt
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
log_contentStartViewDt
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
log_contentStartViewDt
);
operateData
(
arguments
,
Keys
.
viewlog_viewDt
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
viewlog_viewDt
,
undefined
);
}
},
//
Session :コンテンツ詳細情報(contentInfo)_コンテンツID:Inte
ger
contentInfo_contentId
:
function
(
data
)
{
//
Local :閲覧履歴(viewlog)_メタ更新バージョン:Inter
ger
viewlog_metaVersion
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
contentInfo_contentId
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_contentId
);
operateData
(
arguments
,
Keys
.
viewlog_metaVersion
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
viewlog_metaVersion
,
undefined
);
}
},
//
Session :コンテンツ詳細情報(contentInfo)_カテゴリID:Inte
ger
contentInfo_categoryId
:
function
(
data
)
{
//
Local :閲覧履歴(viewlog)_リソース更新バージョン:Inter
ger
viewlog_resourceVersion
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
contentInfo_categoryId
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_categoryId
);
operateData
(
arguments
,
Keys
.
viewlog_resourceVersion
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
viewlog_resourceVersion
,
undefined
);
}
},
//
Session :コンテンツ詳細情報(contentInfo)_コンテンツ名:String
contentInfo_contentNam
e
:
function
(
data
)
{
//
Local :並び順(sortOpt)_表示モード:Interger(0:本棚, 1:リスト)
sortOpt_viewMod
e
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
contentInfo_contentName
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_contentName
);
operateData
(
arguments
,
Keys
.
sortOpt_viewMode
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
sortOpt_viewMode
,
undefined
);
}
},
//
Session :コンテンツ詳細情報(contentInfo)_コンテンツ名(カナ):String
contentInfo_contentNameKana
:
function
(
data
)
{
//
Local :並び順(sortOpt)_表示区分:Interger(0:ジャンル, 1:グループ)
sortOpt_viewType
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
contentInfo_contentNameKana
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_contentNameKana
);
operateData
(
arguments
,
Keys
.
sortOpt_viewType
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
sortOpt_viewType
,
undefined
);
}
},
//
Session :コンテンツ詳細情報(contentInfo)_コンテンツ詳細:String
contentInfo_contentDetail
:
function
(
data
)
{
//
Local :並び順(sortOpt)_ソート基準:Interger(1:コンテンツ検索, 2:タグ検索, 3:全文検索)
sortOpt_searchDivision
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
contentInfo_contentDetail
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_contentDetail
);
operateData
(
arguments
,
Keys
.
sortOpt_searchDivision
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
sortOpt_searchDivision
,
undefined
);
}
},
//
Session :コンテンツ詳細情報(contentInfo)_公開開始日:Datetime
contentInfo_deliveryStartDat
e
:
function
(
data
)
{
//
Local: 並び順(sortOpt)_ソート方法:Interger(1:タイトル名, 2:タイトル名(かな), 3:公開順)
sortOpt_sortTyp
e
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
contentInfo_deliveryStartDate
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_deliveryStartDate
);
operateData
(
arguments
,
Keys
.
sortOpt_sortType
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
sortOpt_sortType
,
undefined
);
}
},
//
Session :コンテンツ詳細情報(contentInfo)_公開終了日:Datetime
contentInfo_deliveryEndDate
:
function
(
data
)
{
//
Local :しおりデータ(bookmark)_コンテンツID:Interger
bookmark_contentNo
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
contentInfo_deliveryEndDate
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_deliveryEndDate
);
operateData
(
arguments
,
Keys
.
bookmark_contentNo
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
bookmark_contentNo
,
undefined
);
}
},
//
Session :コンテンツ詳細情報(contentInfo)_本棚サムネール名
:Interger
contentInfo_thumbnailName
:
function
(
data
)
{
//
Local :しおりデータ(bookmark)_ページNo
:Interger
bookmark_pageNo
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
contentInfo_thumbnailName
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_thumbnailName
);
operateData
(
arguments
,
Keys
.
bookmark_pageNo
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
bookmark_pageNo
,
undefined
);
}
},
//
Session :コンテンツ詳細情報(contentInfo)_詳細画面サムネール名
:Interger
contentInfo_thumbnailBigName
:
function
(
data
)
{
//
Local :メモデータ(memo)_コンテンツID
:Interger
memo_contentNo
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
contentInfo_thumbnailBigName
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_thumbnailBigName
);
operateData
(
arguments
,
Keys
.
memo_contentNo
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
memo_contentNo
,
undefined
);
}
},
//
Session :コンテンツ詳細情報(contentInfo)_メタ更新バージョン
:Interger
contentInfo_metaVersion
:
function
(
data
)
{
//
Local :メモデータ(memo)_ページNo
:Interger
memo_pageNo
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
contentInfo_metaVersion
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_metaVersion
);
operateData
(
arguments
,
Keys
.
memo_pageNo
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
memo_pageNo
,
undefined
);
}
},
//
Session :コンテンツ詳細情報(contentInfo)_リソース更新バージョン
:Interger
contentInfo_resourceVersion
:
function
(
data
)
{
//
Local :メモデータ(memo)_位置X座標
:Interger
memo_posX
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
contentInfo_resourceVersion
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_resourceVersion
);
operateData
(
arguments
,
Keys
.
memo_posX
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
memo_posX
,
undefined
);
}
},
//
Session :コンテンツ詳細情報(contentInfo)_PDF総ページ数
:Interger
contentInfo_allPageNum
:
function
(
data
)
{
//
Local :メモデータ(memo)_位置Y座標
:Interger
memo_posY
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
contentInfo_allPageNum
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_allPageNum
);
operateData
(
arguments
,
Keys
.
memo_posY
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
memo_posY
,
undefined
);
}
},
//
Session :検索条件(searchCond)_検索テキスト
:String
searchCond_search
Text
:
function
(
data
)
{
//
Local :メモデータ(memo)_内容(テキスト)
:String
memo_
Text
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
searchCond_searchText
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
searchCond_searchText
);
operateData
(
arguments
,
Keys
.
memo_Text
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
memo_Text
,
undefined
);
}
},
//
Session :検索条件(searchCond)_検索区分:Interger(1:コンテンツ検索, 2:タグ検索, 3:全文検索)
searchCond_searchDivision
:
function
(
data
)
{
//
Local :マーキングデータ(makingData)_コンテンツID:Interger
makingData_contentNo
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
searchCond_searchDivision
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
searchCond_searchDivision
);
operateData
(
arguments
,
Keys
.
makingData_contentNo
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
makingData_contentNo
,
undefined
);
}
},
//
Session :検索条件(searchCond)_ソート基準:Interger(1:タイトル名, 2:タイトル名(かな), 3:公開順)
searchCond_sortType
:
function
(
data
)
{
//
Local :マーキングデータ(makingData)_ページNo:Interger
makingData_pageNo
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
searchCond_sortType
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
searchCond_sortType
);
operateData
(
arguments
,
Keys
.
makingData_pageNo
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
makingData_pageNo
,
undefined
);
}
},
//
Session :検索条件(searchCond)_ソート方法:Interger(1:昇順, 2:降順)
searchCond_sortOrder
:
function
(
data
)
{
//
Local :マーキングデータ(makingData)_内容(イメージオブジェクト):String
makingData_content
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
searchCond_sortOrder
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
searchCond_sortOrder
);
operateData
(
arguments
,
Keys
.
makingData_content
,
undefined
);
}
else
{
return
operateData
(
arguments
,
Keys
.
makingData_content
,
undefined
);
}
},
// Session
:検索条件(searchCond)_レコードFrom:Interger
searchCond_recordFrom
:
function
(
data
)
{
// Session
IsRefresh
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
searchCond_recordFrom
,
data
);
SessionStorageUtils
.
set
(
Keys
.
IsRefresh
,
JSON
.
stringify
(
data
)
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
searchCond_recordFrom
);
if
(
SessionStorageUtils
.
get
(
Keys
.
IsRefresh
)
!=
'undefined'
&&
SessionStorageUtils
.
get
(
Keys
.
IsRefresh
)
!=
undefined
&&
SessionStorageUtils
.
get
(
Keys
.
IsRefresh
)
!=
''
&&
SessionStorageUtils
.
get
(
Keys
.
IsRefresh
)
!=
null
&&
SessionStorageUtils
.
get
(
Keys
.
IsRefresh
)
!=
'null'
)
{
return
JSON
.
parse
(
SessionStorageUtils
.
get
(
Keys
.
IsRefresh
));
}
return
false
;
}
},
// Session :検索条件(searchCond)_レコードTo:Interger
searchCond_recordTo
:
function
(
data
)
{
// Session
userInfo_userName
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
searchCond_recordTo
,
data
);
SessionStorageUtils
.
set
(
Keys
.
userInfo_userName
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
searchCond_recordTo
);
return
SessionStorageUtils
.
get
(
Keys
.
userInfo_userName
);
}
},
// Session :
検索条件(searchCond)_カテゴリID:Interger
searchCond_genreId
:
function
(
data
)
{
// Session :
コンテンツ詳細情報(contentInfo)_サムネール: String (base64string)
contentInfo_contentThumbnail
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
searchCond_genreId
,
data
);
SessionStorageUtils
.
set
(
Keys
.
contentInfo_contentThumbnail
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
searchCond_genreId
);
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_contentThumbnail
);
}
},
// Session
:検索条件(searchCond)_グループID:Interger
searchCond_groupId
:
function
(
data
)
{
// Session
:パスワード要変更(requirePasswordChange):String (0:不要, 1:初回, 2:定期変更)
requirePasswordChange
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
searchCond_groupId
,
data
);
SessionStorageUtils
.
set
(
Keys
.
requirePasswordChange
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
searchCond_groupId
);
return
SessionStorageUtils
.
get
(
Keys
.
requirePasswordChange
);
}
},
// Local :ユーザ情報(userInfo)_セッションID:String
// userInfo_sid: function (data) {
// if (arguments.length > 0) {
// LocalStorageUtils.set(Keys.userInfo_sid, data);
// } else {
// return LocalStorageUtils.get(Keys.userInfo_sid);
// }
// },
// Local :マーキングツールバー(marking)_ツールデフォルト:Interger(ベン:1, マーカー:2, 消しゴム:3)
marking_defaultDsp
:
function
(
data
)
{
// Session:ユーザ情報(userInfo)_セッションID:String
userInfo_sid
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
marking_defaultDsp
,
data
);
SessionStorageUtils
.
set
(
Keys
.
userInfo_sid
,
data
);
avwUserSetting
().
set
(
Keys
.
userInfo_sid
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
marking_defaultDsp
);
//return avwUserSetting().get(Keys.userInfo_sid);
if
(
avwUserSession
())
{
return
SessionStorageUtils
.
get
(
Keys
.
userInfo_sid
);
}
return
null
;
}
},
//
Local :ペン書式設定(penOpt)_色:String
penOpt_color
:
function
(
data
)
{
//
Session :事業者オプション(serviceOpt)_初回ログイン時パスワード強制変更:Integer(0:なし, 1:催促, 2:強制)
serviceOpt_force_pw_change_on_login
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
penOpt_color
,
data
);
SessionStorageUtils
.
set
(
Keys
.
serviceOpt_force_pw_change_on_login
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
penOpt_color
);
return
SessionStorageUtils
.
get
(
Keys
.
serviceOpt_force_pw_change_on_login
);
}
},
//
Local :ペン書式設定(penOpt)_サイズ:Interger
penOpt_size
:
function
(
data
)
{
//
Session :事業者オプション(serviceOpt)_定期ログイン時パスワード強制変更:Integer(0:なし, 1:催促, 2:強制)
serviceOpt_force_pw_change_periodically
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
penOpt_size
,
data
);
SessionStorageUtils
.
set
(
Keys
.
serviceOpt_force_pw_change_periodically
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
penOpt_size
);
return
SessionStorageUtils
.
get
(
Keys
.
serviceOpt_force_pw_change_periodically
);
}
},
//
Local :マーカ書式設定(maker)_色:String
maker_color
:
function
(
data
)
{
//
Session:事業者オプション(serviceOpt)_メモ・マーキングデータバックアップ使用:Char(Y:可能, N:不可)
serviceOpt_user_data_backup
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
maker_color
,
data
);
SessionStorageUtils
.
set
(
Keys
.
serviceOpt_user_data_backup
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
maker_color
);
return
SessionStorageUtils
.
get
(
Keys
.
serviceOpt_user_data_backup
);
}
},
//
Local :マーカ書式設定(maker)_サイズ:Interger
maker_size
:
function
(
data
)
{
//
Session :事業者オプション(serviceOpt)_マーキング機能使用:Char(Y:可能, N:不可)
serviceOpt_marking
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
maker_size
,
data
);
SessionStorageUtils
.
set
(
Keys
.
serviceOpt_marking
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
maker_size
);
return
SessionStorageUtils
.
get
(
Keys
.
serviceOpt_marking
);
}
},
//
Local :消しゴム書式設定(erase)_色:String
erase_color
:
function
(
data
)
{
//
Session :事業者オプション(serviceOpt)_一定期間経過後アプリロック:Char(Y:可能, N:不可)
serviceOpt_force_login_periodically
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
erase_color
,
data
);
SessionStorageUtils
.
set
(
Keys
.
serviceOpt_force_login_periodically
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
erase_color
);
return
SessionStorageUtils
.
get
(
Keys
.
serviceOpt_force_login_periodically
);
}
},
//
Local :消しゴム書式設定(erase)_サイズ:Inter
ger
erase_size
:
function
(
data
)
{
//
Session :共通(common)_コンテンツID:Inte
ger
common_contentId
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
erase_size
,
data
);
SessionStorageUtils
.
set
(
Keys
.
common_contentId
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
erase_size
);
return
SessionStorageUtils
.
get
(
Keys
.
common_contentId
);
}
},
//
Local :インデックスデータ(index)_目次ID:Interger(Number
)
index_ID
:
function
(
data
)
{
//
Session: 共通(common)_コンテンツデータチェックフラグ: Integer(true/false, true:メモ、マーキング、しおりを削除する処理を行える false:メモ、マーキング、しおりを削除する処理をしない
)
common_contentDataChkFlg
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
index_ID
,
data
);
SessionStorageUtils
.
set
(
Keys
.
common_contentDataChkFlg
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
index_ID
);
return
SessionStorageUtils
.
get
(
Keys
.
common_contentDataChkFlg
);
}
},
// Local :インデックスデータ(index)_親の目次ID:Interger(Number)
index_parentID
:
function
(
data
)
{
// Session :ページ情報データ(pageInfo)_ページNo:Integer
pageInfo_pageNo
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
index_parentID
,
data
);
SessionStorageUtils
.
set
(
Keys
.
pageInfo_pageNo
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
index_parentID
);
return
SessionStorageUtils
.
get
(
Keys
.
pageInfo_pageNo
);
}
},
//
Local :インデックスデータ(index)_目次名:String(String)
index_title
:
function
(
data
)
{
//
Session :ページ情報データ(pageInfo)_ページテキスト:String
pageInfo_pageText
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
index_title
,
data
);
SessionStorageUtils
.
set
(
Keys
.
pageInfo_pageText
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
index_title
);
return
SessionStorageUtils
.
get
(
Keys
.
pageInfo_pageText
);
}
},
//
Local :インデックスデータ(index)_該当ページ:Interger(Number)
index_destPageNumber
:
function
(
data
)
{
//
Session :ページ情報データ(pageInfo)_コンテンツサムネイル:Integer
pageInfo_pageImgResrcId
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
index_destPageNumber
,
data
);
SessionStorageUtils
.
set
(
Keys
.
pageInfo_pageImgResrcId
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
index_destPageNumber
);
return
SessionStorageUtils
.
get
(
Keys
.
pageInfo_pageImgResrcId
);
}
},
//
Local :ユーザ情報(userInfo)_ログインID:String
userInfo_loginId
:
function
(
data
)
{
//
Session :コンテンツ内リンク(linkInfo)_リンク位置のx座標:Integer
linkInfo_linkLocationX
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
avwUserSetting
().
set
(
Keys
.
userInfo_loginId
,
data
);
SessionStorageUtils
.
set
(
Keys
.
linkInfo_linkLocationX
,
data
);
}
else
{
return
avwUserSetting
().
get
(
Keys
.
userInfo_loginId
);
return
SessionStorageUtils
.
get
(
Keys
.
linkInfo_linkLocationX
);
}
},
// Session :ユーザ情報(userInfo)_ログインID:String
userInfo_loginId_session
:
function
(
data
)
{
// Session :コンテンツ内リンク(linkInfo)_リンク位置のy座標:Integer
linkInfo_linkLocationY
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
userInfo_loginId
,
data
);
SessionStorageUtils
.
set
(
Keys
.
linkInfo_linkLocationY
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
userInfo_loginId
);
return
SessionStorageUtils
.
get
(
Keys
.
linkInfo_linkLocationY
);
}
},
// Local :ユーザ情報(userInfo)_アカウントパス:String
userInfo_accountPath
:
function
(
data
)
{
// Session :コンテンツ内リンク(linkInfo)_リンク領域の幅:Integer
linkInfo_linkLocationWidth
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
avwUserSetting
().
set
(
Keys
.
userInfo_accountPa
th
,
data
);
SessionStorageUtils
.
set
(
Keys
.
linkInfo_linkLocationWid
th
,
data
);
}
else
{
return
avwUserSetting
().
get
(
Keys
.
userInfo_accountPa
th
);
return
SessionStorageUtils
.
get
(
Keys
.
linkInfo_linkLocationWid
th
);
}
},
// Session :ユーザ情報(userInfo)_アカウントパス:String
userInfo_accountPath_session
:
function
(
data
)
{
// Session :コンテンツ内リンク(linkInfo)_リンク領域の高さ:Integer
linkInfo_linkLocationHeight
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
userInfo_accountPath
,
data
);
SessionStorageUtils
.
set
(
Keys
.
linkInfo_linkLocationHeight
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
userInfo_accountPath
);
return
SessionStorageUtils
.
get
(
Keys
.
linkInfo_linkLocationHeight
);
}
},
// Local :ユーザ情報(userInfo)_アカウント情報記憶フラグ:Char(Y:可能, N:不可)
userInfo_rememberLogin
:
function
(
data
)
{
// Session :コンテンツ内リンク(linkInfo)_リンクタイプ:Integer(0/1)
linkInfo_linkKind
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
avwUserSetting
().
set
(
Keys
.
userInfo_rememberLogin
,
data
);
SessionStorageUtils
.
set
(
Keys
.
linkInfo_linkKind
,
data
);
}
else
{
return
avwUserSetting
().
get
(
Keys
.
userInfo_rememberLogin
);
return
SessionStorageUtils
.
get
(
Keys
.
linkInfo_linkKind
);
}
},
//
Local :ユーザ情報(userInfo)_最終ログイン日時:Datetime
userInfo_lastLoginTime
:
function
(
data
)
{
//
Session :コンテンツ内リンク(linkInfo)_ターゲットURI:String(0/1)
linkInfo_destURI
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
userInfo_lastLoginTime
,
data
);
SessionStorageUtils
.
set
(
Keys
.
linkInfo_destURI
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
userInfo_lastLoginTime
);
return
SessionStorageUtils
.
get
(
Keys
.
linkInfo_destURI
);
}
},
//
Local :ユーザ情報(userInfo)_パスワードスキップ日時:Datetime
userInfo_pwdSkipDt
:
function
(
data
)
{
//
Session :コンテンツ内リンク(linkInfo)_ターゲットページNo:Integer(0/1)
linkInfo_destPageNumber
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
userInfo_pwdSkipDt
,
data
);
SessionStorageUtils
.
set
(
Keys
.
linkInfo_destPageNumber
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
userInfo_pwdSkipDt
);
return
SessionStorageUtils
.
get
(
Keys
.
linkInfo_destPageNumber
);
}
},
//
Local:ユーザオプション(userOpt)_初期表示画面モード(本棚/リスト):Interger(0:本棚, 1:リスト)
userOpt_homeMode
:
function
(
data
)
{
//
Session :閲覧ログ(log)_コンテンツ閲覧開始時刻:Datetime
log_contentStartViewDt
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
userOpt_homeMode
,
data
);
SessionStorageUtils
.
set
(
Keys
.
log_contentStartViewDt
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
userOpt_homeMode
);
return
SessionStorageUtils
.
get
(
Keys
.
log_contentStartViewDt
);
}
},
//
Local :ユーザオプション(userOpt)_動画繰り返しフラグ:Interger(0: 繰り返しなし, 1: 繰り返しあり)
userOpt_videoMode
:
function
(
data
)
{
//
Session :コンテンツ詳細情報(contentInfo)_コンテンツID:Integer
contentInfo_contentId
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
userOpt_videoMode
,
data
);
SessionStorageUtils
.
set
(
Keys
.
contentInfo_contentId
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
userOpt_videoMode
);
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_contentId
);
}
},
//
Local :ユーザオプション(userOpt)_音楽繰り返しフラグ:Interger(0: 繰り返しなし, 1: 繰り返しあり)
userOpt_musicMode
:
function
(
data
)
{
//
Session :コンテンツ詳細情報(contentInfo)_カテゴリID:Integer
contentInfo_categoryId
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
userOpt_musicMode
,
data
);
SessionStorageUtils
.
set
(
Keys
.
contentInfo_categoryId
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
userOpt_musicMode
);
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_categoryId
);
}
},
//
Local :ユーザオプション(userOpt)_マーキング表示設定:Interger(0:表示しない, 1:表示する)
userOpt_makingDsp
:
function
(
data
)
{
//
Session :コンテンツ詳細情報(contentInfo)_コンテンツ名:String
contentInfo_contentName
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
userOpt_makingDsp
,
data
);
SessionStorageUtils
.
set
(
Keys
.
contentInfo_contentName
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
userOpt_makingDsp
);
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_contentName
);
}
},
//
Local :ユーザオプション(userOpt)_バックアップ確認フラグ:Interger(0:する, 1:しない)
userOpt_bkConfirmFlg
:
function
(
data
)
{
//
Session :コンテンツ詳細情報(contentInfo)_コンテンツ名(カナ):String
contentInfo_contentNameKana
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
userOpt_bkConfirmFlg
,
data
);
SessionStorageUtils
.
set
(
Keys
.
contentInfo_contentNameKana
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
userOpt_bkConfirmFlg
);
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_contentNameKana
);
}
},
//
Local :閲覧履歴(viewlog)_コンテンツID:Interger
viewlog_contentId
:
function
(
data
)
{
//
Session :コンテンツ詳細情報(contentInfo)_コンテンツ詳細:String
contentInfo_contentDetail
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
viewlog_contentId
,
data
);
SessionStorageUtils
.
set
(
Keys
.
contentInfo_contentDetail
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
viewlog_contentId
);
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_contentDetail
);
}
},
//
Local :閲覧履歴(viewlog)_閲覧
日:Datetime
viewlog_viewDt
:
function
(
data
)
{
//
Session :コンテンツ詳細情報(contentInfo)_公開開始
日:Datetime
contentInfo_deliveryStartDate
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
viewlog_viewDt
,
data
);
SessionStorageUtils
.
set
(
Keys
.
contentInfo_deliveryStartDate
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
viewlog_viewDt
);
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_deliveryStartDate
);
}
},
//
Local :閲覧履歴(viewlog)_メタ更新バージョン:Interger
viewlog_metaVersion
:
function
(
data
)
{
//
Session :コンテンツ詳細情報(contentInfo)_公開終了日:Datetime
contentInfo_deliveryEndDate
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
viewlog_metaVersion
,
data
);
SessionStorageUtils
.
set
(
Keys
.
contentInfo_deliveryEndDate
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
viewlog_metaVersion
);
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_deliveryEndDate
);
}
},
//
Local :閲覧履歴(viewlog)_リソース更新バージョン
:Interger
viewlog_resourceVersion
:
function
(
data
)
{
//
Session :コンテンツ詳細情報(contentInfo)_本棚サムネール名
:Interger
contentInfo_thumbnailName
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
viewlog_resourceVersion
,
data
);
SessionStorageUtils
.
set
(
Keys
.
contentInfo_thumbnailName
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
viewlog_resourceVersion
);
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_thumbnailName
);
}
},
//
Local :並び順(sortOpt)_表示モード:Interger(0:本棚, 1:リスト)
sortOpt_viewMod
e
:
function
(
data
)
{
//
Session :コンテンツ詳細情報(contentInfo)_詳細画面サムネール名:Interger
contentInfo_thumbnailBigNam
e
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
sortOpt_viewMod
e
,
data
);
SessionStorageUtils
.
set
(
Keys
.
contentInfo_thumbnailBigNam
e
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
sortOpt_viewMod
e
);
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_thumbnailBigNam
e
);
}
},
//
Local :並び順(sortOpt)_表示区分:Interger(0:ジャンル, 1:グループ)
sortOpt_viewType
:
function
(
data
)
{
//
Session :コンテンツ詳細情報(contentInfo)_メタ更新バージョン:Interger
contentInfo_metaVersion
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
sortOpt_viewType
,
data
);
SessionStorageUtils
.
set
(
Keys
.
contentInfo_metaVersion
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
sortOpt_viewType
);
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_metaVersion
);
}
},
//
Local :並び順(sortOpt)_ソート基準:Interger(1:コンテンツ検索, 2:タグ検索, 3:全文検索)
sortOpt_searchDivi
sion
:
function
(
data
)
{
//
Session :コンテンツ詳細情報(contentInfo)_リソース更新バージョン:Interger
contentInfo_resourceVer
sion
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
sortOpt_searchDivi
sion
,
data
);
SessionStorageUtils
.
set
(
Keys
.
contentInfo_resourceVer
sion
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
sortOpt_searchDivi
sion
);
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_resourceVer
sion
);
}
},
//
Local:並び順(sortOpt)_ソート方法:Interger(1:タイトル名, 2:タイトル名(かな), 3:公開順)
sortOpt_sortType
:
function
(
data
)
{
//
Session :コンテンツ詳細情報(contentInfo)_PDF総ページ数:Interger
contentInfo_allPageNum
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
sortOpt_sortType
,
data
);
SessionStorageUtils
.
set
(
Keys
.
contentInfo_allPageNum
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
sortOpt_sortType
);
return
SessionStorageUtils
.
get
(
Keys
.
contentInfo_allPageNum
);
}
},
//
Local :しおりデータ(bookmark)_コンテンツID:Interger
bookmark_contentNo
:
function
(
data
)
{
//
Session :検索条件(searchCond)_検索テキスト:String
searchCond_searchText
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
bookmark_contentNo
,
data
);
SessionStorageUtils
.
set
(
Keys
.
searchCond_searchText
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
bookmark_contentNo
);
return
SessionStorageUtils
.
get
(
Keys
.
searchCond_searchText
);
}
},
//
Local :しおりデータ(bookmark)_ページNo:Interger
bookmark_pageNo
:
function
(
data
)
{
//
Session :検索条件(searchCond)_検索区分:Interger(1:コンテンツ検索, 2:タグ検索, 3:全文検索)
searchCond_searchDivision
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
bookmark_pageNo
,
data
);
SessionStorageUtils
.
set
(
Keys
.
searchCond_searchDivision
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
bookmark_pageNo
);
return
SessionStorageUtils
.
get
(
Keys
.
searchCond_searchDivision
);
}
},
//
Local :メモデータ(memo)_コンテンツID:Interger
memo_contentNo
:
function
(
data
)
{
//
Session :検索条件(searchCond)_ソート基準:Interger(1:タイトル名, 2:タイトル名(かな), 3:公開順)
searchCond_sortType
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
memo_contentNo
,
data
);
SessionStorageUtils
.
set
(
Keys
.
searchCond_sortType
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
memo_contentNo
);
return
SessionStorageUtils
.
get
(
Keys
.
searchCond_sortType
);
}
},
//
Local :メモデータ(memo)_ページNo:Interger
memo_pageNo
:
function
(
data
)
{
//
Session :検索条件(searchCond)_ソート方法:Interger(1:昇順, 2:降順)
searchCond_sortOrder
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
memo_pageNo
,
data
);
SessionStorageUtils
.
set
(
Keys
.
searchCond_sortOrder
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
memo_pageNo
);
return
SessionStorageUtils
.
get
(
Keys
.
searchCond_sortOrder
);
}
},
//
Local :メモデータ(memo)_位置X座標
:Interger
memo_posX
:
function
(
data
)
{
//
Session :検索条件(searchCond)_レコードFrom
:Interger
searchCond_recordFrom
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
memo_posX
,
data
);
SessionStorageUtils
.
set
(
Keys
.
searchCond_recordFrom
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
memo_posX
);
return
SessionStorageUtils
.
get
(
Keys
.
searchCond_recordFrom
);
}
},
//
Local :メモデータ(memo)_位置Y座標
:Interger
memo_posY
:
function
(
data
)
{
//
Session :検索条件(searchCond)_レコードTo
:Interger
searchCond_recordTo
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
memo_posY
,
data
);
SessionStorageUtils
.
set
(
Keys
.
searchCond_recordTo
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
memo_posY
);
return
SessionStorageUtils
.
get
(
Keys
.
searchCond_recordTo
);
}
},
//
Local :メモデータ(memo)_内容(テキスト):String
memo_Text
:
function
(
data
)
{
//
Session :検索条件(searchCond)_カテゴリID:Interger
searchCond_genreId
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
memo_Text
,
data
);
SessionStorageUtils
.
set
(
Keys
.
searchCond_genreId
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
memo_Text
);
return
SessionStorageUtils
.
get
(
Keys
.
searchCond_genreId
);
}
},
//
Local :マーキングデータ(makingData)_コンテンツ
ID:Interger
makingData_contentNo
:
function
(
data
)
{
//
Session :検索条件(searchCond)_グループ
ID:Interger
searchCond_groupId
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
makingData_contentNo
,
data
);
SessionStorageUtils
.
set
(
Keys
.
searchCond_groupId
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
makingData_contentNo
);
return
SessionStorageUtils
.
get
(
Keys
.
searchCond_groupId
);
}
},
//
Local :マーキングデータ(makingData)_ページNo:Interger
makingData_pageNo
:
function
(
data
)
{
//
Session :ユーザ情報(userInfo)_ログインID:String
userInfo_loginId_session
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
makingData_pageNo
,
data
);
SessionStorageUtils
.
set
(
Keys
.
userInfo_loginId
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
makingData_pageNo
);
return
SessionStorageUtils
.
get
(
Keys
.
userInfo_loginId
);
}
},
//
Local :マーキングデータ(makingData)_内容(イメージオブジェクト)
:String
makingData_content
:
function
(
data
)
{
//
Session :ユーザ情報(userInfo)_アカウントパス
:String
userInfo_accountPath_session
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
LocalStorageUtils
.
set
(
Keys
.
makingData_content
,
data
);
SessionStorageUtils
.
set
(
Keys
.
userInfo_accountPath
,
data
);
}
else
{
return
LocalStorageUtils
.
get
(
Keys
.
makingData_content
);
return
SessionStorageUtils
.
get
(
Keys
.
userInfo_accountPath
);
}
}
}
...
...
@@ -1932,7 +1947,7 @@ function unlockFunction(inputPass) {
var
result
=
false
;
var
params
=
{
previousSid
:
ClientData
.
userInfo_sid
(),
loginId
:
ClientData
.
userInfo_loginId
(),
loginId
:
ClientData
.
userInfo_loginId
_session
(),
password
:
inputPass
,
urlpath
:
ClientData
.
userInfo_accountPath
()
};
...
...
@@ -2159,11 +2174,19 @@ jQuery.fn.right = function () {
return
this
;
}
jQuery
.
fn
.
bottom
=
function
()
{
this
.
css
(
"position"
,
"absolute"
);
this
.
css
(
"top"
,
(
$
(
window
).
height
()
-
this
.
height
()
-
5
)
+
$
(
window
).
scrollTop
()
+
"px"
);
this
.
css
(
"position"
,
"absolute"
);
this
.
css
(
"top"
,
(
$
(
window
).
height
()
-
this
.
height
()
-
5
)
+
$
(
window
).
scrollTop
()
+
"px"
);
return
this
;
}
};
// Replace all text
String
.
prototype
.
replaceAll
=
function
(
oldText
,
newText
)
{
var
strResult
=
this
;
while
(
strResult
.
indexOf
(
oldText
)
>=
0
)
{
strResult
=
strResult
.
replace
(
oldText
,
newText
);
}
return
strResult
;
};
/*
Get string by number of lines
...
...
abvw/common/json/lang/lang-en.json
View file @
b9c45397
...
...
@@ -48,8 +48,8 @@
"dspTitleNm"
:
"Title"
,
"dspTitleNmKn"
:
"Title(Kana)"
,
"txtPubDt"
:
"Released Date"
,
"txtRecordNum"
:
""
,
"txtRecordTotal"
:
""
,
"txtRecordNum"
:
"
"
,
"txtRecordTotal"
:
"
"
,
"dspViewMore"
:
">> Next {0} contents"
,
"txtGen"
:
"Genre"
,
"txtGr"
:
"Group"
,
...
...
@@ -64,7 +64,7 @@
"dspBkCancel"
:
"Logout"
,
"txtSearchResult"
:
"Result"
,
"dspHome"
:
"Home"
,
"txtLoginUser"
:
"(Ver.20121206-
1
)User:"
,
"txtLoginUser"
:
"(Ver.20121206-
3
)User:"
,
"txtAll"
:
"All"
,
"txtMkgSize"
:
"Size"
,
"txtMkgS"
:
"S"
,
...
...
abvw/common/json/lang/lang-ja.json
View file @
b9c45397
...
...
@@ -64,7 +64,7 @@
"dspBkCancel"
:
"バックアップせずにログアウト"
,
"txtSearchResult"
:
"検索結果"
,
"dspHome"
:
"ホーム"
,
"txtLoginUser"
:
"(Ver.20121206-
1
)ログイン中:"
,
"txtLoginUser"
:
"(Ver.20121206-
3
)ログイン中:"
,
"txtAll"
:
"すべて"
,
"txtMkgSize"
:
"太さ"
,
"txtMkgS"
:
"小"
,
...
...
abvw/common/json/lang/lang-ko.json
View file @
b9c45397
...
...
@@ -64,7 +64,7 @@
"dspBkCancel"
:
"로그아웃"
,
"txtSearchResult"
:
"검색 결과"
,
"dspHome"
:
"홈"
,
"txtLoginUser"
:
"(Ver.20121206-
1
)로그인 중:"
,
"txtLoginUser"
:
"(Ver.20121206-
3
)로그인 중:"
,
"txtAll"
:
"전체"
,
"txtMkgSize"
:
"두께"
,
"txtMkgS"
:
"소"
,
...
...
abvw/contentview.html
View file @
b9c45397
...
...
@@ -1934,10 +1934,10 @@
var
strPattern
=
"
\
n"
;
var
strTemp
=
sPageText
;
strTemp
=
strTemp
.
replace
(
strPattern
,
"<br/>"
);
strTemp
=
strTemp
.
replace
All
(
strPattern
,
"<br/>"
);
strTemp
+=
"<br/>"
;
$
(
'#divCopyText'
).
append
(
'<div class="last" id="txtTextCopy" style="word-wrap:break-word">'
+
strTemp
+
'</div>'
);
$
(
'#divCopyText'
).
append
(
'<div class="last" id="txtTextCopy" style="word-wrap:break-word
;line-height: 20px
">'
+
strTemp
+
'</div>'
);
/* display dialog */
// $("#divCopyText").dialog({
...
...
@@ -3215,6 +3215,11 @@ function oldContent_Back(){
/* check login */
if
(
!
avwCheckLogin
(
ScreenIds
.
Login
))
return
;
// Set event to prevent leave
avwSetLogoutNortice
();
// Lock screen
LockScreen
();
getContentID
();
...
...
@@ -3380,7 +3385,7 @@ function oldContent_Back(){
}
});
LockScreen
();
//
LockScreen();
</script>
</head>
...
...
abvw/js/contentview.js
View file @
b9c45397
...
...
@@ -558,7 +558,7 @@ PageObject.prototype.drawPageObject = function(context) {
// }
//
// }
// flip();
// flip();
/* draw marking */
drawMarkingOnScreen
();
...
...
@@ -1190,10 +1190,11 @@ function onClick_CanvasMain(event){
}
function
mouseMove_canvasMain
(
event
){
event
.
preventDefault
();
event
.
preventDefault
();
/* base image move when userScale over 1 */
if
(
moveFlag
&&
userScale
!=
1
)
{
if
(
moveFlag
&&
userScale
!=
1
)
{
$
(
'#main'
).
css
(
'cursor'
,
'pointer'
);
cancelClick
=
true
;
var
mx
;
var
my
;
...
...
@@ -1208,7 +1209,7 @@ function mouseMove_canvasMain(event){
// scaling
// var sx = (destRect.right - destRect.left) / (srcRect.right - srcRect.left);
// var sy = (destRect.bottom - destRect.top) / (srcRect.bottom - srcRect.top);
// var sy = (destRect.bottom - destRect.top) / (srcRect.bottom - srcRect.top);
var
sx
=
1
/
userScale
;
...
...
@@ -1263,7 +1264,7 @@ function mouseMove_canvasMain(event){
//
//
//
// }
// }
}
...
...
@@ -1307,11 +1308,15 @@ function mouseMove_canvasMain(event){
}
}
else
{
$
(
'#button_next_canvas'
).
css
(
'opacity'
,
'0'
);
}
}
}
function
mouseDown_CanvasMain
(
event
){
moveFlag
=
true
;
if
(
isTouchDevice
()
!=
true
){
event
.
preventDefault
();
}
$
(
'#main'
).
css
(
'cursor'
,
'default'
);
/*if(event.originalEvent) {
if(event.originalEvent.targetTouches) {
if(event.originalEvent.targetTouches[0].pageX) {
...
...
@@ -1336,12 +1341,13 @@ function mouseDown_CanvasMain(event){
// document.body.style.mozUserSelect = document.body.style.webkitUserSelect = document.body.style.userSelect = 'none';
// lastX = event.offsetX || (event.pageX - canvas_main.offsetLeft);
// lastY = event.offsetY || (event.pageY - canvas_main.offsetTop);
// dragStart = context_main.transformedPoint(lastX,lastY);
// dragStart = context_main.transformedPoint(lastX,lastY);
}
function
mouseUp_CanvasMain
(
event
){
moveFlag
=
false
;
$
(
'#main'
).
css
(
'cursor'
,
'default'
);
}
...
...
@@ -1895,7 +1901,7 @@ function flip() {
context
.
drawImage
(
offscreen
,
srcRect
.
left
,
srcRect
.
top
,
srcRect
.
right
-
srcRect
.
left
,
srcRect
.
bottom
-
srcRect
.
top
,
destRect
.
left
,
destRect
.
top
,
width
,
height
);
destRect
.
left
,
destRect
.
top
,
width
,
height
);
context
.
restore
();
};
...
...
@@ -2655,23 +2661,55 @@ function trackTransforms(ctx){
function
zoomIn
()
{
userScale
+=
scaleDelta
;
if
(
userScale
>
4
){
userScale
=
4
;
}
else
{
changeScale
(
userScale
);
changeScale
(
userScale
);
flip
();
flip
();
/* zoom video */
zoomVideo
();
/* zoom video */
zoomVideo
();
}
checkDisableButtonZoom
();
};
function
checkDisableButtonZoom
(){
if
(
userScale
>=
4
){
$
(
'#zoomin'
).
removeClass
();
$
(
'#zoomin'
).
addClass
(
'expansion_off'
);
$
(
"#zoomin"
).
css
(
'cursor'
,
'default'
);
}
else
{
$
(
'#zoomin'
).
unbind
(
'click'
);
$
(
'#zoomin'
).
bind
(
'click'
,
zoomIn
);
$
(
'#zoomin'
).
removeClass
();
$
(
'#zoomin'
).
addClass
(
'expansion'
);
$
(
"#zoomin"
).
css
(
'cursor'
,
'pointer'
);
}
if
(
userScale
<=
1
){
$
(
'#zoomout'
).
removeClass
();
$
(
'#zoomout'
).
addClass
(
'reduction_off'
);
$
(
"#zoomout"
).
css
(
'cursor'
,
'default'
);
}
else
{
$
(
'#zoomout'
).
unbind
(
'click'
);
$
(
'#zoomout'
).
bind
(
'click'
,
zoomOut
);
$
(
'#zoomout'
).
removeClass
();
$
(
'#zoomout'
).
addClass
(
'reduction'
);
$
(
"#zoomout"
).
css
(
'cursor'
,
'pointer'
);
}
}
function
checkDisableButtonZoom1
(){
if
(
userScale
>=
4
){
$
(
'#zoomin'
).
unbind
(
'click'
);
$
(
'#zoomin'
).
removeClass
();
...
...
@@ -2708,13 +2746,14 @@ function zoomOut() {
userScale
-=
scaleDelta
;
if
(
userScale
<
1
)
{
userScale
=
1
;
}
else
{
changeScale
(
userScale
);
flip
();
/* zoom video */
zoomVideo
()
}
changeScale
(
userScale
);
flip
();
/* zoom video */
zoomVideo
()
checkDisableButtonZoom
();
};
...
...
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