Package de.innovationgate.webgate.api

Examples of de.innovationgate.webgate.api.WGNotSupportedException


    public DatabaseInformation createDatabase(Class<? extends WGDatabaseCore> implClass, WGDatabaseServer dbServer, Map<String, String> options) throws WGAPIException {
        throw new WGNotSupportedException("Creating databases is not supported");
    }

    public List<DatabaseInformation> getAvailableDatabases(WGDatabaseServer dbServer) throws WGAPIException {
        throw new WGNotSupportedException("Retrieving databases is not supported");
    }
View Full Code Here


public class ImageScalerFactory {
   
    public static ImageScaler createImageScaler(WGACore core) throws WGNotSupportedException, ModuleInstantiationException {
        Iterator<ModuleDefinition> scalerModules = core.getModuleRegistry().getModulesForType(ImageScalerModuleType.class).values().iterator();
        if (!scalerModules.hasNext()) {
            throw new WGNotSupportedException("No image scaler implementation available");
        }
       
        ModuleDefinition scalerDef = scalerModules.next();
        ImageScaler scaler = (ImageScaler) core.getModuleRegistry().instantiate(scalerDef);
        return scaler;
View Full Code Here

    }
   
    public static MimeTypeSpecificImageScaler createMimeTypeSpecificImageScaler(WGACore core, String mimeType) throws WGNotSupportedException, ModuleInstantiationException {
        ModuleDefinition scalerDef = core.getModuleRegistry().getModuleDefinitionByKey(MimeTypeSpecificImageScalerModuleType.class, mimeType);
        if (scalerDef == null) {
            throw new WGNotSupportedException("No image scaler implementation available for mimetype " + mimeType);
        }
       
        MimeTypeSpecificImageScaler scaler = (MimeTypeSpecificImageScaler) core.getModuleRegistry().instantiate(scalerDef);
        return scaler;
    }
View Full Code Here

    }
    /* (non-Javadoc)
     * @see de.innovationgate.webgate.api.WGDatabaseCore#hasContents(de.innovationgate.webgate.api.WGStructEntry)
     */
    public int getContentCount(WGStructEntry entry) throws WGBackendException {
        throw new WGNotSupportedException("Not supported");
    }
View Full Code Here

    public Set getDeletions(Set contentKeys) throws WGAPIException {    
        return Collections.EMPTY_SET;
    }

    public List getAllContentKeys(boolean includeArchived) throws WGAPIException {
        throw new WGNotSupportedException("This method is not supported by this WGAPI implementation");
    }
View Full Code Here

    public void beginUpdate() {
     
    }

    public WGDocumentCore getStructEntryByName(String strName) throws WGAPIException {
        throw new WGNotSupportedException("This method is not supported by this WGAPI implementation");
    }
View Full Code Here

    public boolean isTemporary() throws WGAPIException {
        return true;
    }

    public boolean remove() throws WGAPIException {
        throw new WGNotSupportedException("Not Supported");
    }
View Full Code Here

    public boolean remove() throws WGAPIException {
        throw new WGNotSupportedException("Not Supported");
    }

    public boolean removeFile(String name) throws WGAPIException {
        throw new WGNotSupportedException("Not Supported");
    }
View Full Code Here

    public boolean removeFile(String name) throws WGAPIException {
        throw new WGNotSupportedException("Not Supported");
    }

    public boolean removeItem(String Name) throws WGAPIException {
        throw new WGNotSupportedException("Not Supported");
    }
View Full Code Here

    public boolean removeItem(String Name) throws WGAPIException {
        throw new WGNotSupportedException("Not Supported");
    }

    public WGDocumentCore removeRelation(String name) throws WGAPIException {
        throw new WGNotSupportedException("Not Supported");
    }
View Full Code Here

TOP

Related Classes of de.innovationgate.webgate.api.WGNotSupportedException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.