/** * Returns the owner type of this portal preferences. * * @return the owner type of this portal preferences */ @Override public int getOwnerType() { return _portalPreferences.getOwnerType(); }
public static PortalPreferencesSoap toSoapModel(PortalPreferences model) { PortalPreferencesSoap soapModel = new PortalPreferencesSoap(); soapModel.setMvccVersion(model.getMvccVersion()); soapModel.setPortalPreferencesId(model.getPortalPreferencesId()); soapModel.setOwnerId(model.getOwnerId()); soapModel.setOwnerType(model.getOwnerType()); soapModel.setPreferences(model.getPreferences()); return soapModel; }