Changeset 5691 for trunk/src/clients


Ignore:
Timestamp:
Aug 11, 2011, 12:45:58 PM (11 years ago)
Author:
Nicklas Nordborg
Message:

References #1593: Extension system for the core API

Fixed commented-out code. Fixed some incorrect javadoc.

Location:
trunk/src/clients/web/net/sf/basedb/clients/web/extensions
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/clients/web/net/sf/basedb/clients/web/extensions/ExtensionsControl.java

    r5617 r5691  
    509509    in the request form.
    510510   
    511     a manual scan for new/updated/deleted extensions.
    512     If <code>forceUpdate</code> is TRUE all extensions are updated,
    513     which means that the definitions are re-loaded and resource
    514     files are extracted even if nothing has changed.
    515    
    516     @param forceUpdate TRUE to force an update for unmodified
    517       extensions, FALSE otherwise
     511    @param request The HTTP request with parameters
    518512    @throws PermissionDeniedException If the logged in user doesn't
    519513      have WRITE permission
  • trunk/src/clients/web/net/sf/basedb/clients/web/extensions/JspContext.java

    r5689 r5691  
    146146  public String getHome(Extension extension)
    147147  {
    148     // TODO (#1593)
    149     //ExtensionsFile file = directory.getFileByExtensionId(extension.getId());
    150     //return file == null ? null : directory.getResourcesUrl(file);
    151     return null;
     148    return ExtensionsControl.getHomeUrl(extension.getId());
    152149  }
    153150 
  • trunk/src/clients/web/net/sf/basedb/clients/web/extensions/UninstallFilter.java

    r5616 r5691  
     1/**
     2  $Id $
     3
     4  Copyright (C) 2011 Nicklas Nordborg
     5
     6  This file is part of BASE - BioArray Software Environment.
     7  Available at http://base.thep.lu.se/
     8
     9  BASE is free software; you can redistribute it and/or
     10  modify it under the terms of the GNU General Public License
     11  as published by the Free Software Foundation; either version 3
     12  of the License, or (at your option) any later version.
     13
     14  BASE is distributed in the hope that it will be useful,
     15  but WITHOUT ANY WARRANTY; without even the implied warranty of
     16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     17  GNU General Public License for more details.
     18
     19  You should have received a copy of the GNU General Public License
     20  along with BASE. If not, see <http://www.gnu.org/licenses/>.
     21*/
    122package net.sf.basedb.clients.web.extensions;
    223
     
    728import net.sf.basedb.util.filter.Filter;
    829
     30/**
     31  Filter implementation that selects only those extensions that
     32  was selected for uninstallation by the user in the gui. Eg. if the request
     33  parameter <i>filename</i>.uninstall is set.
     34  @author Nicklas
     35  @since 3.0
     36  @base.modified $Date $
     37*/
    938public class UninstallFilter
    1039  implements Filter<ExtensionsFile>
Note: See TracChangeset for help on using the changeset viewer.