incubator-kalumet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1379410 [1/3] - in /incubator/kalumet/trunk/kalumet-modules: common/src/main/java/org/apache/kalumet/model/ console/src/main/java/org/apache/kalumet/console/app/
Date Fri, 31 Aug 2012 10:36:19 GMT
Author: jbonofre
Date: Fri Aug 31 10:36:18 2012
New Revision: 1379410

URL: http://svn.apache.org/viewvc?rev=1379410&view=rev
Log:
Fix JEE applications model handling

Modified:
    incubator/kalumet/trunk/kalumet-modules/common/src/main/java/org/apache/kalumet/model/JEEApplicationServer.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationArchiveWindow.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationArchivesPane.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationConfigurationFileWindow.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationConfigurationFilesPane.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationContentManagerWindow.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationContentManagersPane.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationDatabaseSqlScriptWindow.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationDatabaseWindow.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationDatabasesPane.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationServerCachesPane.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationServerWindow.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationServersPane.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationWindow.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationsPane.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ConnectionFactoriesPane.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ConnectionPoolWindow.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ConnectionPoolsPane.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/DataSourcesPane.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/EnvironmentWindow.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/JmsQueuesPane.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/JmsServerWindow.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/JmsServersPane.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/JmsTopicsPane.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/NameSpaceBindingsPane.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/SecurityPane.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/SharedLibrariesPane.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/SoftwareCommandWindow.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/SoftwareConfigurationFileWindow.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/SoftwareDatabaseSqlScriptWindow.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/SoftwareDatabaseWindow.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/SoftwareLocationWindow.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/SoftwareWindow.java
    incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/SoftwaresPane.java

Modified: incubator/kalumet/trunk/kalumet-modules/common/src/main/java/org/apache/kalumet/model/JEEApplicationServer.java
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/kalumet-modules/common/src/main/java/org/apache/kalumet/model/JEEApplicationServer.java?rev=1379410&r1=1379409&r2=1379410&view=diff
==============================================================================
--- incubator/kalumet/trunk/kalumet-modules/common/src/main/java/org/apache/kalumet/model/JEEApplicationServer.java (original)
+++ incubator/kalumet/trunk/kalumet-modules/common/src/main/java/org/apache/kalumet/model/JEEApplicationServer.java Fri Aug 31 10:36:18 2012
@@ -869,8 +869,8 @@ public class JEEApplicationServer
       sharedlibraries.appendChild( sharedLibrary.toDOMElement( document ) );
     }
     element.appendChild( sharedlibraries );
-    // jeeApplications
-    ElementImpl applications = new ElementImpl( document, "jeeApplications" );
+    // jeeapplications
+    ElementImpl applications = new ElementImpl( document, "jeeapplications" );
     for ( Iterator applicationIterator = this.getJEEApplications().iterator(); applicationIterator.hasNext(); )
     {
       JEEApplication jeeApplication = (JEEApplication) applicationIterator.next();

Modified: incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationArchiveWindow.java
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationArchiveWindow.java?rev=1379410&r1=1379409&r2=1379410&view=diff
==============================================================================
--- incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationArchiveWindow.java (original)
+++ incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationArchiveWindow.java Fri Aug 31 10:36:18 2012
@@ -218,7 +218,7 @@ public class ApplicationArchiveWindow
       }
       // check if the user can do it
       if ( !parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -263,7 +263,7 @@ public class ApplicationArchiveWindow
       }
       // check if the user can do it
       if ( !parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -622,7 +622,7 @@ public class ApplicationArchiveWindow
     copyButton.addActionListener( copy );
     controlRow.add( copyButton );
     if ( parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-      || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+      || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       // add the paste button
       Button pasteButton = new Button( Messages.getString( "paste" ), Styles.PAGE_PASTE );
@@ -645,7 +645,7 @@ public class ApplicationArchiveWindow
       controlRow.add( updateButton );
     }
     if ( parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-      || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+      || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       // add the apply button
       Button applyButton = new Button( Messages.getString( "apply" ), Styles.ACCEPT );

Modified: incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationArchivesPane.java
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationArchivesPane.java?rev=1379410&r1=1379409&r2=1379410&view=diff
==============================================================================
--- incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationArchivesPane.java (original)
+++ incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationArchivesPane.java Fri Aug 31 10:36:18 2012
@@ -161,7 +161,7 @@ public class ApplicationArchivesPane
       }
       // check if the user can do it
       if ( !parent.getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -212,7 +212,7 @@ public class ApplicationArchivesPane
       }
       // check if the user can do it
       if ( !parent.getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -263,7 +263,7 @@ public class ApplicationArchivesPane
       }
       // check if the user can do it
       if ( !parent.getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -503,7 +503,7 @@ public class ApplicationArchivesPane
       }
       // check if the user can do it
       if ( !parent.getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -548,7 +548,7 @@ public class ApplicationArchivesPane
       }
       // check if the user can do it
       if ( !parent.getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -600,7 +600,7 @@ public class ApplicationArchivesPane
 
     // add the create button
     if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-      || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+      || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       Button createButton = new Button( Messages.getString( "archive.add" ), Styles.ADD );
       createButton.addActionListener( create );
@@ -672,7 +672,7 @@ public class ApplicationArchivesPane
         activeButton.setToolTipText( Messages.getString( "switch.enable" ) );
       }
       if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         activeButton.setActionCommand( archive.getName() );
         activeButton.addActionListener( toggleActive );
@@ -691,14 +691,14 @@ public class ApplicationArchivesPane
         blockerButton.setToolTipText( Messages.getString( "switch.blocker" ) );
       }
       if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         blockerButton.setActionCommand( archive.getName() );
         blockerButton.addActionListener( toggleBlocker );
       }
       row.add( blockerButton );
       if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         // up
         Button upButton = new Button( Styles.ARROW_UP );
