[jboss-svn-commits] JBL Code SVN: r32829 - in labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor: client/rpc and 3 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue May 11 14:12:23 EDT 2010
Author: baunax
Date: 2010-05-11 14:12:21 -0400 (Tue, 11 May 2010)
New Revision: 32829
Removed:
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/factmodel/FactMetaModel.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/factmodel/FactModels.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/factmodel/FieldMetaModel.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/AnalysisFactUsage.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/AnalysisFieldUsage.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/AnalysisReport.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/AnalysisReportLine.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/BuilderResult.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/BuilderResultLine.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/Cause.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/DetailedSerializableException.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/MetaData.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/RuleAsset.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/RuleContentText.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/RuleFlowContentModel.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/WorkingSetConfigData.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/ruleeditor/PropertiesHolder.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/ruleeditor/PropertyHolder.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/ElementContainerTransferNode.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/HumanTaskTransferNode.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/SplitTransferNode.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/TransferConnection.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/TransferNode.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/WorkItemTransferNode.java
labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/server/contenthandler/IRuleAsset.java
Log:
moved to drools-repository-model
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/factmodel/FactMetaModel.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/factmodel/FactMetaModel.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/factmodel/FactMetaModel.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,28 +0,0 @@
-package org.drools.guvnor.client.factmodel;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.drools.ide.common.client.modeldriven.brl.PortableObject;
-
-/**
- * Represents the GUI data for a fact model definition.
- *
- * @author Michael Neale
- */
-public class FactMetaModel implements PortableObject {
-
- public String name;
-
- public List<FieldMetaModel> fields = new ArrayList<FieldMetaModel>();
-
- public FactMetaModel() {}
- public FactMetaModel(String name, List fields) {
- this.name = name;
- this.fields = fields;
- }
-
-
-
-}
-
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/factmodel/FactModels.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/factmodel/FactModels.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/factmodel/FactModels.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,14 +0,0 @@
-package org.drools.guvnor.client.factmodel;
-
-import org.drools.ide.common.client.modeldriven.brl.PortableObject;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.io.Serializable;
-
-public class FactModels implements PortableObject {
-
- public List<FactMetaModel> models = new ArrayList<FactMetaModel>();
-
-
-}
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/factmodel/FieldMetaModel.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/factmodel/FieldMetaModel.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/factmodel/FieldMetaModel.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,16 +0,0 @@
-package org.drools.guvnor.client.factmodel;
-
-import org.drools.ide.common.client.modeldriven.brl.PortableObject;
-
-public class FieldMetaModel implements PortableObject {
-
- public String name;
- public String type;
-
- public FieldMetaModel() {}
- public FieldMetaModel(String name, String type) {
- this.name = name;
- this.type = type;
- }
-
-}
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/AnalysisFactUsage.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/AnalysisFactUsage.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/AnalysisFactUsage.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,10 +0,0 @@
-package org.drools.guvnor.client.rpc;
-
-import com.google.gwt.user.client.rpc.IsSerializable;
-
-public class AnalysisFactUsage implements IsSerializable {
-
- public String name;
- public AnalysisFieldUsage[] fields;
-
-}
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/AnalysisFieldUsage.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/AnalysisFieldUsage.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/AnalysisFieldUsage.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,10 +0,0 @@
-package org.drools.guvnor.client.rpc;
-
-import com.google.gwt.user.client.rpc.IsSerializable;
-
-public class AnalysisFieldUsage implements IsSerializable {
-
- public String name;
- public String[] rules;
-
-}
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/AnalysisReport.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/AnalysisReport.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/AnalysisReport.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,10 +0,0 @@
-package org.drools.guvnor.client.rpc;
-
-import com.google.gwt.user.client.rpc.IsSerializable;
-
-public class AnalysisReport implements IsSerializable {
- public AnalysisReportLine[] errors;
- public AnalysisReportLine[] warnings;
- public AnalysisReportLine[] notes;
- public AnalysisFactUsage[] factUsages;
-}
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/AnalysisReportLine.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/AnalysisReportLine.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/AnalysisReportLine.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,31 +0,0 @@
-package org.drools.guvnor.client.rpc;
-
-import java.util.Map;
-
-import com.google.gwt.user.client.rpc.IsSerializable;
-
-/**
- * This is a single line of an analysis report.
- */
-public class AnalysisReportLine
- implements
- IsSerializable {
-
- public String description;
- public String reason;
- public Integer patternOrderNumber;
- public Cause[] causes;
- public Map<String, String> impactedRules;
-
- public AnalysisReportLine() {
- }
-
- public AnalysisReportLine(String description,
- String reason,
- Cause[] causes) {
- this.description = description;
- this.reason = reason;
- this.causes = causes;
- }
-
-}
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/BuilderResult.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/BuilderResult.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/BuilderResult.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,34 +0,0 @@
-package org.drools.guvnor.client.rpc;
-/*
- * Copyright 2005 JBoss Inc
- *
- * 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.
- */
-
-
-
-import com.google.gwt.user.client.rpc.IsSerializable;
-
-/**
- * Returned by the builder.
- * @author Michael Neale
- */
-public class BuilderResult
- implements
- IsSerializable {
-
- public BuilderResultLine[] lines = new BuilderResultLine[0];
-
- public AnalysisReport verifierReport;
-
-}
\ No newline at end of file
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/BuilderResultLine.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/BuilderResultLine.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/BuilderResultLine.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,42 +0,0 @@
-package org.drools.guvnor.client.rpc;
-/*
- * Copyright 2005 JBoss Inc
- *
- * 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.
- */
-
-
-
-import com.google.gwt.user.client.rpc.IsSerializable;
-
-/**
- * Returned by the builder.
- * @author Michael Neale
- */
-public class BuilderResultLine
- implements
- IsSerializable {
-
-
- public String assetFormat;
- public String assetName;
- public String uuid;
- public String message;
-
- public String toString() {
- return "Asset: " + assetName + "." + assetFormat + "\n" + //NON-NLS
- "Message: " + message + "\n" + //NON-NLS
- "UUID: " + uuid; //NON-NLS
- }
-
-}
\ No newline at end of file
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/Cause.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/Cause.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/Cause.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,44 +0,0 @@
-package org.drools.guvnor.client.rpc;
-
-import com.google.gwt.user.client.rpc.IsSerializable;
-
-/**
- *
- * @author trikkola
- *
- */
-public class Cause
- implements
- IsSerializable {
-
- private String cause;
- private Cause[] causes;
-
- public Cause() {
- this.cause = "";
- this.causes = new Cause[0];
- }
-
- public Cause(String cause,
- Cause[] causes) {
- this.cause = cause;
- this.causes = causes;
- }
-
- public void setCause(String cause) {
- this.cause = cause;
- }
-
- public String getCause() {
- return cause;
- }
-
- public void setCauses(Cause[] causes) {
- this.causes = causes;
- }
-
- public Cause[] getCauses() {
- return causes;
- }
-
-}
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/DetailedSerializableException.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/DetailedSerializableException.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/DetailedSerializableException.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,33 +0,0 @@
-package org.drools.guvnor.client.rpc;
-
-import com.google.gwt.user.client.rpc.SerializableException;
-
-/**
- * This is for more detailed reports to send back to the client.
- * Typically there is a short message and longer message. The longer one is used by support. The shorter one displayed by default.
- */
-public class DetailedSerializableException extends SerializableException {
-
-
- private String longDescription;
-
- private BuilderResultLine[] errs;
- public DetailedSerializableException() {}
-
- public DetailedSerializableException(String shortDescription, String longDescription) {
- super(shortDescription);
- this.longDescription = longDescription;
- }
- public DetailedSerializableException(String shortDescription, BuilderResultLine[] errs) {
- super(shortDescription);
- this.errs = errs;
- }
-
- public String getLongDescription() {
- return this.longDescription;
- }
- public BuilderResultLine[] getErrs(){
- return errs;
- }
-
-}
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/MetaData.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/MetaData.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/MetaData.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,99 +0,0 @@
-package org.drools.guvnor.client.rpc;
-
-/*
- * Copyright 2005 JBoss Inc
- *
- * 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.
- */
-
-import java.util.Date;
-
-import com.google.gwt.user.client.rpc.IsSerializable;
-
-/**
- * This is the DTO for a versionable asset's meta data.
- * ie basically everything except the payload.
- */
-public class MetaData
- implements
- IsSerializable {
-
- public String name = "";
- public String description = "";
-
- public String title = "";
- public String status = "";
-
- public Date lastModifiedDate;
- public String lastContributor = "";
- public long versionNumber;
-
- public Date createdDate;
-
- public String packageName = "";
- public String packageUUID = "";
- public String[] categories = new String[0];
-
- public String format = "";
- public String type = "";
- public String creator = "";
- public String externalSource = "";
- public String subject = "";
- public String externalRelation = "";
- public String rights = "";
- public String coverage = "";
- public String publisher = "";
- public String checkinComment = "";
-
- public boolean disabled = false;
-
- public Date dateEffective;
- public Date dateExpired;
-
- /**
- * Remove a category.
- * @param idx The index of the cat to remove.
- */
- public void removeCategory(int idx) {
- String[] newList = new String[categories.length - 1];
- int newIdx = 0;
- for ( int i = 0; i < categories.length; i++ ) {
-
- if ( i != idx ) {
- newList[newIdx] = categories[i];
- newIdx++;
- }
-
- }
- this.categories = newList;
- }
-
- /**
- * Add the given cat to the end of the cat list.
- */
- public void addCategory(String cat) {
- for ( int i = 0; i < this.categories.length; i++ ) {
- if ( categories[i].equals( cat ) ) return;
- }
- String[] list = this.categories;
- String[] newList = new String[list.length + 1];
-
- for ( int i = 0; i < list.length; i++ ) {
- newList[i] = list[i];
- }
- newList[list.length] = cat;
-
- this.categories = newList;
- }
-
-}
\ No newline at end of file
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/RuleAsset.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/RuleAsset.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/RuleAsset.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,46 +0,0 @@
-package org.drools.guvnor.client.rpc;
-
-/*
- * Copyright 2005 JBoss Inc
- *
- * 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.
- */
-
-import com.google.gwt.user.client.rpc.IsSerializable;
-
-import java.io.Serializable;
-
-import org.drools.ide.common.client.modeldriven.brl.PortableObject;
-
-/**
- * This is the "payload" of a rule asset.
- * Includes the meta data.
- *
- * @author Michael Neale
- */
-public class RuleAsset
- implements
- Serializable,
- IsSerializable {
-
- public MetaData metaData;
- public PortableObject content;
-
- public String uuid;
- public boolean isreadonly = false;
-
- public long getVersionNumber() {
- return metaData.versionNumber;
- }
-
-}
\ No newline at end of file
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/RuleContentText.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/RuleContentText.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/RuleContentText.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,31 +0,0 @@
-package org.drools.guvnor.client.rpc;
-/*
- * Copyright 2005 JBoss Inc
- *
- * 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.
- */
-
-
-
-import org.drools.ide.common.client.modeldriven.brl.PortableObject;
-
-/**
- * This is the guts of a plain text (advanced) rule.
- * @author Michael Neale
- */
-public class RuleContentText
- implements
- PortableObject {
-
- public String content;
-}
\ No newline at end of file
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/RuleFlowContentModel.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/RuleFlowContentModel.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/RuleFlowContentModel.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,60 +0,0 @@
-package org.drools.guvnor.client.rpc;
-
-/*
- * Copyright 2005 JBoss Inc
- *
- * 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.
- */
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.List;
-import java.io.Serializable;
-
-import org.drools.guvnor.client.rulefloweditor.TransferConnection;
-import org.drools.guvnor.client.rulefloweditor.TransferNode;
-import org.drools.ide.common.client.modeldriven.brl.PortableObject;
-
-public class RuleFlowContentModel
- implements
- PortableObject {
-
- private List<TransferNode> nodes = new ArrayList<TransferNode>();
- private Collection<TransferConnection> connections = new ArrayList<TransferConnection>();
- private String xml;
-
- public void setNodes(List<TransferNode> nodes) {
- this.nodes = nodes;
- }
-
- public Collection<TransferNode> getNodes() {
- return nodes;
- }
-
- public void setConnections(Collection<TransferConnection> connections) {
- this.connections = connections;
- }
-
- public Collection<TransferConnection> getConnections() {
- return connections;
- }
-
- public void setXml(String xml) {
- this.xml = xml;
- }
-
- public String getXml() {
- return xml;
- }
-
-}
\ No newline at end of file
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/WorkingSetConfigData.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/WorkingSetConfigData.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rpc/WorkingSetConfigData.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,22 +0,0 @@
-package org.drools.guvnor.client.rpc;
-
-import java.io.Serializable;
-import java.util.List;
-
-import org.drools.factconstraints.client.ConstraintConfiguration;
-import org.drools.ide.common.client.modeldriven.brl.PortableObject;
-
-/**
- *
- * @author bauna
- */
-public class WorkingSetConfigData implements PortableObject, Serializable {
- private static final long serialVersionUID = 501L;
-
- public String name;
- public String description;
- public List<ConstraintConfiguration> constraints;
-
- public String[] validFacts;
- public WorkingSetConfigData[] workingSets;
-}
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/ruleeditor/PropertiesHolder.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/ruleeditor/PropertiesHolder.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/ruleeditor/PropertiesHolder.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,33 +0,0 @@
-package org.drools.guvnor.client.ruleeditor;
-/*
- * Copyright 2005 JBoss Inc
- *
- * 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.
- */
-import java.util.ArrayList;
-import java.util.List;
-
-import org.drools.ide.common.client.modeldriven.brl.PortableObject;
-
-
-/**
- * Properties representation used for RPC data exchange
- *
- * @author Anton Arhipov
- */
-public class PropertiesHolder implements PortableObject {
-
- public List<PropertyHolder> list = new ArrayList<PropertyHolder>();
-
-}
-
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/ruleeditor/PropertyHolder.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/ruleeditor/PropertyHolder.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/ruleeditor/PropertyHolder.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,40 +0,0 @@
-package org.drools.guvnor.client.ruleeditor;
-/*
- * Copyright 2005 JBoss Inc
- *
- * 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.
- */
-
-import org.drools.ide.common.client.modeldriven.brl.PortableObject;
-
-/**
- * key/value pair to be used as an exchange object for properties rule asset
- *
- * @author Anton Arhipov
- */
-public class PropertyHolder implements PortableObject {
- public String name;
- public String value;
-
- public PropertyHolder() {
- }
-
- public PropertyHolder(String name, String value) {
- this.name = name;
- this.value = value;
- }
-
- public String toString() {
- return "{" + name + "," + value + "}";
- }
-}
\ No newline at end of file
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/ElementContainerTransferNode.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/ElementContainerTransferNode.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/ElementContainerTransferNode.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,38 +0,0 @@
-package org.drools.guvnor.client.rulefloweditor;
-
-/*
- * Copyright 2005 JBoss Inc
- *
- * 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.
- */
-
-import org.drools.guvnor.client.rpc.RuleFlowContentModel;
-
-public class ElementContainerTransferNode extends TransferNode {
-
- private RuleFlowContentModel contentModel;
-
- public ElementContainerTransferNode() {
- this.width = 200;
- this.height = 150;
- }
-
- public void setContentModel(RuleFlowContentModel contentModel) {
- this.contentModel = contentModel;
- }
-
- public RuleFlowContentModel getContentModel() {
- return contentModel;
- }
-
-}
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/HumanTaskTransferNode.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/HumanTaskTransferNode.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/HumanTaskTransferNode.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,34 +0,0 @@
-package org.drools.guvnor.client.rulefloweditor;
-
-/*
- * Copyright 2005 JBoss Inc
- *
- * 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.
- */
-
-import java.util.HashMap;
-import java.util.Map;
-
-public class HumanTaskTransferNode extends TransferNode {
-
- public Map<String, String> parameters = new HashMap<String, String>();
-
- public void setParameters(Map<String, String> parameters) {
- this.parameters = parameters;
- }
-
- public Map<String, String> getParameters() {
- return parameters;
- }
-
-}
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/SplitTransferNode.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/SplitTransferNode.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/SplitTransferNode.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,82 +0,0 @@
-package org.drools.guvnor.client.rulefloweditor;
-
-/*
- * Copyright 2005 JBoss Inc
- *
- * 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.
- */
-
-import java.util.HashMap;
-import java.util.Map;
-
-import org.drools.guvnor.client.rulefloweditor.SplitNode.ConnectionRef;
-import org.drools.guvnor.client.rulefloweditor.SplitNode.Constraint;
-
-import com.google.gwt.user.client.rpc.IsSerializable;
-
-public class SplitTransferNode extends TransferNode
- implements
- IsSerializable {
-
- private Map<ConnectionRef, Constraint> constraints = new HashMap<ConnectionRef, Constraint>();
- private Type splitType;
-
- public enum Type
- implements IsSerializable {
- UNDEFINED(
- 0), AND(
- 1), XOR(
- 2), OR(
- 3);
-
- private final int value;
-
- Type(int i) {
- value = i;
- }
-
- int getValue() {
- return value;
- }
-
- public static Type getType(int i) {
- switch ( i ) {
- case 0 :
- return Type.UNDEFINED;
- case 1 :
- return Type.AND;
- case 2 :
- return Type.XOR;
- case 3 :
- default :
- return Type.OR;
- }
- }
- }
-
- public void setConstraints(Map<ConnectionRef, Constraint> constraints) {
- this.constraints = constraints;
- }
-
- public Map<ConnectionRef, Constraint> getConstraints() {
- return constraints;
- }
-
- public void setSplitType(Type splitType) {
- this.splitType = splitType;
- }
-
- public Type getSplitType() {
- return splitType;
- }
-}
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/TransferConnection.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/TransferConnection.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/TransferConnection.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,44 +0,0 @@
-package org.drools.guvnor.client.rulefloweditor;
-
-/*
- * Copyright 2005 JBoss Inc
- *
- * 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.
- */
-
-import com.google.gwt.user.client.rpc.IsSerializable;
-
-public class TransferConnection
- implements
- IsSerializable {
-
- private long fromId;
- private long toId;
-
- public void setFromId(long fromId) {
- this.fromId = fromId;
- }
-
- public long getFromId() {
- return fromId;
- }
-
- public void setToId(long toId) {
- this.toId = toId;
- }
-
- public long getToId() {
- return toId;
- }
-
-}
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/TransferNode.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/TransferNode.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/TransferNode.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,100 +0,0 @@
-package org.drools.guvnor.client.rulefloweditor;
-
-/*
- * Copyright 2005 JBoss Inc
- *
- * 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.
- */
-
-import com.google.gwt.user.client.rpc.IsSerializable;
-
-public class TransferNode
- implements
- IsSerializable {
-
- public static enum Type
- implements IsSerializable {
- START, HUMANTASK, JOIN, SUB_PROCESS, MILESTONE, TIMER, ACTION_NODE, RULESET, SPLIT, END, FOR_EACH, COMPOSITE, EVENT, WORK_ITEM, FAULT
- }
-
- private String name;
-
- private Type type;
-
- private long id;
-
- private int x;
-
- private int y;
-
- protected int width = 80;
-
- protected int height = 40;
-
- public void setName(String name) {
- this.name = name;
- }
-
- public String getName() {
- return name;
- }
-
- public void setType(Type type) {
- this.type = type;
- }
-
- public Type getType() {
- return type;
- }
-
- public void setId(long id) {
- this.id = id;
- }
-
- public long getId() {
- return id;
- }
-
- public void setX(int x) {
- this.x = x;
- }
-
- public int getX() {
- return x;
- }
-
- public void setY(int y) {
- this.y = y;
- }
-
- public int getY() {
- return y;
- }
-
- public void setWidth(int width) {
- this.width = width;
- }
-
- public int getWidth() {
- return width;
- }
-
- public void setHeight(int height) {
- this.height = height;
- }
-
- public int getHeight() {
- return height;
- }
-
-}
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/WorkItemTransferNode.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/WorkItemTransferNode.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/client/rulefloweditor/WorkItemTransferNode.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,42 +0,0 @@
-package org.drools.guvnor.client.rulefloweditor;
-
-/*
- * Copyright 2005 JBoss Inc
- *
- * 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.
- */
-
-import java.util.HashMap;
-import java.util.Map;
-
-public class WorkItemTransferNode extends TransferNode {
-
- public Map<String, String> parameters = new HashMap<String, String>();
- public String workName;
-
- public void setParameters(Map<String, String> parameters) {
- this.parameters = parameters;
- }
-
- public Map<String, String> getParameters() {
- return parameters;
- }
-
- public void setWorkName(String workName) {
- this.workName = workName;
- }
-
- public String getWorkName() {
- return workName;
- }
-}
Deleted: labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/server/contenthandler/IRuleAsset.java
===================================================================
--- labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/server/contenthandler/IRuleAsset.java 2010-05-11 18:00:13 UTC (rev 32828)
+++ labs/jbossrules/branches/drools_repo_services_diega_baunax/drools-guvnor/src/main/java/org/drools/guvnor/server/contenthandler/IRuleAsset.java 2010-05-11 18:12:21 UTC (rev 32829)
@@ -1,25 +0,0 @@
-package org.drools.guvnor.server.contenthandler;
-
-import org.drools.guvnor.server.builder.BRMSPackageBuilder;
-import org.drools.repository.AssetItem;
-
-/**
- *
- * @author Toni Rikkola
- */
-public interface IRuleAsset
- extends
- ICompilable {
-
- /**
- * This will be called when a rule asset is to render itself to DRL source.
- */
- public void assembleDRL(BRMSPackageBuilder builder,
- AssetItem asset,
- StringBuffer buf);
-
- /**
- * If the rule has DSL in it, it is presented unexpanded.
- */
- public String getRawDRL(AssetItem asset);
-}
More information about the jboss-svn-commits
mailing list