com.liferay.portal.service
Class LayoutPrototypeServiceUtil
java.lang.Object
com.liferay.portal.service.LayoutPrototypeServiceUtil
public class LayoutPrototypeServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
LayoutPrototypeService
bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
LayoutPrototypeService
- Generated:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutPrototypeServiceUtil
public LayoutPrototypeServiceUtil()
addLayoutPrototype
public static LayoutPrototype addLayoutPrototype(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.lang.String description,
boolean active)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteLayoutPrototype
public static void deleteLayoutPrototype(long layoutPrototypeId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getLayoutPrototype
public static LayoutPrototype getLayoutPrototype(long layoutPrototypeId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
search
public static java.util.List<LayoutPrototype> search(long companyId,
java.lang.Boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateLayoutPrototype
public static LayoutPrototype updateLayoutPrototype(long layoutPrototypeId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.lang.String description,
boolean active)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getService
public static LayoutPrototypeService getService()
setService
public void setService(LayoutPrototypeService service)