@@ -730,7 +730,7 @@ public class ApplicationArchivesPane
         row.add( updateButton );
       }
       if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         // delete
         Button deleteButton = new Button( Styles.DELETE );

Modified: incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationConfigurationFileWindow.java
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationConfigurationFileWindow.java?rev=1379410&r1=1379409&r2=1379410&view=diff
==============================================================================
--- incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationConfigurationFileWindow.java (original)
+++ incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationConfigurationFileWindow.java Fri Aug 31 10:36:18 2012
@@ -215,7 +215,7 @@ public class ApplicationConfigurationFil
       }
       // check if the user can do it
       if ( !parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -501,7 +501,7 @@ public class ApplicationConfigurationFil
       }
       // check if the user can do it
       if ( !parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -544,7 +544,7 @@ public class ApplicationConfigurationFil
       }
       // check if the user can do it
       if ( !parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -620,7 +620,7 @@ public class ApplicationConfigurationFil
       }
       // check if the user can do it
       if ( !parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -797,7 +797,7 @@ public class ApplicationConfigurationFil
     copyButton.addActionListener( copy );
     controlRow.add( copyButton );
     if ( parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-      || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+      || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       // add the paste button
       Button pasteButton = new Button( Messages.getString( "paste" ), Styles.PAGE_PASTE );
@@ -820,7 +820,7 @@ public class ApplicationConfigurationFil
       controlRow.add( updateButton );
     }
     if ( parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-      || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+      || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       // add the apply button
       Button applyButton = new Button( Messages.getString( "apply" ), Styles.ACCEPT );
@@ -1005,7 +1005,7 @@ public class ApplicationConfigurationFil
       row.add( copyButton );
       // delete / edit
       if ( parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-        || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         // edit
         Button editButton = new Button( Styles.ACCEPT );
@@ -1044,7 +1044,7 @@ public class ApplicationConfigurationFil
       mappingsGrid.add( mappingValueField );
     }
     if ( parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-      || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+      || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       // row
       Row row = new Row();

Modified: incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationConfigurationFilesPane.java
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationConfigurationFilesPane.java?rev=1379410&r1=1379409&r2=1379410&view=diff
==============================================================================
--- incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationConfigurationFilesPane.java (original)
+++ incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationConfigurationFilesPane.java Fri Aug 31 10:36:18 2012
@@ -160,7 +160,7 @@ public class ApplicationConfigurationFil
       }
       // check if the user can do it
       if ( !parent.getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -212,7 +212,7 @@ public class ApplicationConfigurationFil
       }
       // check if the user can do it
       if ( !parent.getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -264,7 +264,7 @@ public class ApplicationConfigurationFil
       }
       // check if the user can do it
       if ( !parent.getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -364,7 +364,7 @@ public class ApplicationConfigurationFil
       }
       // check if the user can do it
       if ( !parent.getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -410,7 +410,7 @@ public class ApplicationConfigurationFil
       }
       // check if the user can do it
       if ( !parent.getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -601,7 +601,7 @@ public class ApplicationConfigurationFil
 
     // add the create button
     if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-      || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+      || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       Button createButton = new Button( Messages.getString( "configurationfile.add" ), Styles.ADD );
       createButton.addActionListener( create );
@@ -669,7 +669,7 @@ public class ApplicationConfigurationFil
         activeButton.setToolTipText( Messages.getString( "switch.enable" ) );
       }
       if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         activeButton.setActionCommand( configurationFile.getName() );
         activeButton.addActionListener( toggleActive );
@@ -688,7 +688,7 @@ public class ApplicationConfigurationFil
         blockerButton.setToolTipText( Messages.getString( "switch.blocker" ) );
       }
       if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         blockerButton.setActionCommand( configurationFile.getName() );
         blockerButton.addActionListener( toggleBlocker );
@@ -698,7 +698,7 @@ public class ApplicationConfigurationFil
       Button upButton = new Button( Styles.ARROW_UP );
       upButton.setToolTipText( Messages.getString( "up" ) );
       if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         upButton.setActionCommand( configurationFile.getName() );
         upButton.addActionListener( up );
@@ -708,7 +708,7 @@ public class ApplicationConfigurationFil
       Button downButton = new Button( Styles.ARROW_DOWN );
       downButton.setToolTipText( Messages.getString( "down" ) );
       if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         downButton.setActionCommand( configurationFile.getName() );
         downButton.addActionListener( down );
@@ -732,7 +732,7 @@ public class ApplicationConfigurationFil
       }
       // delete
       if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         Button deleteButton = new Button( Styles.DELETE );
         deleteButton.setToolTipText( Messages.getString( "delete" ) );

