forked from community/device-mgt-core
parent
2fd7601139
commit
e5ef68fa3c
@ -1,137 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
|
||||||
* WSO2 Inc. licenses this file to you 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 org.wso2.carbon.device.application.mgt.common;
|
|
||||||
|
|
||||||
import java.util.Date;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Represents an lifecycle of an {@link Application}.
|
|
||||||
*/
|
|
||||||
public class Lifecycle {
|
|
||||||
|
|
||||||
private int id;
|
|
||||||
|
|
||||||
private Date createdAt;
|
|
||||||
|
|
||||||
private String createdBy;
|
|
||||||
|
|
||||||
private int isApproved;
|
|
||||||
|
|
||||||
private String approvedBy;
|
|
||||||
|
|
||||||
private Date approvedAt;
|
|
||||||
|
|
||||||
private int isPublished;
|
|
||||||
|
|
||||||
private String publishedBy;
|
|
||||||
|
|
||||||
private Date publishedAt;
|
|
||||||
|
|
||||||
private int isRetired;
|
|
||||||
|
|
||||||
private List<LifecycleStateTransition> lifecycleStateTransition;
|
|
||||||
|
|
||||||
public int getId() {
|
|
||||||
return id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setId(int id) {
|
|
||||||
this.id = id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Date getCreatedAt() {
|
|
||||||
return createdAt;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCreatedAt(Date createdAt) {
|
|
||||||
this.createdAt = createdAt;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getCreatedBy() {
|
|
||||||
return createdBy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCreatedBy(String createdBy) {
|
|
||||||
this.createdBy = createdBy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getIsApproved() {
|
|
||||||
return isApproved;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setIsApproved(int isApproved) {
|
|
||||||
this.isApproved = isApproved;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getApprovedBy() {
|
|
||||||
return approvedBy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setApprovedBy(String approvedBy) {
|
|
||||||
this.approvedBy = approvedBy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Date getApprovedAt() {
|
|
||||||
return approvedAt;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setApprovedAt(Date approvedAt) {
|
|
||||||
this.approvedAt = approvedAt;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getIsPublished() {
|
|
||||||
return isPublished;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setIsPublished(int isPublished) {
|
|
||||||
this.isPublished = isPublished;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getPublishedBy() {
|
|
||||||
return publishedBy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPublishedBy(String publishedBy) {
|
|
||||||
this.publishedBy = publishedBy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Date getPublishedAt() {
|
|
||||||
return publishedAt;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPublishedAt(Date publishedAt) {
|
|
||||||
this.publishedAt = publishedAt;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getIsRetired() {
|
|
||||||
return isRetired;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setIsRetired(int isRetired) {
|
|
||||||
this.isRetired = isRetired;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<LifecycleStateTransition> getLifecycleStateTransition() {
|
|
||||||
return lifecycleStateTransition;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setLifecycleStateTransition(List<LifecycleStateTransition> lifecycleStateTransition) {
|
|
||||||
this.lifecycleStateTransition = lifecycleStateTransition;
|
|
||||||
}
|
|
||||||
}
|
|
12
components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/main/java/org/wso2/carbon/device/application/mgt/store/api/services/CommentManagementAPI.java → components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/main/java/org/wso2/carbon/device/application/mgt/store/api/services/ReviewManagementAPI.java
12
components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/main/java/org/wso2/carbon/device/application/mgt/store/api/services/CommentManagementAPI.java → components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/main/java/org/wso2/carbon/device/application/mgt/store/api/services/ReviewManagementAPI.java
46
components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/main/java/org/wso2/carbon/device/application/mgt/store/api/services/impl/CommentManagementAPIImpl.java → components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/main/java/org/wso2/carbon/device/application/mgt/store/api/services/impl/ReviewManagementAPIImpl.java
46
components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/main/java/org/wso2/carbon/device/application/mgt/store/api/services/impl/CommentManagementAPIImpl.java → components/application-mgt/org.wso2.carbon.device.application.mgt.store.api/src/main/java/org/wso2/carbon/device/application/mgt/store/api/services/impl/ReviewManagementAPIImpl.java
Loading…
Reference in new issue