31 | */
32 | public class FilterServletOutputStream extends ServletOutputStream
33 | {
34 |
35 | private DataOutputStream stream;
36 |
37 | public FilterServletOutputStream(OutputStream output) {
38 | stream = new DataOutputStream(output);
39 | }
40 |
41 | public void write(int b) throws IOException {
42 | stream.write(b);
43 | }
44 |
45 | public void write(byte[] b) throws IOException {
46 | stream.write(b);
47 | }
48 |
49 | public void write(byte[] b, int off, int len) throws IOException
50 | {
51 | stream.write(b,off,len);
52 | }
53 |
54 | }
55 |
--------------------------------------------------------------------------------
/server/war-base/src/main/java/org/jboss/bpm/console/server/util/ProjectName.java:
--------------------------------------------------------------------------------
1 | package org.jboss.bpm.console.server.util;
2 |
3 | /**
4 | * Jeff Yu
5 | * Mar 30, 2011
6 | */
7 | public enum ProjectName {
8 | RIFTSAW, JBPM, DROOLS;
9 |
10 | }
11 |
--------------------------------------------------------------------------------
/server/war-base/src/main/java/org/jboss/bpm/console/server/util/RsComment.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source.
3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors
4 | * as indicated by the @author tags. See the copyright.txt file in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * This is free software; you can redistribute it and/or modify it
8 | * under the terms of the GNU Lesser General Public License as
9 | * published by the Free Software Foundation; either version 2.1 of
10 | * the License, or (at your option) any later version.
11 | *
12 | * This software is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 | * Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public
18 | * License along with this software; if not, write to the Free
19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 | */
22 | package org.jboss.bpm.console.server.util;
23 |
24 | @java.lang.annotation.Target(value = {java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD}) @java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
25 | public @interface RsComment {
26 |
27 | java.lang.String title() default "";
28 | java.lang.String description() default "";
29 | ProjectName[] project() default {ProjectName.RIFTSAW, ProjectName.JBPM, ProjectName.DROOLS};
30 | java.lang.String example() default "";
31 | }
--------------------------------------------------------------------------------
/server/war-base/src/main/resources/process.jpdl.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/server/war-base/src/main/webapp/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | GWT Console Server
5 |
6 | Published URL's
7 | You can find a list of RiftSaw resources here,
8 | and a list of jBPM resources here.
9 |
10 | Example usage (this is an example for jBPM, replace the gwt-console-server as bpel-console-server for RiftSaw project)
11 |
12 |
13 | curl -u "user:password" -H 'Accept: application/json' http://localhost:8080/gwt-console-server/rs/process/definitions
14 | curl -H 'Accept: application/json' http://localhost:8080/gwt-console-server/rs/process/definition/1/instances
15 |
16 |
17 | Problems?
18 | Please post any questions to the gwt-console developer forum.
19 |
20 |
21 |
--------------------------------------------------------------------------------
/server/war-base/src/main/webapp/login.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | HTTP 401
4 |
5 |
6 |
30 |
31 |
--------------------------------------------------------------------------------
/server/war-base/src/main/webapp/login_failed.html:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Login failed!
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/server/war-base/src/test/java/org/jboss/bpm/test/typeconversion/AnnotatedComplexType.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source.
3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors
4 | * as indicated by the @author tags. See the copyright.txt file in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * This is free software; you can redistribute it and/or modify it
8 | * under the terms of the GNU Lesser General Public License as
9 | * published by the Free Software Foundation; either version 2.1 of
10 | * the License, or (at your option) any later version.
11 | *
12 | * This software is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 | * Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public
18 | * License along with this software; if not, write to the Free
19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 | */
22 | package org.jboss.bpm.test.typeconversion;
23 |
24 | import javax.xml.bind.annotation.XmlRootElement;
25 | import javax.xml.bind.annotation.XmlElement;
26 | import javax.xml.bind.annotation.XmlType;
27 | import java.util.Date;
28 |
29 | /**
30 | * @author Heiko.Braun
31 | */
32 | @XmlRootElement()
33 | @XmlType(namespace = "http://foo.bar.com", name = "Order")
34 | public class AnnotatedComplexType
35 | {
36 | @XmlElement(name = "timestamp")
37 | long data = new Date().getTime();
38 | }
39 |
--------------------------------------------------------------------------------
/server/war-base/src/test/java/org/jboss/bpm/test/typeconversion/ComplexType.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source.
3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors
4 | * as indicated by the @author tags. See the copyright.txt file in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * This is free software; you can redistribute it and/or modify it
8 | * under the terms of the GNU Lesser General Public License as
9 | * published by the Free Software Foundation; either version 2.1 of
10 | * the License, or (at your option) any later version.
11 | *
12 | * This software is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 | * Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public
18 | * License along with this software; if not, write to the Free
19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 | */
22 | package org.jboss.bpm.test.typeconversion;
23 |
24 | /**
25 | * @author Heiko.Braun
26 | */
27 | public class ComplexType
28 | {
29 | String message;
30 |
31 |
32 | public ComplexType()
33 | {
34 | }
35 |
36 | public String getMessage()
37 | {
38 | return message;
39 | }
40 |
41 | public void setMessage(String message)
42 | {
43 | this.message = message;
44 | }
45 |
46 | public ComplexType(String message)
47 | {
48 | this.message = message;
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/server/war-base/src/test/java/org/jboss/bpm/test/typeconversion/IllegalType.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source.
3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors
4 | * as indicated by the @author tags. See the copyright.txt file in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * This is free software; you can redistribute it and/or modify it
8 | * under the terms of the GNU Lesser General Public License as
9 | * published by the Free Software Foundation; either version 2.1 of
10 | * the License, or (at your option) any later version.
11 | *
12 | * This software is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 | * Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public
18 | * License along with this software; if not, write to the Free
19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 | */
22 | package org.jboss.bpm.test.typeconversion;
23 |
24 | import java.io.InputStream;
25 | import java.io.ByteArrayInputStream;
26 |
27 | /**
28 | * @author Heiko.Braun
29 | */
30 | public class IllegalType
31 | {
32 | InputStream in = new ByteArrayInputStream("Hwllo World".getBytes());
33 | }
34 |
--------------------------------------------------------------------------------
/server/wars/jbpm/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4.0.0
4 | JBoss BPM - Console::Server::jBPM Webapp
5 | org.jboss.bpm
6 | gwt-console-server-jbpm
7 | war
8 |
9 |
10 |
11 | org.jboss.bpm
12 | gwt-console-warsmodule
13 | 2.5.0-SNAPSHOT
14 | ../pom.xml
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/server/wars/jbpm/src/main/webapp/WEB-INF/jboss-web.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
8 |
9 | java:/jaas/jbpm-console
10 |
11 | gwt-console-server
12 |
13 |
14 |
--------------------------------------------------------------------------------
/server/wars/pom.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 | 4.0.0
6 | JBoss BPM - Console::WARs (Parent)
7 | org.jboss.bpm
8 | gwt-console-warsmodule
9 | pom
10 |
11 |
12 |
13 | org.jboss.bpm
14 | gwt-console-servermodule
15 | 2.5.0-SNAPSHOT
16 |
17 |
18 |
19 | jbpm
20 | riftsaw
21 |
22 |
23 |
24 |
25 | org.jboss.bpm
26 | gwt-console-server-war-base
27 | ${project.version}
28 | provided
29 | war
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 | org.apache.maven.plugins
38 | maven-war-plugin
39 |
40 |
41 |
42 | org.jboss.bpm
43 | gwt-console-server-war-base
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/server/wars/riftsaw/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4.0.0
4 | JBoss BPM - Console::Server::Riftsaw Webapp
5 | org.jboss.bpm
6 | gwt-console-server-riftsaw
7 | war
8 |
9 |
10 |
11 | org.jboss.bpm
12 | gwt-console-warsmodule
13 | 2.5.0-SNAPSHOT
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/server/wars/riftsaw/src/main/webapp/WEB-INF/jboss-web.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
8 |
9 | java:/jaas/other
10 |
11 | bpel-console-server
12 |
13 |
14 |
--------------------------------------------------------------------------------
/shared/pom.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 | 4.0.0
6 | JBoss BPM - Console::Shared
7 | org.jboss.bpm
8 | gwt-console-shared
9 | pom
10 |
11 |
12 |
13 |
14 | org.jboss.bpm
15 | gwt-console-parent
16 | 2.5.0-SNAPSHOT
17 | ../pom.xml
18 |
19 |
20 |
21 | rpc
22 |
23 |
24 |
--------------------------------------------------------------------------------
/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryActivityInstanceRef.java:
--------------------------------------------------------------------------------
1 | package org.jboss.bpm.console.client.model;
2 |
3 | import org.jboss.errai.bus.server.annotations.ExposeEntity;
4 |
5 | import java.io.Serializable;
6 | import java.util.Date;
7 |
8 | import javax.xml.bind.annotation.XmlRootElement;
9 |
10 | @XmlRootElement(name = "historyProcessInstance")
11 | @ExposeEntity
12 | public class HistoryActivityInstanceRef implements Serializable
13 | {
14 |
15 | private String activityName;
16 | private Date startTime;
17 | private Date endTime;
18 | private String executionId;
19 | private long duration;
20 |
21 | public String getActivityName() {
22 | return activityName;
23 | }
24 |
25 | public void setActivityName(String activityName) {
26 | this.activityName = activityName;
27 | }
28 |
29 | public Date getStartTime() {
30 | return startTime;
31 | }
32 |
33 | public void setStartTime(Date startTime) {
34 | this.startTime = startTime;
35 | }
36 |
37 | public Date getEndTime() {
38 | return endTime;
39 | }
40 |
41 | public void setEndTime(Date endTime) {
42 | this.endTime = endTime;
43 | }
44 |
45 | public String getExecutionId() {
46 | return executionId;
47 | }
48 |
49 | public void setExecutionId(String executionId) {
50 | this.executionId = executionId;
51 | }
52 |
53 | public long getDuration() {
54 | return duration;
55 | }
56 |
57 | public void setDuration(long duration) {
58 | this.duration = duration;
59 | }
60 |
61 |
62 | }
63 |
--------------------------------------------------------------------------------
/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryActivityInstanceRefWrapper.java:
--------------------------------------------------------------------------------
1 | package org.jboss.bpm.console.client.model;
2 |
3 | import java.util.List;
4 |
5 | import javax.xml.bind.annotation.XmlElement;
6 | import javax.xml.bind.annotation.XmlRootElement;
7 |
8 | @XmlRootElement(name = "wrapper")
9 | public class HistoryActivityInstanceRefWrapper {
10 | List historyEntires;
11 |
12 | public HistoryActivityInstanceRefWrapper()
13 | {
14 | }
15 |
16 | public HistoryActivityInstanceRefWrapper(List historyEntires)
17 | {
18 | this.historyEntires = historyEntires;
19 | }
20 |
21 | @XmlElement
22 | public List getDefinitions()
23 | {
24 | return historyEntires;
25 | }
26 |
27 | @XmlElement(name = "totalCount")
28 | public int getTotalCount()
29 | {
30 | return historyEntires.size();
31 | }
32 |
33 | public void setDefinitions(List historyEntires)
34 | {
35 | this.historyEntires = historyEntires;
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryProcessInstanceRefWrapper.java:
--------------------------------------------------------------------------------
1 | package org.jboss.bpm.console.client.model;
2 |
3 | import java.util.List;
4 |
5 | import javax.xml.bind.annotation.XmlElement;
6 | import javax.xml.bind.annotation.XmlRootElement;
7 |
8 | @XmlRootElement(name = "wrapper")
9 | public class HistoryProcessInstanceRefWrapper {
10 | List historyEntires;
11 |
12 | public HistoryProcessInstanceRefWrapper()
13 | {
14 | }
15 |
16 | public HistoryProcessInstanceRefWrapper(List historyEntires)
17 | {
18 | this.historyEntires = historyEntires;
19 | }
20 |
21 | @XmlElement
22 | public List getDefinitions()
23 | {
24 | return historyEntires;
25 | }
26 |
27 | @XmlElement(name = "totalCount")
28 | public int getTotalCount()
29 | {
30 | return historyEntires.size();
31 | }
32 |
33 | public void setDefinitions(List historyEntires)
34 | {
35 | this.historyEntires = historyEntires;
36 | }
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/JobRefWrapper.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source.
3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors
4 | * as indicated by the @author tags. See the copyright.txt file in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * This is free software; you can redistribute it and/or modify it
8 | * under the terms of the GNU Lesser General Public License as
9 | * published by the Free Software Foundation; either version 2.1 of
10 | * the License, or (at your option) any later version.
11 | *
12 | * This software is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 | * Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public
18 | * License along with this software; if not, write to the Free
19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 | */
22 | package org.jboss.bpm.console.client.model;
23 |
24 | import javax.xml.bind.annotation.XmlRootElement;
25 | import java.util.List;
26 | import java.util.ArrayList;
27 |
28 | /**
29 | * @author Heiko.Braun
30 | */
31 | @XmlRootElement(name = "wrapper")
32 | public class JobRefWrapper
33 | {
34 | List jobs = new ArrayList();
35 |
36 |
37 | public JobRefWrapper()
38 | {
39 | }
40 |
41 | public JobRefWrapper(List deployments)
42 | {
43 | this.jobs = deployments;
44 | }
45 |
46 | public List getJobs()
47 | {
48 | return jobs;
49 | }
50 |
51 | public void setJobs(List jobs)
52 | {
53 | this.jobs = jobs;
54 | }
55 |
56 | public int getTotalCount()
57 | {
58 | return jobs.size();
59 | }
60 | }
61 |
--------------------------------------------------------------------------------
/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/PluginInfo.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source.
3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors
4 | * as indicated by the @author tags. See the copyright.txt file in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * This is free software; you can redistribute it and/or modify it
8 | * under the terms of the GNU Lesser General Public License as
9 | * published by the Free Software Foundation; either version 2.1 of
10 | * the License, or (at your option) any later version.
11 | *
12 | * This software is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 | * Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public
18 | * License along with this software; if not, write to the Free
19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 | */
22 | package org.jboss.bpm.console.client.model;
23 |
24 | /**
25 | * @author Heiko.Braun
26 | */
27 | public class PluginInfo
28 | {
29 | private String type;
30 | private boolean available;
31 |
32 |
33 | public PluginInfo()
34 | {
35 | }
36 |
37 | public PluginInfo(String type, boolean available)
38 | {
39 | this.type = type;
40 | this.available = available;
41 | }
42 |
43 | public String getType()
44 | {
45 | return type;
46 | }
47 |
48 | public void setType(String type)
49 | {
50 | this.type = type;
51 | }
52 |
53 | public boolean isAvailable()
54 | {
55 | return available;
56 | }
57 |
58 | public void setAvailable(boolean available)
59 | {
60 | this.available = available;
61 | }
62 | }
63 |
--------------------------------------------------------------------------------
/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/ProcessInstancePerformance.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source.
3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors
4 | * as indicated by the @author tags. See the copyright.txt file in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * This is free software; you can redistribute it and/or modify it
8 | * under the terms of the GNU Lesser General Public License as
9 | * published by the Free Software Foundation; either version 2.1 of
10 | * the License, or (at your option) any later version.
11 | *
12 | * This software is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 | * Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public
18 | * License along with this software; if not, write to the Free
19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 | */
22 | package org.jboss.bpm.console.client.model;
23 |
24 | import java.util.Map;
25 |
26 | /**
27 | * @author Heiko.Braun
28 | */
29 | public final class ProcessInstancePerformance
30 | {
31 | private long id;
32 | private String processName;
33 |
34 | Map instanceMetrics; // Map
35 |
36 | public ProcessInstancePerformance(long processId, String processName, Map instanceMetrics)
37 | {
38 | this.id = processId;
39 | this.processName = processName;
40 | this.instanceMetrics = instanceMetrics;
41 | }
42 |
43 |
44 | public long getId()
45 | {
46 | return id;
47 | }
48 |
49 | public String getProcessName()
50 | {
51 | return processName;
52 | }
53 |
54 | public Map getInstanceMetrics()
55 | {
56 | return instanceMetrics;
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/RoleAssignmentRefWrapper.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source.
3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors
4 | * as indicated by the @author tags. See the copyright.txt file in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * This is free software; you can redistribute it and/or modify it
8 | * under the terms of the GNU Lesser General Public License as
9 | * published by the Free Software Foundation; either version 2.1 of
10 | * the License, or (at your option) any later version.
11 | *
12 | * This software is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 | * Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public
18 | * License along with this software; if not, write to the Free
19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 | */
22 | package org.jboss.bpm.console.client.model;
23 |
24 | import javax.xml.bind.annotation.XmlRootElement;
25 | import java.util.List;
26 |
27 | /**
28 | * @author Heiko.Braun
29 | */
30 | @XmlRootElement(name = "wrapper")
31 | public class RoleAssignmentRefWrapper
32 | {
33 | List roles;
34 |
35 | public RoleAssignmentRefWrapper()
36 | {
37 | }
38 |
39 | public RoleAssignmentRefWrapper(List roles)
40 | {
41 | this.roles = roles;
42 | }
43 |
44 | public List getRoles()
45 | {
46 | return roles;
47 | }
48 |
49 | public void setRoles(List roles)
50 | {
51 | this.roles = roles;
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/ServerStatus.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source.
3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors
4 | * as indicated by the @author tags. See the copyright.txt file in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * This is free software; you can redistribute it and/or modify it
8 | * under the terms of the GNU Lesser General Public License as
9 | * published by the Free Software Foundation; either version 2.1 of
10 | * the License, or (at your option) any later version.
11 | *
12 | * This software is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 | * Lesser General Public License for more details.
16 | *
17 | * You should have received a copy of the GNU Lesser General Public
18 | * License along with this software; if not, write to the Free
19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 | */
22 | package org.jboss.bpm.console.client.model;
23 |
24 | import java.util.List;
25 | import java.util.ArrayList;
26 |
27 | /**
28 | * @author Heiko.Braun
29 | */
30 | public class ServerStatus
31 | {
32 | List plugins = new ArrayList();
33 |
34 | public List getPlugins()
35 | {
36 | return plugins;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/StringRef.java:
--------------------------------------------------------------------------------
1 | package org.jboss.bpm.console.client.model;
2 |
3 | import javax.xml.bind.annotation.XmlRootElement;
4 |
5 | /**
6 | * User: Jeff Yu
7 | * Date: 12/04/11
8 | */
9 | @XmlRootElement(name = "stringRef")
10 | public class StringRef {
11 |
12 | private String value;
13 |
14 | public StringRef(){}
15 |
16 | public StringRef(String value) {
17 | this.value = value;
18 | }
19 |
20 | public String getValue() {
21 | return value;
22 | }
23 |
24 | public void setValue(String value) {
25 | this.value = value;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/shared/rpc/src/main/java/org/jboss/bpm/console/client/model/StringRefWrapper.java:
--------------------------------------------------------------------------------
1 | package org.jboss.bpm.console.client.model;
2 |
3 | import java.util.List;
4 |
5 | /**
6 | * User: Jeff Yu
7 | * Date: 13/04/11
8 | */
9 | public class StringRefWrapper {
10 |
11 | private List values;
12 |
13 |
14 | public StringRefWrapper() {
15 |
16 | }
17 |
18 |
19 | public StringRefWrapper(List values) {
20 | this.values = values;
21 | }
22 |
23 | public List getValues() {
24 | return values;
25 | }
26 |
27 | public void setValues(List values) {
28 | this.values = values;
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/shared/rpc/src/main/resources/ErraiApp.properties:
--------------------------------------------------------------------------------
1 | # errai marker file used for auto discovery
--------------------------------------------------------------------------------