Modified: incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationContentManagerWindow.java
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationContentManagerWindow.java?rev=1379410&r1=1379409&r2=1379410&view=diff
==============================================================================
--- incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationContentManagerWindow.java (original)
+++ incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationContentManagerWindow.java Fri Aug 31 10:36:18 2012
@@ -156,7 +156,7 @@ public class ApplicationContentManagerWi
       }
       // check if the user can do it
       if ( !parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -202,7 +202,7 @@ public class ApplicationContentManagerWi
       }
       // check if the user can do it
       if ( !parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -314,7 +314,7 @@ public class ApplicationContentManagerWi
       }
       // check if the user can do it
       if ( !parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -358,7 +358,7 @@ public class ApplicationContentManagerWi
       }
       // check if the user can do it
       if ( !parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -436,7 +436,7 @@ public class ApplicationContentManagerWi
       }
       // check if the user can do it
       if ( !parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -699,7 +699,7 @@ public class ApplicationContentManagerWi
     copyButton.addActionListener( copy );
     controlRow.add( copyButton );
     if ( parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-      || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+      || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       // add the paste button
       Button pasteButton = new Button( Messages.getString( "paste" ), Styles.PAGE_PASTE );
@@ -717,7 +717,7 @@ public class ApplicationContentManagerWi
       controlRow.add( updateButton );
     }
     if ( parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-      || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+      || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       // add the apply button
       Button applyButton = new Button( Messages.getString( "apply" ), Styles.ACCEPT );
@@ -890,7 +890,7 @@ public class ApplicationContentManagerWi
       row.add( copyButton );
       // property delete / edit
       if ( parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-        || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         // property edit
         Button editButton = new Button( Styles.ACCEPT );
@@ -928,7 +928,7 @@ public class ApplicationContentManagerWi
     }
     // add the adding property row
     if ( parent.getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-      || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+      || parent.getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       // row
       Row row = new Row();

Modified: incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationContentManagersPane.java
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationContentManagersPane.java?rev=1379410&r1=1379409&r2=1379410&view=diff
==============================================================================
--- incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationContentManagersPane.java (original)
+++ incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationContentManagersPane.java Fri Aug 31 10:36:18 2012
@@ -104,7 +104,7 @@ public class ApplicationContentManagersP
       }
       // check if the user can do it
       if ( !parent.getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -156,7 +156,7 @@ public class ApplicationContentManagersP
       }
       // check if the user can do it
       if ( !parent.getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -210,7 +210,7 @@ public class ApplicationContentManagersP
       }
       // check if the user can do it
       if ( !parent.getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -398,7 +398,7 @@ public class ApplicationContentManagersP
 
     // add the create button
     if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-      || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+      || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       Button createButton = new Button( Messages.getString( "contentmanager.add" ), Styles.ADD );
       createButton.addActionListener( create );
@@ -468,7 +468,7 @@ public class ApplicationContentManagersP
         activeButton.setToolTipText( Messages.getString( "switch.enable" ) );
       }
       if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         activeButton.setActionCommand( contentManager.getName() );
         activeButton.addActionListener( toggleActive );
@@ -487,7 +487,7 @@ public class ApplicationContentManagersP
         blockerButton.setToolTipText( Messages.getString( "switch.blocker" ) );
       }
       if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         blockerButton.setActionCommand( contentManager.getName() );
         blockerButton.addActionListener( toggleBlocker );
@@ -509,7 +509,7 @@ public class ApplicationContentManagersP
       }
       // delete
       if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         Button deleteButton = new Button( Styles.DELETE );
         deleteButton.setToolTipText( Messages.getString( "delete" ) );

