WidgetsController Up
[portal.git] / portal-BE / src / main / java / org / onap / portal / domain / dto / ecomp / EPUserApp.java
index 5eb0da9..52d42fb 100644 (file)
@@ -60,8 +60,15 @@ public class EPUserApp extends DomainVo implements java.io.Serializable, Compara
        private EPApp app;
        @Valid
        private EPRole role;
+
        private Integer priority;
-       
+
+       public EPUserApp(final Long userId, final EPApp app, final EPRole role) {
+               this.userId = userId;
+               this.app = app;
+               this.role = role;
+       }
+
        public Long getAppId() {
                return this.getApp().getId();
        }