summaryrefslogtreecommitdiffstats
path: root/warehouse/src/main/java/app/market/web/form
diff options
context:
space:
mode:
Diffstat (limited to 'warehouse/src/main/java/app/market/web/form')
-rw-r--r--warehouse/src/main/java/app/market/web/form/PaginationForm.java84
-rw-r--r--warehouse/src/main/java/app/market/web/form/TokenForm.java45
-rw-r--r--warehouse/src/main/java/app/market/web/form/account/AccountForm.java139
-rw-r--r--warehouse/src/main/java/app/market/web/form/app/AppForm.java255
-rw-r--r--warehouse/src/main/java/app/market/web/form/breadcrumb/BreadcrumbFrom.java36
-rw-r--r--warehouse/src/main/java/app/market/web/form/breadcrumb/BreadcrumbSubFrom.java52
-rw-r--r--warehouse/src/main/java/app/market/web/form/login/LoginForm.java99
-rw-r--r--warehouse/src/main/java/app/market/web/form/login/SessionForm.java79
-rw-r--r--warehouse/src/main/java/app/market/web/form/user/UserForm.java79
9 files changed, 868 insertions, 0 deletions
diff --git a/warehouse/src/main/java/app/market/web/form/PaginationForm.java b/warehouse/src/main/java/app/market/web/form/PaginationForm.java
new file mode 100644
index 0000000..06583bb
--- /dev/null
+++ b/warehouse/src/main/java/app/market/web/form/PaginationForm.java
@@ -0,0 +1,84 @@
+/*
+ * Copyright (c) 2019 TOYOTA MOTOR CORPORATION
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package app.market.web.form;
+
+public class PaginationForm extends TokenForm {
+
+ private static final long serialVersionUID = 8535085706943416467L;
+
+ private String draw;
+
+ private int offset;
+
+ private int limit;
+
+ private String order;
+
+ private String sort;
+
+ public PaginationForm() {
+ super();
+ }
+
+ public PaginationForm(String draw, int offset, int limit, String sort, String order) {
+ this.draw = draw;
+ this.offset = offset;
+ this.limit = limit;
+ this.order = order;
+ this.sort = sort;
+ }
+
+ public String getDraw() {
+ return draw;
+ }
+
+ public void setDraw(String draw) {
+ this.draw = draw;
+ }
+
+ public int getOffset() {
+ return offset;
+ }
+
+ public void setOffset(int offset) {
+ this.offset = offset;
+ }
+
+ public int getLimit() {
+ return limit;
+ }
+
+ public void setLimit(int limit) {
+ this.limit = limit;
+ }
+
+ public String getOrder() {
+ return order;
+ }
+
+ public void setOrder(String order) {
+ this.order = order;
+ }
+
+ public String getSort() {
+ return sort;
+ }
+
+ public void setSort(String sort) {
+ this.sort = sort;
+ }
+
+}
diff --git a/warehouse/src/main/java/app/market/web/form/TokenForm.java b/warehouse/src/main/java/app/market/web/form/TokenForm.java
new file mode 100644
index 0000000..cffd23d
--- /dev/null
+++ b/warehouse/src/main/java/app/market/web/form/TokenForm.java
@@ -0,0 +1,45 @@
+/*
+ * Copyright (c) 2019 TOYOTA MOTOR CORPORATION
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package app.market.web.form;
+
+import java.io.Serializable;
+
+import app.market.web.form.breadcrumb.BreadcrumbFrom;
+
+public class TokenForm extends BreadcrumbFrom implements Serializable {
+
+ private static final long serialVersionUID = 2059875376580332152L;
+
+ private String token;
+ private String servletPath;
+
+ public String getToken() {
+ return token;
+ }
+
+ public void setToken(String token) {
+ this.token = token;
+ }
+
+ public String getServletPath() {
+ return servletPath;
+ }
+
+ public void setServletPath(String servletPath) {
+ this.servletPath = servletPath;
+ }
+
+}
diff --git a/warehouse/src/main/java/app/market/web/form/account/AccountForm.java b/warehouse/src/main/java/app/market/web/form/account/AccountForm.java
new file mode 100644
index 0000000..3e3de7b
--- /dev/null
+++ b/warehouse/src/main/java/app/market/web/form/account/AccountForm.java
@@ -0,0 +1,139 @@
+/*
+ * Copyright (c) 2019 TOYOTA MOTOR CORPORATION
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package app.market.web.form.account;
+
+import java.util.Date;
+
+import app.market.web.form.PaginationForm;
+
+public class AccountForm extends PaginationForm {
+
+ private static final long serialVersionUID = -6199786133496150679L;
+
+ private String auId;
+ private String auName;
+ private String baseName;
+ private String userName;
+ private String mailAddress;
+ private String userId;
+ private String userPw;
+ private String reuserPw;
+ private Date createDate;
+ private Date updateDate;
+ private String isDel;
+ private String keyWord;
+
+ public String getKeyWord() {
+ return keyWord;
+ }
+
+ public void setKeyWord(String keyWord) {
+ this.keyWord = keyWord;
+ }
+
+ public String getAuName() {
+ return auName;
+ }
+
+ public void setAuName(String auName) {
+ this.auName = auName;
+ }
+
+ public String getIsDel() {
+ return isDel;
+ }
+
+ public void setIsDel(String isDel) {
+ this.isDel = isDel;
+ }
+
+ public String getBaseName() {
+ return baseName;
+ }
+
+ public void setBaseName(String baseName) {
+ this.baseName = baseName;
+ }
+
+ public String getReuserPw() {
+ return reuserPw;
+ }
+
+ public void setReuserPw(String reuserPw) {
+ this.reuserPw = reuserPw;
+ }
+
+ public String getUserPw() {
+ return userPw;
+ }
+
+ public void setUserPw(String userPw) {
+ this.userPw = userPw;
+ }
+
+ public String getUserName() {
+ return userName;
+ }
+
+ public void setUserName(String userName) {
+ this.userName = userName;
+ }
+
+ public String getMailAddress() {
+ return mailAddress;
+ }
+
+ public void setMailAddress(String mailAddress) {
+ this.mailAddress = mailAddress;
+ }
+
+ public Date getCreateDate() {
+ return createDate;
+ }
+
+ public void setCreateDate(Date createDate) {
+ this.createDate = createDate;
+ }
+
+ public Date getUpdateDate() {
+ return updateDate;
+ }
+
+ public void setUpdateDate(Date updateDate) {
+ this.updateDate = updateDate;
+ }
+
+ public String getAuId() {
+ return auId;
+ }
+
+ public void setAuId(String auId) {
+ this.auId = auId;
+ }
+
+ public String getUserId() {
+ return userId;
+ }
+
+ public void setUserId(String userId) {
+ this.userId = userId;
+ }
+
+ public static long getSerialversionuid() {
+ return serialVersionUID;
+ }
+
+}
diff --git a/warehouse/src/main/java/app/market/web/form/app/AppForm.java b/warehouse/src/main/java/app/market/web/form/app/AppForm.java
new file mode 100644
index 0000000..f8bb77b
--- /dev/null
+++ b/warehouse/src/main/java/app/market/web/form/app/AppForm.java
@@ -0,0 +1,255 @@
+/*
+ * Copyright (c) 2019 TOYOTA MOTOR CORPORATION
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package app.market.web.form.app;
+
+import java.util.Date;
+
+import app.market.web.form.PaginationForm;
+
+public class AppForm extends PaginationForm {
+
+ private static final long serialVersionUID = -6199786133496150679L;
+
+ private String appId;
+
+ private String appName;
+
+ private long appSize;
+
+ private String appAbstract;
+
+ private String typeId;
+
+ private String typeName;
+
+ private String developer;
+
+ private String developerName;
+
+ private String verFilePath;
+
+ private String versionName;
+
+ private String appVersionId;
+
+ private Date createDate;
+
+ private Date updateDate;
+
+ private String isDel;
+
+ private String hashcode;
+
+ private String appIsPublic;
+
+ private String appDeviceTypeId;
+
+ private String appDeviceTypeName;
+
+ private String keyWord;
+
+ private String imagePath;
+
+ private String appIdCustom;//config.xml中のid
+
+ private boolean updateFlag;
+
+ private boolean systemApp;
+
+ public String getAppIdCustom() {
+ return appIdCustom;
+ }
+
+ public void setAppIdCustom(String appIdCustom) {
+ this.appIdCustom = appIdCustom;
+ }
+
+ public String getImagePath() {
+ return imagePath;
+ }
+
+ public void setImagePath(String imagePath) {
+ this.imagePath = imagePath;
+ }
+
+ public String getKeyWord() {
+ return keyWord;
+ }
+
+ public void setKeyWord(String keyWord) {
+ this.keyWord = keyWord;
+ }
+
+ public String getAppDeviceTypeName() {
+ return appDeviceTypeName;
+ }
+
+ public void setAppDeviceTypeName(String appDeviceTypeName) {
+ this.appDeviceTypeName = appDeviceTypeName;
+ }
+
+ public String getAppDeviceTypeId() {
+ return appDeviceTypeId;
+ }
+
+ public void setAppDeviceTypeId(String appDeviceTypeId) {
+ this.appDeviceTypeId = appDeviceTypeId;
+ }
+
+ public String getAppIsPublic() {
+ return appIsPublic;
+ }
+
+ public void setAppIsPublic(String appIsPublic) {
+ this.appIsPublic = appIsPublic;
+ }
+
+ public String getAppId() {
+ return appId;
+ }
+
+ public String getVerFilePath() {
+ return verFilePath;
+ }
+
+ public void setVerFilePath(String verFilePath) {
+ this.verFilePath = verFilePath;
+ }
+
+ public void setAppId(String appId) {
+ this.appId = appId;
+ }
+
+ public String getAppName() {
+ return appName;
+ }
+
+ public void setAppName(String appName) {
+ this.appName = appName;
+ }
+
+ public long getAppSize() {
+ return appSize;
+ }
+
+ public void setAppSize(long l) {
+ this.appSize = l;
+ }
+
+ public String getAppAbstract() {
+ return appAbstract;
+ }
+
+ public void setAppAbstract(String appAbstract) {
+ this.appAbstract = appAbstract;
+ }
+
+ public String getTypeId() {
+ return typeId;
+ }
+
+ public void setTypeId(String typeId) {
+ this.typeId = typeId;
+ }
+
+ public String getTypeName() {
+ return typeName;
+ }
+
+ public void setTypeName(String typeName) {
+ this.typeName = typeName;
+ }
+
+ public String getDeveloper() {
+ return developer;
+ }
+
+ public void setDeveloper(String developer) {
+ this.developer = developer;
+ }
+
+ public String getDeveloperName() {
+ return developerName;
+ }
+
+ public void setDeveloperName(String developerName) {
+ this.developerName = developerName;
+ }
+
+ public String getVersionName() {
+ return versionName;
+ }
+
+ public void setVersionName(String versionName) {
+ this.versionName = versionName;
+ }
+
+ public Date getCreateDate() {
+ return createDate;
+ }
+
+ public void setCreateDate(Date createDate) {
+ this.createDate = createDate;
+ }
+
+ public Date getUpdateDate() {
+ return updateDate;
+ }
+
+ public void setUpdateDate(Date updateDate) {
+ this.updateDate = updateDate;
+ }
+
+ public String getIsDel() {
+ return isDel;
+ }
+
+ public void setIsDel(String isDel) {
+ this.isDel = isDel;
+ }
+
+ public String getHashcode() {
+ return hashcode;
+ }
+
+ public void setHashcode(String hashcode) {
+ this.hashcode = hashcode;
+ }
+
+ public String getAppVersionId() {
+ return appVersionId;
+ }
+
+ public void setAppVersionId(String appVersionId) {
+ this.appVersionId = appVersionId;
+ }
+
+ public boolean isUpdateFlag() {
+ return updateFlag;
+ }
+
+ public void setUpdateFlag(boolean updateFlag) {
+ this.updateFlag = updateFlag;
+ }
+
+ public boolean isSystemApp() {
+ return systemApp;
+ }
+
+ public void setSystemApp(boolean systemApp) {
+ this.systemApp = systemApp;
+ }
+}
diff --git a/warehouse/src/main/java/app/market/web/form/breadcrumb/BreadcrumbFrom.java b/warehouse/src/main/java/app/market/web/form/breadcrumb/BreadcrumbFrom.java
new file mode 100644
index 0000000..de7533b
--- /dev/null
+++ b/warehouse/src/main/java/app/market/web/form/breadcrumb/BreadcrumbFrom.java
@@ -0,0 +1,36 @@
+/*
+ * Copyright (c) 2019 TOYOTA MOTOR CORPORATION
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package app.market.web.form.breadcrumb;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+
+public class BreadcrumbFrom implements Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ private List<BreadcrumbSubFrom> breadcrumb = new ArrayList<BreadcrumbSubFrom>();
+
+ public List<BreadcrumbSubFrom> getBreadcrumb() {
+ return breadcrumb;
+ }
+
+ public void setBreadcrumb(List<BreadcrumbSubFrom> breadcrumb) {
+ this.breadcrumb = breadcrumb;
+ }
+
+} \ No newline at end of file
diff --git a/warehouse/src/main/java/app/market/web/form/breadcrumb/BreadcrumbSubFrom.java b/warehouse/src/main/java/app/market/web/form/breadcrumb/BreadcrumbSubFrom.java
new file mode 100644
index 0000000..41b3a5b
--- /dev/null
+++ b/warehouse/src/main/java/app/market/web/form/breadcrumb/BreadcrumbSubFrom.java
@@ -0,0 +1,52 @@
+/*
+ * Copyright (c) 2019 TOYOTA MOTOR CORPORATION
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package app.market.web.form.breadcrumb;
+
+import java.io.Serializable;
+
+public class BreadcrumbSubFrom implements Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ private String name;
+ private boolean current;
+ private String url;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public boolean isCurrent() {
+ return current;
+ }
+
+ public void setCurrent(boolean current) {
+ this.current = current;
+ }
+
+ public String getUrl() {
+ return url;
+ }
+
+ public void setUrl(String url) {
+ this.url = url;
+ }
+
+} \ No newline at end of file
diff --git a/warehouse/src/main/java/app/market/web/form/login/LoginForm.java b/warehouse/src/main/java/app/market/web/form/login/LoginForm.java
new file mode 100644
index 0000000..c27575c
--- /dev/null
+++ b/warehouse/src/main/java/app/market/web/form/login/LoginForm.java
@@ -0,0 +1,99 @@
+/*
+ * Copyright (c) 2019 TOYOTA MOTOR CORPORATION
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package app.market.web.form.login;
+
+import java.io.Serializable;
+
+import app.market.web.form.TokenForm;
+
+public class LoginForm extends TokenForm implements Serializable {
+
+ private static final long serialVersionUID = -4180140313384911198L;
+
+ private Integer userId;
+ private String loginId;
+ private String userPw;
+ private String reuserPw;
+ private String userName;
+ private Integer baseId;
+ private String mailAddress;
+ private Integer isDel;
+
+ public Integer getUserId() {
+ return userId;
+ }
+
+ public void setUserId(Integer userId) {
+ this.userId = userId;
+ }
+
+ public Integer getBaseId() {
+ return baseId;
+ }
+
+ public void setBaseId(Integer baseId) {
+ this.baseId = baseId;
+ }
+
+ public String getLoginId() {
+ return loginId;
+ }
+
+ public void setLoginId(String loginId) {
+ this.loginId = loginId;
+ }
+
+ public String getUserPw() {
+ return userPw;
+ }
+
+ public void setUserPw(String userPw) {
+ this.userPw = userPw;
+ }
+
+ public String getReuserPw() {
+ return reuserPw;
+ }
+
+ public void setReuserPw(String reuserPw) {
+ this.reuserPw = reuserPw;
+ }
+
+ public String getUserName() {
+ return userName;
+ }
+
+ public void setUserName(String userName) {
+ this.userName = userName;
+ }
+
+ public String getMailAddress() {
+ return mailAddress;
+ }
+
+ public void setMailAddress(String mailAddress) {
+ this.mailAddress = mailAddress;
+ }
+
+ public Integer getIsDel() {
+ return isDel;
+ }
+
+ public void setIsDel(Integer isDel) {
+ this.isDel = isDel;
+ }
+
+}
diff --git a/warehouse/src/main/java/app/market/web/form/login/SessionForm.java b/warehouse/src/main/java/app/market/web/form/login/SessionForm.java
new file mode 100644
index 0000000..1fe5e50
--- /dev/null
+++ b/warehouse/src/main/java/app/market/web/form/login/SessionForm.java
@@ -0,0 +1,79 @@
+/*
+ * Copyright (c) 2019 TOYOTA MOTOR CORPORATION
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package app.market.web.form.login;
+
+import java.io.Serializable;
+
+public class SessionForm implements Serializable {
+
+ private static final long serialVersionUID = -6526850562963464567L;
+
+ private String userId;
+ private String loginId;
+ private String userName;
+ private String loginTime;
+ private String token;
+ private String i18n;
+
+ public String getUserId() {
+ return userId;
+ }
+
+ public void setUserId(String userId) {
+ this.userId = userId;
+ }
+
+ public String getLoginId() {
+ return loginId;
+ }
+
+ public void setLoginId(String loginId) {
+ this.loginId = loginId;
+ }
+
+ public String getUserName() {
+ return userName;
+ }
+
+ public void setUserName(String userName) {
+ this.userName = userName;
+ }
+
+ public String getLoginTime() {
+ return loginTime;
+ }
+
+ public void setLoginTime(String loginTime) {
+ this.loginTime = loginTime;
+ }
+
+ public String getToken() {
+ return token;
+ }
+
+ public void setToken(String token) {
+ this.token = token;
+ }
+
+ public String getI18n() {
+ return i18n;
+ }
+
+ public void setI18n(String i18n) {
+ this.i18n = i18n;
+ }
+
+}
diff --git a/warehouse/src/main/java/app/market/web/form/user/UserForm.java b/warehouse/src/main/java/app/market/web/form/user/UserForm.java
new file mode 100644
index 0000000..c373579
--- /dev/null
+++ b/warehouse/src/main/java/app/market/web/form/user/UserForm.java
@@ -0,0 +1,79 @@
+/*
+ * Copyright (c) 2019 TOYOTA MOTOR CORPORATION
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package app.market.web.form.user;
+
+import app.market.web.form.PaginationForm;
+
+public class UserForm extends PaginationForm {
+
+ private static final long serialVersionUID = 6226317264592601313L;
+
+ private Integer userId;
+ private String userPw;
+ private String reuserPw;
+ private String userName;
+ private String mailAddress;
+ private Integer isDel;
+
+ public Integer getUserId() {
+ return userId;
+ }
+
+ public void setUserId(Integer userId) {
+ this.userId = userId;
+ }
+
+ public String getUserPw() {
+ return userPw;
+ }
+
+ public void setUserPw(String userPw) {
+ this.userPw = userPw;
+ }
+
+ public String getReuserPw() {
+ return reuserPw;
+ }
+
+ public void setReuserPw(String reuserPw) {
+ this.reuserPw = reuserPw;
+ }
+
+ public String getUserName() {
+ return userName;
+ }
+
+ public void setUserName(String userName) {
+ this.userName = userName;
+ }
+
+ public String getMailAddress() {
+ return mailAddress;
+ }
+
+ public void setMailAddress(String mailAddress) {
+ this.mailAddress = mailAddress;
+ }
+
+ public Integer getIsDel() {
+ return isDel;
+ }
+
+ public void setIsDel(Integer isDel) {
+ this.isDel = isDel;
+ }
+
+}