Modified: incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationDatabaseSqlScriptWindow.java
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationDatabaseSqlScriptWindow.java?rev=1379410&r1=1379409&r2=1379410&view=diff
==============================================================================
--- incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationDatabaseSqlScriptWindow.java (original)
+++ incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationDatabaseSqlScriptWindow.java Fri Aug 31 10:36:18 2012
@@ -107,7 +107,7 @@ public class ApplicationDatabaseSqlScrip
       }
       // check if the user can do it
       if ( !parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -152,7 +152,7 @@ public class ApplicationDatabaseSqlScrip
       }
       // check if the user can do it
       if ( !parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -267,7 +267,7 @@ public class ApplicationDatabaseSqlScrip
       }
       // check if the user can do it
       if ( !parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -310,7 +310,7 @@ public class ApplicationDatabaseSqlScrip
       }
       // check if the user can do it
       if ( !parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -400,7 +400,7 @@ public class ApplicationDatabaseSqlScrip
       }
       // check if the user can do it
       if ( !parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -576,7 +576,7 @@ public class ApplicationDatabaseSqlScrip
     copyButton.addActionListener( copy );
     controlRow.add( copyButton );
     if ( parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().adminPermission
-      || parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+      || parent.getParentPane().getParentPane().getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       // add the paste button
       Button pasteButton = new Button( Messages.getString( "paste" ), Styles.PAGE_PASTE );
@@ -742,7 +742,7 @@ public class ApplicationDatabaseSqlScrip
       copyButton.addActionListener( copyMapping );
       row.add( copyButton );
       // mapping delete / edit
-      if ( parent.getEnvironmentWindow().adminPermission || parent.getEnvironmentWindow().jeeApplicationsPermission )
+      if ( parent.getEnvironmentWindow().adminPermission || parent.getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         // mapping delete
         Button deleteButton = new Button( Styles.DELETE );
@@ -781,7 +781,7 @@ public class ApplicationDatabaseSqlScrip
       mappingsGrid.add( mappingValueField );
     }
     // add a new mapping
-    if ( parent.getEnvironmentWindow().adminPermission || parent.getEnvironmentWindow().jeeApplicationsPermission )
+    if ( parent.getEnvironmentWindow().adminPermission || parent.getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       // row
       Row row = new Row();

Modified: incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationDatabaseWindow.java
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationDatabaseWindow.java?rev=1379410&r1=1379409&r2=1379410&view=diff
==============================================================================
--- incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationDatabaseWindow.java (original)
+++ incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationDatabaseWindow.java Fri Aug 31 10:36:18 2012
@@ -173,7 +173,7 @@ public class ApplicationDatabaseWindow
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -346,7 +346,7 @@ public class ApplicationDatabaseWindow
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -396,7 +396,7 @@ public class ApplicationDatabaseWindow
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -446,7 +446,7 @@ public class ApplicationDatabaseWindow
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -496,7 +496,7 @@ public class ApplicationDatabaseWindow
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -704,7 +704,7 @@ public class ApplicationDatabaseWindow
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -748,7 +748,7 @@ public class ApplicationDatabaseWindow
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -836,7 +836,7 @@ public class ApplicationDatabaseWindow
     copyButton.setStyleName( "control" );
     copyButton.addActionListener( copy );
     controlRow.add( copyButton );
-    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsPermission )
+    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       // add the paste button
       Button pasteButton = new Button( Messages.getString( "paste" ), Styles.PAGE_PASTE );
@@ -852,7 +852,7 @@ public class ApplicationDatabaseWindow
       updateButton.addActionListener( update );
       controlRow.add( updateButton );
     }
-    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsPermission )
+    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       // add the apply button
       Button applyButton = new Button( Messages.getString( "apply" ), Styles.ACCEPT );
@@ -1128,7 +1128,7 @@ public class ApplicationDatabaseWindow
         activeButton = new Button( Styles.LIGHTBULB_OFF );
         activeButton.setToolTipText( Messages.getString( "switch.enable" ) );
       }
-      if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsPermission )
+      if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         activeButton.setActionCommand( sqlScript.getName() );
         activeButton.addActionListener( toggleActiveSqlScript );
@@ -1146,7 +1146,7 @@ public class ApplicationDatabaseWindow
         blockerButton = new Button( Styles.PLUGIN_DISABLED );
         blockerButton.setToolTipText( Messages.getString( "switch.blocker" ) );
       }
-      if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsPermission )
+      if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         blockerButton.setActionCommand( sqlScript.getName() );
         blockerButton.addActionListener( toggleBlockerSqlScript );
