public static com.liferay.portal.model.LayoutSetBranchSoap addLayoutSetBranch( long groupId, boolean privateLayout, java.lang.String name, java.lang.String description, boolean master, long copyLayoutSetBranchId, com.liferay.portal.service.ServiceContext serviceContext) throws RemoteException { try { com.liferay.portal.model.LayoutSetBranch returnValue = LayoutSetBranchServiceUtil.addLayoutSetBranch( groupId, privateLayout, name, description, master, copyLayoutSetBranchId, serviceContext); return com.liferay.portal.model.LayoutSetBranchSoap.toSoapModel(returnValue); } catch (Exception e) { _log.error(e, e); throw new RemoteException(e.getMessage()); } }
public static com.liferay.portal.model.LayoutSetBranchSoap[] getLayoutSetBranches( long groupId, boolean privateLayout) throws RemoteException { try { java.util.List<com.liferay.portal.model.LayoutSetBranch> returnValue = LayoutSetBranchServiceUtil.getLayoutSetBranches(groupId, privateLayout); return com.liferay.portal.model.LayoutSetBranchSoap.toSoapModels(returnValue); } catch (Exception e) { _log.error(e, e); throw new RemoteException(e.getMessage()); } }
public static com.liferay.portal.model.LayoutSetBranchSoap mergeLayoutSetBranch( long layoutSetBranchId, long mergeLayoutSetBranchId, com.liferay.portal.service.ServiceContext serviceContext) throws RemoteException { try { com.liferay.portal.model.LayoutSetBranch returnValue = LayoutSetBranchServiceUtil.mergeLayoutSetBranch( layoutSetBranchId, mergeLayoutSetBranchId, serviceContext); return com.liferay.portal.model.LayoutSetBranchSoap.toSoapModel(returnValue); } catch (Exception e) { _log.error(e, e); throw new RemoteException(e.getMessage()); } }
/** * Converts the soap model instance into a normal model instance. * * @param soapModel the soap model instance to convert * @return the normal model instance */ public static LayoutSetBranch toModel(LayoutSetBranchSoap soapModel) { if (soapModel == null) { return null; } LayoutSetBranch model = new LayoutSetBranchImpl(); model.setLayoutSetBranchId(soapModel.getLayoutSetBranchId()); model.setGroupId(soapModel.getGroupId()); model.setCompanyId(soapModel.getCompanyId()); model.setUserId(soapModel.getUserId()); model.setUserName(soapModel.getUserName()); model.setCreateDate(soapModel.getCreateDate()); model.setModifiedDate(soapModel.getModifiedDate()); model.setPrivateLayout(soapModel.getPrivateLayout()); model.setName(soapModel.getName()); model.setDescription(soapModel.getDescription()); model.setMaster(soapModel.getMaster()); model.setLogo(soapModel.getLogo()); model.setLogoId(soapModel.getLogoId()); model.setThemeId(soapModel.getThemeId()); model.setColorSchemeId(soapModel.getColorSchemeId()); model.setWapThemeId(soapModel.getWapThemeId()); model.setWapColorSchemeId(soapModel.getWapColorSchemeId()); model.setCss(soapModel.getCss()); model.setSettings(soapModel.getSettings()); model.setLayoutSetPrototypeUuid(soapModel.getLayoutSetPrototypeUuid()); model.setLayoutSetPrototypeLinkEnabled(soapModel.getLayoutSetPrototypeLinkEnabled()); return model; }