ColorProfileServicePOATie.java 1.89 KB
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.colorprofile;

import com.adobe.colorprofile.*;
import org.omg.CORBA.ORB;
import org.omg.PortableServer.POA;

public class ColorProfileServicePOATie
extends ColorProfileServicePOA {
    private ColorProfileServiceOperations _delegate;
    private POA _poa;

    public ColorProfileServicePOATie(ColorProfileServiceOperations delegate) {
        this._delegate = delegate;
    }

    public ColorProfileServicePOATie(ColorProfileServiceOperations delegate, POA poa) {
        this._delegate = delegate;
        this._poa = poa;
    }

    public ColorProfileService _this() {
        return ColorProfileServiceHelper.narrow(this._this_object());
    }

    public ColorProfileService _this(ORB orb) {
        return ColorProfileServiceHelper.narrow(this._this_object(orb));
    }

    public ColorProfileServiceOperations _delegate() {
        return this._delegate;
    }

    public void _delegate(ColorProfileServiceOperations delegate) {
        this._delegate = delegate;
    }

    public POA _default_POA() {
        if (this._poa != null) {
            return this._poa;
        }
        return super._default_POA();
    }

    public ProfilesInfo[] getColorProfiles(String[] fileNames, String iccColorProfileDir) throws ColorProfileFailureException {
        return this._delegate.getColorProfiles(fileNames, iccColorProfileDir);
    }

    public boolean validateUserCredentials(String userName, String domain, String password) {
        return this._delegate.validateUserCredentials(userName, domain, password);
    }

    public CSFInfo[] getCSFAndEmbeddedProfiles() throws ColorProfileFailureException {
        return this._delegate.getCSFAndEmbeddedProfiles();
    }

    public String getRegistryKeyValue(String regKey, String userName, String domain, String password) {
        return this._delegate.getRegistryKeyValue(regKey, userName, domain, password);
    }
}