@@ -1164,14 +1164,14 @@ public class ApplicationDatabaseWindow
         forceButton = new Button( Styles.DATABASE );
         forceButton.setToolTipText( Messages.getString( "switch.force" ) );
       }
-      if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsPermission )
+      if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         forceButton.setActionCommand( sqlScript.getName() );
         forceButton.addActionListener( toggleForceSqlScript );
       }
       row.add( forceButton );
       // up / down / delete
-      if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsPermission )
+      if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         // up button
         Button upButton = new Button( Styles.ARROW_UP );

Modified: incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationDatabasesPane.java
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationDatabasesPane.java?rev=1379410&r1=1379409&r2=1379410&view=diff
==============================================================================
--- incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationDatabasesPane.java (original)
+++ incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationDatabasesPane.java Fri Aug 31 10:36:18 2012
@@ -104,7 +104,7 @@ public class ApplicationDatabasesPane
       }
       // check if the user can do it
       if ( !parent.getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -153,7 +153,7 @@ public class ApplicationDatabasesPane
       }
       // check if the user can do it
       if ( !parent.getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -204,7 +204,7 @@ public class ApplicationDatabasesPane
       }
       // check if the user can do it
       if ( !parent.getParentPane().getEnvironmentWindow().adminPermission
-        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        && !parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getParentPane().getEnvironmentWindow().getEnvironmentName() );
@@ -387,7 +387,7 @@ public class ApplicationDatabasesPane
 
     // add the create button
     if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-      || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+      || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       Button createButton = new Button( Messages.getString( "database.add" ), Styles.ADD );
       createButton.addActionListener( create );
@@ -471,7 +471,7 @@ public class ApplicationDatabasesPane
         activeButton.setToolTipText( Messages.getString( "switch.enable" ) );
       }
       if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         activeButton.setActionCommand( database.getName() );
         activeButton.addActionListener( toggleActive );
@@ -490,7 +490,7 @@ public class ApplicationDatabasesPane
         blockerButton.setToolTipText( Messages.getString( "switch.blocker" ) );
       }
       if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         blockerButton.setActionCommand( database.getName() );
         blockerButton.addActionListener( toggleBlocker );
@@ -508,7 +508,7 @@ public class ApplicationDatabasesPane
       }
       // delete
       if ( parent.getParentPane().getEnvironmentWindow().adminPermission
-        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsPermission )
+        || parent.getParentPane().getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         Button deleteButton = new Button( Styles.DELETE );
         deleteButton.setToolTipText( Messages.getString( "delete" ) );

Modified: incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationServerCachesPane.java
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationServerCachesPane.java?rev=1379410&r1=1379409&r2=1379410&view=diff
==============================================================================
--- incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationServerCachesPane.java (original)
+++ incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationServerCachesPane.java Fri Aug 31 10:36:18 2012
@@ -59,7 +59,7 @@ public class ApplicationServerCachesPane
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeServersPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationServersChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restrictied" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -110,7 +110,7 @@ public class ApplicationServerCachesPane
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeServersPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationServersChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -177,7 +177,7 @@ public class ApplicationServerCachesPane
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeServersPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationServersChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -308,7 +308,7 @@ public class ApplicationServerCachesPane
       copyButton.addActionListener( copy );
       row.add( copyButton );
       // delete / edit
-      if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeServersPermission )
+      if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationServersChangePermission)
       {
         // edit
         Button editButton = new Button( Styles.ACCEPT );
@@ -333,7 +333,7 @@ public class ApplicationServerCachesPane
       grid.add( cachePathField );
     }
     // add cache adding row
-    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeServersPermission )
+    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationServersChangePermission)
     {
       // row
       Row row = new Row();

Modified: incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationServerWindow.java
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationServerWindow.java?rev=1379410&r1=1379409&r2=1379410&view=diff
==============================================================================
--- incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationServerWindow.java (original)
+++ incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationServerWindow.java Fri Aug 31 10:36:18 2012
@@ -256,7 +256,7 @@ public class ApplicationServerWindow
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeServersPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationServersChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -416,7 +416,7 @@ public class ApplicationServerWindow
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission || !getEnvironmentWindow().jeeServersPermission )
+      if ( !getEnvironmentWindow().adminPermission || !getEnvironmentWindow().jeeApplicationServersChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -555,7 +555,7 @@ public class ApplicationServerWindow
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeServersUpdatePermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationServersUpdatePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -632,7 +632,7 @@ public class ApplicationServerWindow
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeServersControlPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationServersControlPermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -709,7 +709,7 @@ public class ApplicationServerWindow
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeServersControlPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationServersControlPermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -830,7 +830,7 @@ public class ApplicationServerWindow
     copyButton.setStyleName( "control" );
     copyButton.addActionListener( copy );
     controlRow.add( copyButton );
-    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeServersPermission )
+    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationServersChangePermission)
     {
       // add the paste button
       Button pasteButton = new Button( Messages.getString( "paste" ), Styles.PAGE_PASTE );
@@ -848,7 +848,7 @@ public class ApplicationServerWindow
     statusButton.setStyleName( "control" );
     statusButton.addActionListener( status );
     controlRow.add( statusButton );
-    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeServersControlPermission )
+    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationServersControlPermission)
     {
       // add the stop button
       Button stopButton = new Button( Messages.getString( "stop" ), Styles.FLAG_RED );
@@ -861,7 +861,7 @@ public class ApplicationServerWindow
       startButton.addActionListener( start );
       controlRow.add( startButton );
     }
-    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeServersUpdatePermission )
+    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationServersUpdatePermission)
     {
       // add the update button
       Button updateButton = new Button( Messages.getString( "update" ), Styles.COG );
@@ -869,7 +869,7 @@ public class ApplicationServerWindow
       updateButton.addActionListener( update );
       controlRow.add( updateButton );
     }
-    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeServersPermission )
+    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationServersChangePermission)
     {
       // add the delete button
       Button deleteButton = new Button( Messages.getString( "delete" ), Styles.DELETE );

Modified: incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationServersPane.java
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationServersPane.java?rev=1379410&r1=1379409&r2=1379410&view=diff
==============================================================================
--- incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationServersPane.java (original)
+++ incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationServersPane.java Fri Aug 31 10:36:18 2012
@@ -232,7 +232,7 @@ public class ApplicationServersPane
         return;
       }
       // check if the user can do it
-      if ( !parent.adminPermission && !parent.jeeServersUpdatePermission )
+      if ( !parent.adminPermission && !parent.jeeApplicationServersUpdatePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getEnvironmentName() );
@@ -307,7 +307,7 @@ public class ApplicationServersPane
         return;
       }
       // check if the user can do it
-      if ( !parent.adminPermission && !parent.jeeServersControlPermission )
+      if ( !parent.adminPermission && !parent.jeeApplicationServersControlPermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getEnvironmentName() );
@@ -382,7 +382,7 @@ public class ApplicationServersPane
         return;
       }
       // check if the user can do it
-      if ( !parent.adminPermission && !parent.jeeServersControlPermission )
+      if ( !parent.adminPermission && !parent.jeeApplicationServersControlPermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getEnvironmentName() );
@@ -515,7 +515,7 @@ public class ApplicationServersPane
         return;
       }
       // check if the user can do it
-      if ( !parent.adminPermission && !parent.jeeServersPermission )
+      if ( !parent.adminPermission && !parent.jeeApplicationServersChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getEnvironmentName() );
@@ -610,7 +610,7 @@ public class ApplicationServersPane
         return;
       }
       // check if the user can do it
-      if ( !parent.adminPermission && !parent.jeeServersPermission )
+      if ( !parent.adminPermission && !parent.jeeApplicationServersChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getEnvironmentName() );
@@ -658,7 +658,7 @@ public class ApplicationServersPane
         return;
       }
       // check if the user can do it
-      if ( !parent.adminPermission && !parent.jeeServersPermission )
+      if ( !parent.adminPermission && !parent.jeeApplicationServersChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             parent.getEnvironmentName() );
@@ -725,7 +725,7 @@ public class ApplicationServersPane
     grid.add( topologyField );
 
     // add the create application server button
-    if ( parent.adminPermission || parent.jeeServersPermission )
+    if ( parent.adminPermission || parent.jeeApplicationServersChangePermission)
     {
       Button createButton = new Button( Messages.getString( "applicationserver.add" ), Styles.ADD );
       createButton.addActionListener( create );
@@ -808,7 +808,7 @@ public class ApplicationServersPane
         activeButton = new Button( Styles.LIGHTBULB_OFF );
         activeButton.setToolTipText( Messages.getString( "switch.enable" ) );
       }
-      if ( parent.adminPermission || parent.jeeServersPermission )
+      if ( parent.adminPermission || parent.jeeApplicationServersChangePermission)
       {
         activeButton.setActionCommand( server.getName() );
         activeButton.addActionListener( toggleActive );
@@ -826,7 +826,7 @@ public class ApplicationServersPane
         blockerButton = new Button( Styles.PLUGIN_DISABLED );
         blockerButton.setToolTipText( Messages.getString( "switch.blocker" ) );
       }
