Skip to content

Instantly share code, notes, and snippets.

@topolik
Created April 12, 2013 20:31
Show Gist options
  • Save topolik/5374907 to your computer and use it in GitHub Desktop.
Save topolik/5374907 to your computer and use it in GitHub Desktop.
/**
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.portal.kernel.portlet;
/**
* @author Tomas Polesovsky
*/
public class EmbeddedPortletRenderingContext {
enum TYPE {
THEME, LAYOUT_TEMPLATE, PORTLET
}
public String getName() {
return _name;
}
public TYPE getType() {
return _type;
}
public void setName(String name) {
this._name = name;
}
public void setType(TYPE type) {
this._type = type;
}
private String _name;
private TYPE _type;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment