/** * Returns the preferences of this portlet preferences. * * @return the preferences of this portlet preferences */ @Override public String getPreferences() { return _portletPreferences.getPreferences(); }
public static PortletPreferencesSoap toSoapModel(PortletPreferences model) { PortletPreferencesSoap soapModel = new PortletPreferencesSoap(); soapModel.setMvccVersion(model.getMvccVersion()); soapModel.setPortletPreferencesId(model.getPortletPreferencesId()); soapModel.setCompanyId(model.getCompanyId()); soapModel.setOwnerId(model.getOwnerId()); soapModel.setOwnerType(model.getOwnerType()); soapModel.setPlid(model.getPlid()); soapModel.setPortletId(model.getPortletId()); soapModel.setPreferences(model.getPreferences()); return soapModel; }
/** * @deprecated As of Judson (7.1.x), replaced by {@link * deletePortletData(PortletDataContext portletDataContext, * javax.portlet.PortletPreferences portletPreferences)} */ @Deprecated protected String deletePortletData( PortletDataContext portletDataContext, PortletPreferences portletPreferences) throws Exception { javax.portlet.PortletPreferences portletPreferencesImpl = PortletPreferencesFactoryUtil.fromDefaultXML( portletPreferences.getPreferences()); return deletePortletData(portletDataContext, portletPreferencesImpl); }
/** * @deprecated As of Judson (7.1.x), replaced by {@link * #importPortletData(PortletDataContext portletDataContext, * javax.portlet.PortletPreferences portletPreferences, Element * portletDataElement)} */ @Deprecated public String importPortletData( PortletDataContext portletDataContext, PortletPreferences portletPreferences, Element portletDataElement) throws Exception { PortletPreferencesImpl portletPreferencesImpl = null; if (portletPreferences != null) { portletPreferencesImpl = (PortletPreferencesImpl) PortletPreferencesFactoryUtil.fromDefaultXML( portletPreferences.getPreferences()); } return importPortletData( portletDataContext, portletPreferencesImpl, portletDataElement); }
portletPreferencesModel.getPlid(), portletPreferencesModel.getPortletId(), portletPreferencesModel.getPreferences());
throws Exception { String preferencesXML = portletPreferences.getPreferences();
throws Exception { String preferencesXML = portletPreferences.getPreferences();