Package com.liferay.portlet.expando.model

Examples of com.liferay.portlet.expando.model.ExpandoBridge


      Guestbook.class.getName(), getPrimaryKey());
  }

  @Override
  public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
    ExpandoBridge expandoBridge = getExpandoBridge();

    expandoBridge.setAttributes(serviceContext);
  }
View Full Code Here


      Entry.class.getName(), getPrimaryKey());
  }

  @Override
  public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
    ExpandoBridge expandoBridge = getExpandoBridge();

    expandoBridge.setAttributes(serviceContext);
  }
View Full Code Here

    // by a "Guest" user, we have to trick the Liferay permissionChecker into thinking that the current
    // user is the Administrator user (someone who has the permission to set expando column values).
    PermissionChecker permissionCheckerBackup = PermissionThreadLocal.getPermissionChecker();
    PermissionThreadLocal.setPermissionChecker(getAdministratorPermissionChecker(companyId));

    ExpandoBridge expandoBridge = registrant.getExpandoBridge();
    expandoBridge.setAttribute(UserExpando.COMPANY_NAME.getName(), registrant.getCompanyName());
    expandoBridge.setAttribute(UserExpando.FAVORITE_COLOR.getName(), registrant.getFavoriteColor());

    PermissionThreadLocal.setPermissionChecker(permissionCheckerBackup);
  }
View Full Code Here

TOP

Related Classes of com.liferay.portlet.expando.model.ExpandoBridge

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.