use of com.liferay.opensocial.DuplicateGadgetURLException in project liferay-ide by liferay.
the class GadgetLocalServiceImpl method validate.
protected void validate(long companyId, String url, String portletCategoryNames) throws PortalException, SystemException {
Gadget gadget = gadgetPersistence.fetchByC_U(companyId, url);
if (gadget != null) {
throw new DuplicateGadgetURLException();
}
validate(portletCategoryNames);
}
Aggregations