-      if ( parent.adminPermission || parent.jeeServersPermission )
+      if ( parent.adminPermission || parent.jeeApplicationServersChangePermission)
       {
         blockerButton.setActionCommand( server.getName() );
         blockerButton.addActionListener( toggleBlocker );
@@ -838,7 +838,7 @@ public class ApplicationServersPane
       statusButton.setActionCommand( server.getName() );
       statusButton.addActionListener( status );
       row.add( statusButton );
-      if ( parent.adminPermission || parent.jeeServersControlPermission )
+      if ( parent.adminPermission || parent.jeeApplicationServersControlPermission)
       {
         // stop button
         Button stopButton = new Button( Styles.FLAG_RED );
@@ -853,7 +853,7 @@ public class ApplicationServersPane
         startButton.addActionListener( start );
         row.add( startButton );
       }
-      if ( parent.adminPermission || parent.jeeServersUpdatePermission )
+      if ( parent.adminPermission || parent.jeeApplicationServersUpdatePermission)
       {
         // update button
         Button updateButton = new Button( Styles.COG );
@@ -863,7 +863,7 @@ public class ApplicationServersPane
         row.add( updateButton );
       }
       // delete button
-      if ( parent.adminPermission || parent.jeeServersPermission )
+      if ( parent.adminPermission || parent.jeeApplicationServersChangePermission)
       {
         Button deleteButton = new Button( Styles.DELETE );
         deleteButton.setToolTipText( Messages.getString( "delete" ) );

Modified: incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationWindow.java
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationWindow.java?rev=1379410&r1=1379409&r2=1379410&view=diff
==============================================================================
--- incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationWindow.java (original)
+++ incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationWindow.java Fri Aug 31 10:36:18 2012
@@ -138,7 +138,7 @@ public class ApplicationWindow
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -182,7 +182,7 @@ public class ApplicationWindow
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -444,7 +444,7 @@ public class ApplicationWindow
     copyButton.setStyleName( "control" );
     copyButton.addActionListener( copy );
     controlRow.add( copyButton );
-    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsPermission )
+    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       // add the paste button
       Button pasteButton = new Button( Messages.getString( "paste" ), Styles.PAGE_PASTE );
@@ -460,7 +460,7 @@ public class ApplicationWindow
       updateButton.addActionListener( update );
       controlRow.add( updateButton );
     }
-    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsPermission )
+    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       // add the apply button
       Button applyButton = new Button( Messages.getString( "apply" ), Styles.ACCEPT );

Modified: incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationsPane.java
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationsPane.java?rev=1379410&r1=1379409&r2=1379410&view=diff
==============================================================================
--- incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationsPane.java (original)
+++ incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ApplicationsPane.java Fri Aug 31 10:36:18 2012
@@ -120,7 +120,7 @@ public class ApplicationsPane
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -169,7 +169,7 @@ public class ApplicationsPane
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -218,7 +218,7 @@ public class ApplicationsPane
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -295,7 +295,7 @@ public class ApplicationsPane
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -349,7 +349,7 @@ public class ApplicationsPane
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -428,7 +428,7 @@ public class ApplicationsPane
         return;
       }
       // check if the user can do it
-      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsPermission )
+      if ( !getEnvironmentWindow().adminPermission && !getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironmentWindow().getEnvironmentName() );
@@ -628,7 +628,7 @@ public class ApplicationsPane
     }
 
     // add the create button
-    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsPermission )
+    if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsChangePermission)
     {
       Button createButton = new Button( Messages.getString( "application.add" ), Styles.ADD );
       createButton.addActionListener( create );
@@ -736,7 +736,7 @@ public class ApplicationsPane
         activeButton = new Button( Styles.LIGHTBULB_OFF );
         activeButton.setToolTipText( Messages.getString( "switch.enable" ) );
       }
-      if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsPermission )
+      if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         activeButton.setActionCommand( application.getName() );
         activeButton.addActionListener( toggleActive );
@@ -754,13 +754,13 @@ public class ApplicationsPane
         blockerButton = new Button( Styles.PLUGIN_DISABLED );
         blockerButton.setToolTipText( Messages.getString( "switch.blocker" ) );
       }
-      if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsPermission )
+      if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         blockerButton.setActionCommand( application.getName() );
         blockerButton.addActionListener( toggleBlocker );
       }
       row.add( blockerButton );
-      if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsPermission )
+      if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         // up
         Button upButton = new Button( Styles.ARROW_UP );
@@ -784,7 +784,7 @@ public class ApplicationsPane
         updateButton.addActionListener( update );
         row.add( updateButton );
       }
