|
Author: lektran
Date: Fri Jul 2 07:40:57 2010 New Revision: 959893 URL: http://svn.apache.org/viewvc?rev=959893&view=rev Log: Deprecated ModelScreenAction and it's subclasses, decided it was best to leave the class as is and just switch the screen widget code over to using ModelWidgetAction Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java?rev=959893&r1=959892&r2=959893&view=diff ============================================================================== --- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java (original) +++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/ModelScreenAction.java Fri Jul 2 07:40:57 2010 @@ -68,6 +68,7 @@ import org.w3c.dom.Element; * Widget Library - Screen model class */ @SuppressWarnings("serial") +@Deprecated public abstract class ModelScreenAction implements Serializable { public static final String module = ModelScreenAction.class.getName(); @@ -78,8 +79,10 @@ public abstract class ModelScreenAction if (Debug.verboseOn()) Debug.logVerbose("Reading Screen action with name: " + actionElement.getNodeName(), module); } + @Deprecated public abstract void runAction(Map<String, Object> context) throws GeneralException; + @Deprecated public static List<ModelScreenAction> readSubActions(ModelScreen modelScreen, Element parentElement) { List<ModelScreenAction> actions = FastList.newInstance(); @@ -113,6 +116,7 @@ public abstract class ModelScreenAction return actions; } + @Deprecated public static void runSubActions(List<ModelScreenAction> actions, Map<String, Object> context) throws GeneralException { if (actions == null) return; @@ -122,6 +126,7 @@ public abstract class ModelScreenAction } } + @Deprecated public static class SetField extends ModelScreenAction { protected FlexibleMapAccessor<Object> field; protected FlexibleMapAccessor<Object> fromField; @@ -282,6 +287,7 @@ public abstract class ModelScreenAction } } + @Deprecated public static class PropertyMap extends ModelScreenAction { protected FlexibleStringExpander resourceExdr; protected FlexibleMapAccessor<ResourceBundleMapWrapper> mapNameAcsr; @@ -337,6 +343,7 @@ public abstract class ModelScreenAction } } + @Deprecated public static class PropertyToField extends ModelScreenAction { protected FlexibleStringExpander resourceExdr; @@ -394,6 +401,7 @@ public abstract class ModelScreenAction } } + @Deprecated public static class Script extends ModelScreenAction { protected static final Object[] EMPTY_ARGS = {}; protected String location; @@ -442,6 +450,7 @@ public abstract class ModelScreenAction } } + @Deprecated public static class Service extends ModelScreenAction { protected FlexibleStringExpander serviceNameExdr; protected FlexibleMapAccessor<Map<String, Object>> resultMapNameAcsr; @@ -519,6 +528,7 @@ public abstract class ModelScreenAction } } + @Deprecated public static class EntityOne extends ModelScreenAction { protected PrimaryKeyFinder finder; @@ -539,6 +549,7 @@ public abstract class ModelScreenAction } } + @Deprecated public static class EntityAnd extends ModelScreenAction { protected ByAndFinder finder; @@ -559,6 +570,7 @@ public abstract class ModelScreenAction } } + @Deprecated public static class EntityCondition extends ModelScreenAction { ByConditionFinder finder; @@ -579,6 +591,7 @@ public abstract class ModelScreenAction } } + @Deprecated public static class GetRelatedOne extends ModelScreenAction { protected FlexibleMapAccessor<Object> valueNameAcsr; protected FlexibleMapAccessor<Object> toValueNameAcsr; @@ -623,6 +636,7 @@ public abstract class ModelScreenAction } + @Deprecated public static class GetRelated extends ModelScreenAction { protected FlexibleMapAccessor<Object> valueNameAcsr; protected FlexibleMapAccessor<List<GenericValue>> listNameAcsr; |
| Free forum by Nabble | Edit this page |
