Package com.nosester.portlet.eventlisting.model

Examples of com.nosester.portlet.eventlisting.model.Location


   */
  @Override
  public Location findByGroupId_Last(long groupId,
    OrderByComparator orderByComparator)
    throws NoSuchLocationException, SystemException {
    Location location = fetchByGroupId_Last(groupId, orderByComparator);

    if (location != null) {
      return location;
    }

View Full Code Here


   */
  @Override
  public Location[] findByGroupId_PrevAndNext(long locationId, long groupId,
    OrderByComparator orderByComparator)
    throws NoSuchLocationException, SystemException {
    Location location = findByPrimaryKey(locationId);

    Session session = null;

    try {
      session = openSession();
View Full Code Here

    if (!InlineSQLHelperUtil.isEnabled(groupId)) {
      return findByGroupId_PrevAndNext(locationId, groupId,
        orderByComparator);
    }

    Location location = findByPrimaryKey(locationId);

    Session session = null;

    try {
      session = openSession();
View Full Code Here

   * @param locationId the primary key for the new location
   * @return the new location
   */
  @Override
  public Location create(long locationId) {
    Location location = new LocationImpl();

    location.setNew(true);
    location.setPrimaryKey(locationId);

    return location;
  }
View Full Code Here

    Session session = null;

    try {
      session = openSession();

      Location location = (Location)session.get(LocationImpl.class,
          primaryKey);

      if (location == null) {
        if (_log.isWarnEnabled()) {
          _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey);
View Full Code Here

   * @throws SystemException if a system exception occurred
   */
  @Override
  public Location findByPrimaryKey(Serializable primaryKey)
    throws NoSuchLocationException, SystemException {
    Location location = fetchByPrimaryKey(primaryKey);

    if (location == null) {
      if (_log.isWarnEnabled()) {
        _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey);
      }
View Full Code Here

   * @throws SystemException if a system exception occurred
   */
  @Override
  public Location fetchByPrimaryKey(Serializable primaryKey)
    throws SystemException {
    Location location = (Location)EntityCacheUtil.getResult(LocationModelImpl.ENTITY_CACHE_ENABLED,
        LocationImpl.class, primaryKey);

    if (location == _nullLocation) {
      return null;
    }
View Full Code Here

TOP

Related Classes of com.nosester.portlet.eventlisting.model.Location

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.