-      if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsPermission )
+      if ( getEnvironmentWindow().adminPermission || getEnvironmentWindow().jeeApplicationsChangePermission)
       {
         // apply
         Button applyButton = new Button( Styles.ACCEPT );

Modified: incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ConnectionFactoriesPane.java
URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ConnectionFactoriesPane.java?rev=1379410&r1=1379409&r2=1379410&view=diff
==============================================================================
--- incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ConnectionFactoriesPane.java (original)
+++ incubator/kalumet/trunk/kalumet-modules/console/src/main/java/org/apache/kalumet/console/app/ConnectionFactoriesPane.java Fri Aug 31 10:36:18 2012
@@ -177,7 +177,7 @@ public class ConnectionFactoriesPane
         return;
       }
       // check if the user can do it
-      if ( !getEnvironementWindow().adminPermission && !getEnvironementWindow().jeeResourcesPermission )
+      if ( !getEnvironementWindow().adminPermission && !getEnvironementWindow().jeeResourcesChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restrictied" ),
                                                                             getEnvironementWindow().getEnvironmentName() );
@@ -245,7 +245,7 @@ public class ConnectionFactoriesPane
         return;
       }
       // check if the user can do it
-      if ( !getEnvironementWindow().adminPermission && !getEnvironementWindow().jeeResourcesPermission )
+      if ( !getEnvironementWindow().adminPermission && !getEnvironementWindow().jeeResourcesChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironementWindow().getEnvironmentName() );
@@ -301,7 +301,7 @@ public class ConnectionFactoriesPane
         return;
       }
       // check if the user can do it
-      if ( !getEnvironementWindow().adminPermission && !getEnvironementWindow().jeeResourcesPermission )
+      if ( !getEnvironementWindow().adminPermission && !getEnvironementWindow().jeeResourcesChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironementWindow().getEnvironmentName() );
@@ -355,7 +355,7 @@ public class ConnectionFactoriesPane
         return;
       }
       // check if the user can do it
-      if ( !getEnvironementWindow().adminPermission && !getEnvironementWindow().jeeResourcesPermission )
+      if ( !getEnvironementWindow().adminPermission && !getEnvironementWindow().jeeResourcesChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironementWindow().getEnvironmentName() );
@@ -405,7 +405,7 @@ public class ConnectionFactoriesPane
         return;
       }
       // check if the user can do it
-      if ( !getEnvironementWindow().adminPermission && !getEnvironementWindow().jeeResourcesPermission )
+      if ( !getEnvironementWindow().adminPermission && !getEnvironementWindow().jeeResourcesChangePermission)
       {
         KalumetConsoleApplication.getApplication().getLogPane().addWarning( Messages.getString( "action.restricted" ),
                                                                             getEnvironementWindow().getEnvironmentName() );
@@ -800,7 +800,7 @@ public class ConnectionFactoriesPane
         activeButton = new Button( Styles.LIGHTBULB_OFF );
         activeButton.setToolTipText( Messages.getString( "switch.enable" ) );
       }
-      if ( getEnvironementWindow().adminPermission || getEnvironementWindow().jeeResourcesPermission )
+      if ( getEnvironementWindow().adminPermission || getEnvironementWindow().jeeResourcesChangePermission)
       {
         activeButton.setActionCommand( connectionFactory.getName() );
         activeButton.addActionListener( toggleActive );
@@ -818,7 +818,7 @@ public class ConnectionFactoriesPane
         blockerButton = new Button( Styles.PLUGIN_DISABLED );
         blockerButton.setToolTipText( Messages.getString( "switch.blocker" ) );
       }
-      if ( getEnvironementWindow().adminPermission || getEnvironementWindow().jeeResourcesPermission )
+      if ( getEnvironementWindow().adminPermission || getEnvironementWindow().jeeResourcesChangePermission)
       {
         blockerButton.setActionCommand( connectionFactory.getName() );
         blockerButton.addActionListener( toggleBlocker );
@@ -839,7 +839,7 @@ public class ConnectionFactoriesPane
         updateButton.addActionListener( update );
         row.add( updateButton );
       }
-      if ( getEnvironementWindow().adminPermission || getEnvironementWindow().jeeResourcesPermission )
+      if ( getEnvironementWindow().adminPermission || getEnvironementWindow().jeeResourcesChangePermission)
       {
         // edit
         Button editButton = new Button( Styles.ACCEPT );
@@ -865,7 +865,7 @@ public class ConnectionFactoriesPane
     }
 
     // add the blank row to create a new JMS connection factory
-    if ( getEnvironementWindow().adminPermission || getEnvironementWindow().jeeResourcesPermission )
+    if ( getEnvironementWindow().adminPermission || getEnvironementWindow().jeeResourcesChangePermission)
     {
       // row
       Row row = new Row();



Mime
View raw message