Package com.liferay.portal.ejb

Examples of com.liferay.portal.ejb.PortletPreferencesPK


    if (userId == null) {
      userId = User.getDefaultUserId(companyId);
    }

    PortletPreferencesPK pk = new PortletPreferencesPK(
      portletKey, layoutId, userId);

    return pk;
  }
View Full Code Here


    _userId = userId;
    _preferences = preferences;
  }

  public PortletPreferencesPK getPrimaryKey() {
    return new PortletPreferencesPK(_portletId, _layoutId, _userId);
  }
View Full Code Here

    if (obj == null) {
      return -1;
    }

    PortletPreferences portletPreferences = (PortletPreferences)obj;
    PortletPreferencesPK pk = portletPreferences.getPrimaryKey();

    return getPrimaryKey().compareTo(pk);
  }
View Full Code Here

    }
    catch (ClassCastException cce) {
      return false;
    }

    PortletPreferencesPK pk = portletPreferences.getPrimaryKey();

    if (getPrimaryKey().equals(pk)) {
      return true;
    }
    else {
View Full Code Here

TOP

Related Classes of com.liferay.portal.ejb.PortletPreferencesPK

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.