Example usage for com.liferay.portal.kernel.util ProxyUtil newProxyInstance

List of usage examples for com.liferay.portal.kernel.util ProxyUtil newProxyInstance

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.util ProxyUtil newProxyInstance.

Prototype

public static Object newProxyInstance(ClassLoader classLoader, Class<?>[] interfaces,
            InvocationHandler invocationHandler) 

Source Link

Usage

From source file:at.bibbox.reactjsservice.model.impl.ToolInformationModelImpl.java

License:Open Source License

@Override
public ToolInformation toEscapedModel() {
    if (_escapedModel == null) {
        _escapedModel = (ToolInformation) ProxyUtil.newProxyInstance(_classLoader, _escapedModelInterfaces,
                new AutoEscapeBeanHandler(this));
    }//from   w w w  .  ja  v  a 2  s  .c o m

    return _escapedModel;
}

From source file:at.bibbox.reactjsservice.model.ToolInformationClp.java

License:Open Source License

@Override
public ToolInformation toEscapedModel() {
    return (ToolInformation) ProxyUtil.newProxyInstance(ToolInformation.class.getClassLoader(),
            new Class[] { ToolInformation.class }, new AutoEscapeBeanHandler(this));
}

From source file:at.graz.hmmc.liferay.portlet.puch.model.ConfigurationClp.java

License:Open Source License

@Override
public Configuration toEscapedModel() {
    return (Configuration) ProxyUtil.newProxyInstance(Configuration.class.getClassLoader(),
            new Class[] { Configuration.class }, new AutoEscapeBeanHandler(this));
}

From source file:at.graz.hmmc.liferay.portlet.puch.model.FahrzeugClp.java

License:Open Source License

@Override
public Fahrzeug toEscapedModel() {
    return (Fahrzeug) ProxyUtil.newProxyInstance(Fahrzeug.class.getClassLoader(),
            new Class[] { Fahrzeug.class }, new AutoEscapeBeanHandler(this));
}

From source file:at.graz.hmmc.liferay.portlet.puch.model.impl.ConfigurationModelImpl.java

License:Open Source License

@Override
public Configuration toEscapedModel() {
    if (_escapedModel == null) {
        _escapedModel = (Configuration) ProxyUtil.newProxyInstance(_classLoader, _escapedModelInterfaces,
                new AutoEscapeBeanHandler(this));
    }/*from  ww  w . j ava 2 s .  c  o m*/

    return _escapedModel;
}

From source file:at.graz.hmmc.liferay.portlet.puch.model.impl.FahrzeugModelImpl.java

License:Open Source License

@Override
public Fahrzeug toEscapedModel() {
    if (_escapedModel == null) {
        _escapedModel = (Fahrzeug) ProxyUtil.newProxyInstance(_classLoader, _escapedModelInterfaces,
                new AutoEscapeBeanHandler(this));
    }// ww w. jav  a2s .co  m

    return _escapedModel;
}

From source file:at.graz.hmmc.liferay.portlet.puch.model.impl.ObjectDataModelImpl.java

License:Open Source License

@Override
public ObjectData toEscapedModel() {
    if (_escapedModel == null) {
        _escapedModel = (ObjectData) ProxyUtil.newProxyInstance(_classLoader, _escapedModelInterfaces,
                new AutoEscapeBeanHandler(this));
    }//from w w w. ja  v a 2 s.c  o  m

    return _escapedModel;
}

From source file:at.graz.hmmc.liferay.portlet.puch.model.impl.ObjectImageModelImpl.java

License:Open Source License

@Override
public ObjectImage toEscapedModel() {
    if (_escapedModel == null) {
        _escapedModel = (ObjectImage) ProxyUtil.newProxyInstance(_classLoader, _escapedModelInterfaces,
                new AutoEscapeBeanHandler(this));
    }/*  w w w. ja  va2  s.  c  o  m*/

    return _escapedModel;
}

From source file:at.graz.hmmc.liferay.portlet.puch.model.impl.ParameterConfigurationModelImpl.java

License:Open Source License

@Override
public ParameterConfiguration toEscapedModel() {
    if (_escapedModel == null) {
        _escapedModel = (ParameterConfiguration) ProxyUtil.newProxyInstance(_classLoader,
                _escapedModelInterfaces, new AutoEscapeBeanHandler(this));
    }//from   ww  w.j  a va2  s .  c o m

    return _escapedModel;
}

From source file:at.graz.hmmc.liferay.portlet.puch.model.impl.ParameterOptionsConfigurationModelImpl.java

License:Open Source License

@Override
public ParameterOptionsConfiguration toEscapedModel() {
    if (_escapedModel == null) {
        _escapedModel = (ParameterOptionsConfiguration) ProxyUtil.newProxyInstance(_classLoader,
                _escapedModelInterfaces, new AutoEscapeBeanHandler(this));
    }/*from   ww w  .  j a v  a 2  s  .c o m*/

    return _escapedModel;
}