コード例 #1
0
  public static com.liferay.portal.model.GroupSoap[] getOrganizationsGroups(
      com.liferay.portal.model.OrganizationSoap[] organizations) throws RemoteException {
    try {
      java.util.List<com.liferay.portal.model.Group> returnValue =
          GroupServiceUtil.getOrganizationsGroups(
              com.liferay.portal.model.impl.OrganizationModelImpl.toModels(organizations));

      return com.liferay.portal.model.GroupSoap.toSoapModels(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
コード例 #2
0
  @Override
  public void resetOriginalValues() {
    OrganizationModelImpl organizationModelImpl = this;

    organizationModelImpl._originalCompanyId = organizationModelImpl._companyId;

    organizationModelImpl._setOriginalCompanyId = false;

    organizationModelImpl._originalParentOrganizationId =
        organizationModelImpl._parentOrganizationId;

    organizationModelImpl._setOriginalParentOrganizationId = false;

    organizationModelImpl._originalName = organizationModelImpl._name;

    organizationModelImpl._columnBitmask = 0;
  }