Liferay 6.2-ce-ga5

com.liferay.portal.service.persistence
Class LayoutFriendlyURLPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<LayoutFriendlyURL>
      extended by com.liferay.portal.service.persistence.LayoutFriendlyURLPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<LayoutFriendlyURL>, LayoutFriendlyURLPersistence

public class LayoutFriendlyURLPersistenceImpl
extends BasePersistenceImpl<LayoutFriendlyURL>
implements LayoutFriendlyURLPersistence

The persistence implementation for the layout friendly u r l service.

Caching information and settings can be found in portal.properties

See Also:
LayoutFriendlyURLPersistence, LayoutFriendlyURLUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static FinderPath FINDER_PATH_COUNT_BY_G_P_F
           
static FinderPath FINDER_PATH_COUNT_BY_G_P_F_L
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_P_F
           
static FinderPath FINDER_PATH_COUNT_BY_P_L
           
static FinderPath FINDER_PATH_COUNT_BY_PLID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_C
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_G_P_F_L
           
static FinderPath FINDER_PATH_FETCH_BY_P_L
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_F
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_P_F
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PLID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_F
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P_F
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PLID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
LayoutFriendlyURLPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the layout friendly u r l persistence.
 void cacheResult(LayoutFriendlyURL layoutFriendlyURL)
          Caches the layout friendly u r l in the entity cache if it is enabled.
 void cacheResult(List<LayoutFriendlyURL> layoutFriendlyURLs)
          Caches the layout friendly u r ls in the entity cache if it is enabled.
protected  void cacheUniqueFindersCache(LayoutFriendlyURL layoutFriendlyURL)
           
 void clearCache()
          Clears the cache for all layout friendly u r ls.
 void clearCache(LayoutFriendlyURL layoutFriendlyURL)
          Clears the cache for the layout friendly u r l.
 void clearCache(List<LayoutFriendlyURL> layoutFriendlyURLs)
          Clears the cache for a List instances of this model.
protected  void clearUniqueFindersCache(LayoutFriendlyURL layoutFriendlyURL)
           
 int countAll()
          Returns the number of layout friendly u r ls.
 int countByCompanyId(long companyId)
          Returns the number of layout friendly u r ls where companyId = ?.
 int countByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId)
          Returns the number of layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ?.
 int countByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
          Returns the number of layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.
 int countByGroupId(long groupId)
          Returns the number of layout friendly u r ls where groupId = ?.
 int countByP_F(long plid, String friendlyURL)
          Returns the number of layout friendly u r ls where plid = ? and friendlyURL = ?.
 int countByP_L(long plid, String languageId)
          Returns the number of layout friendly u r ls where plid = ? and languageId = ?.
 int countByPlid(long plid)
          Returns the number of layout friendly u r ls where plid = ?.
 int countByUuid_C(String uuid, long companyId)
          Returns the number of layout friendly u r ls where uuid = ? and companyId = ?.
 int countByUUID_G(String uuid, long groupId)
          Returns the number of layout friendly u r ls where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Returns the number of layout friendly u r ls where uuid = ?.
 LayoutFriendlyURL create(long layoutFriendlyURLId)
          Creates a new layout friendly u r l with the primary key.
 void destroy()
           
 LayoutFriendlyURL fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where companyId = ?.
 LayoutFriendlyURL fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where companyId = ?.
 LayoutFriendlyURL fetchByG_P_F_First(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.
 LayoutFriendlyURL fetchByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId)
          Returns the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or returns null if it could not be found.
 LayoutFriendlyURL fetchByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId, boolean retrieveFromCache)
          Returns the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or returns null if it could not be found, optionally using the finder cache.
 LayoutFriendlyURL fetchByG_P_F_Last(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.
 LayoutFriendlyURL fetchByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where groupId = ?.
 LayoutFriendlyURL fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where groupId = ?.
 LayoutFriendlyURL fetchByP_F_First(long plid, String friendlyURL, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.
 LayoutFriendlyURL fetchByP_F_Last(long plid, String friendlyURL, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.
 LayoutFriendlyURL fetchByP_L(long plid, String languageId)
          Returns the layout friendly u r l where plid = ? and languageId = ? or returns null if it could not be found.
 LayoutFriendlyURL fetchByP_L(long plid, String languageId, boolean retrieveFromCache)
          Returns the layout friendly u r l where plid = ? and languageId = ? or returns null if it could not be found, optionally using the finder cache.
 LayoutFriendlyURL fetchByPlid_First(long plid, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where plid = ?.
 LayoutFriendlyURL fetchByPlid_Last(long plid, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where plid = ?.
 LayoutFriendlyURL fetchByPrimaryKey(long layoutFriendlyURLId)
          Returns the layout friendly u r l with the primary key or returns null if it could not be found.
 LayoutFriendlyURL fetchByPrimaryKey(Serializable primaryKey)
          Returns the layout friendly u r l with the primary key or returns null if it could not be found.
 LayoutFriendlyURL fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where uuid = ? and companyId = ?.
 LayoutFriendlyURL fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where uuid = ? and companyId = ?.
 LayoutFriendlyURL fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where uuid = ?.
 LayoutFriendlyURL fetchByUUID_G(String uuid, long groupId)
          Returns the layout friendly u r l where uuid = ? and groupId = ? or returns null if it could not be found.
 LayoutFriendlyURL fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Returns the layout friendly u r l where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 LayoutFriendlyURL fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where uuid = ?.
 List<LayoutFriendlyURL> findAll()
          Returns all the layout friendly u r ls.
 List<LayoutFriendlyURL> findAll(int start, int end)
          Returns a range of all the layout friendly u r ls.
 List<LayoutFriendlyURL> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout friendly u r ls.
 LayoutFriendlyURL findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where companyId = ?.
 LayoutFriendlyURL findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where companyId = ?.
 LayoutFriendlyURL[] findByCompanyId_PrevAndNext(long layoutFriendlyURLId, long companyId, OrderByComparator orderByComparator)
          Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where companyId = ?.
 List<LayoutFriendlyURL> findByCompanyId(long companyId)
          Returns all the layout friendly u r ls where companyId = ?.
 List<LayoutFriendlyURL> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the layout friendly u r ls where companyId = ?.
 List<LayoutFriendlyURL> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where companyId = ?.
 LayoutFriendlyURL findByG_P_F_First(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.
 LayoutFriendlyURL findByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId)
          Returns the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or throws a NoSuchLayoutFriendlyURLException if it could not be found.
 LayoutFriendlyURL findByG_P_F_Last(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.
 LayoutFriendlyURL[] findByG_P_F_PrevAndNext(long layoutFriendlyURLId, long groupId, boolean privateLayout, String friendlyURL, OrderByComparator orderByComparator)
          Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.
 List<LayoutFriendlyURL> findByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
          Returns all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.
 List<LayoutFriendlyURL> findByG_P_F(long groupId, boolean privateLayout, String friendlyURL, int start, int end)
          Returns a range of all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.
 List<LayoutFriendlyURL> findByG_P_F(long groupId, boolean privateLayout, String friendlyURL, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.
 LayoutFriendlyURL findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where groupId = ?.
 LayoutFriendlyURL findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where groupId = ?.
 LayoutFriendlyURL[] findByGroupId_PrevAndNext(long layoutFriendlyURLId, long groupId, OrderByComparator orderByComparator)
          Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where groupId = ?.
 List<LayoutFriendlyURL> findByGroupId(long groupId)
          Returns all the layout friendly u r ls where groupId = ?.
 List<LayoutFriendlyURL> findByGroupId(long groupId, int start, int end)
          Returns a range of all the layout friendly u r ls where groupId = ?.
 List<LayoutFriendlyURL> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where groupId = ?.
 LayoutFriendlyURL findByP_F_First(long plid, String friendlyURL, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.
 LayoutFriendlyURL findByP_F_Last(long plid, String friendlyURL, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.
 LayoutFriendlyURL[] findByP_F_PrevAndNext(long layoutFriendlyURLId, long plid, String friendlyURL, OrderByComparator orderByComparator)
          Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.
 List<LayoutFriendlyURL> findByP_F(long plid, String friendlyURL)
          Returns all the layout friendly u r ls where plid = ? and friendlyURL = ?.
 List<LayoutFriendlyURL> findByP_F(long plid, String friendlyURL, int start, int end)
          Returns a range of all the layout friendly u r ls where plid = ? and friendlyURL = ?.
 List<LayoutFriendlyURL> findByP_F(long plid, String friendlyURL, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where plid = ? and friendlyURL = ?.
 LayoutFriendlyURL findByP_L(long plid, String languageId)
          Returns the layout friendly u r l where plid = ? and languageId = ? or throws a NoSuchLayoutFriendlyURLException if it could not be found.
 LayoutFriendlyURL findByPlid_First(long plid, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where plid = ?.
 LayoutFriendlyURL findByPlid_Last(long plid, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where plid = ?.
 LayoutFriendlyURL[] findByPlid_PrevAndNext(long layoutFriendlyURLId, long plid, OrderByComparator orderByComparator)
          Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where plid = ?.
 List<LayoutFriendlyURL> findByPlid(long plid)
          Returns all the layout friendly u r ls where plid = ?.
 List<LayoutFriendlyURL> findByPlid(long plid, int start, int end)
          Returns a range of all the layout friendly u r ls where plid = ?.
 List<LayoutFriendlyURL> findByPlid(long plid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where plid = ?.
 LayoutFriendlyURL findByPrimaryKey(long layoutFriendlyURLId)
          Returns the layout friendly u r l with the primary key or throws a NoSuchLayoutFriendlyURLException if it could not be found.
 LayoutFriendlyURL findByPrimaryKey(Serializable primaryKey)
          Returns the layout friendly u r l with the primary key or throws a NoSuchModelException if it could not be found.
 LayoutFriendlyURL findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where uuid = ? and companyId = ?.
 LayoutFriendlyURL findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where uuid = ? and companyId = ?.
 LayoutFriendlyURL[] findByUuid_C_PrevAndNext(long layoutFriendlyURLId, String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where uuid = ? and companyId = ?.
 List<LayoutFriendlyURL> findByUuid_C(String uuid, long companyId)
          Returns all the layout friendly u r ls where uuid = ? and companyId = ?.
 List<LayoutFriendlyURL> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the layout friendly u r ls where uuid = ? and companyId = ?.
 List<LayoutFriendlyURL> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where uuid = ? and companyId = ?.
 LayoutFriendlyURL findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first layout friendly u r l in the ordered set where uuid = ?.
 LayoutFriendlyURL findByUUID_G(String uuid, long groupId)
          Returns the layout friendly u r l where uuid = ? and groupId = ? or throws a NoSuchLayoutFriendlyURLException if it could not be found.
 LayoutFriendlyURL findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last layout friendly u r l in the ordered set where uuid = ?.
 LayoutFriendlyURL[] findByUuid_PrevAndNext(long layoutFriendlyURLId, String uuid, OrderByComparator orderByComparator)
          Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where uuid = ?.
 List<LayoutFriendlyURL> findByUuid(String uuid)
          Returns all the layout friendly u r ls where uuid = ?.
 List<LayoutFriendlyURL> findByUuid(String uuid, int start, int end)
          Returns a range of all the layout friendly u r ls where uuid = ?.
 List<LayoutFriendlyURL> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where uuid = ?.
protected  Set<String> getBadColumnNames()
           
protected  LayoutFriendlyURL getByCompanyId_PrevAndNext(Session session, LayoutFriendlyURL layoutFriendlyURL, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  LayoutFriendlyURL getByG_P_F_PrevAndNext(Session session, LayoutFriendlyURL layoutFriendlyURL, long groupId, boolean privateLayout, String friendlyURL, OrderByComparator orderByComparator, boolean previous)
           
protected  LayoutFriendlyURL getByGroupId_PrevAndNext(Session session, LayoutFriendlyURL layoutFriendlyURL, long groupId, OrderByComparator orderByComparator, boolean previous)
           
protected  LayoutFriendlyURL getByP_F_PrevAndNext(Session session, LayoutFriendlyURL layoutFriendlyURL, long plid, String friendlyURL, OrderByComparator orderByComparator, boolean previous)
           
protected  LayoutFriendlyURL getByPlid_PrevAndNext(Session session, LayoutFriendlyURL layoutFriendlyURL, long plid, OrderByComparator orderByComparator, boolean previous)
           
protected  LayoutFriendlyURL getByUuid_C_PrevAndNext(Session session, LayoutFriendlyURL layoutFriendlyURL, String uuid, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  LayoutFriendlyURL getByUuid_PrevAndNext(Session session, LayoutFriendlyURL layoutFriendlyURL, String uuid, OrderByComparator orderByComparator, boolean previous)
           
 LayoutFriendlyURL remove(long layoutFriendlyURLId)
          Removes the layout friendly u r l with the primary key from the database.
 LayoutFriendlyURL remove(Serializable primaryKey)
          Removes the layout friendly u r l with the primary key from the database.
 void removeAll()
          Removes all the layout friendly u r ls from the database.
 void removeByCompanyId(long companyId)
          Removes all the layout friendly u r ls where companyId = ? from the database.
 LayoutFriendlyURL removeByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId)
          Removes the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? from the database.
 void removeByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
          Removes all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the layout friendly u r ls where groupId = ? from the database.
 void removeByP_F(long plid, String friendlyURL)
          Removes all the layout friendly u r ls where plid = ? and friendlyURL = ? from the database.
 LayoutFriendlyURL removeByP_L(long plid, String languageId)
          Removes the layout friendly u r l where plid = ? and languageId = ? from the database.
 void removeByPlid(long plid)
          Removes all the layout friendly u r ls where plid = ? from the database.
 void removeByUuid_C(String uuid, long companyId)
          Removes all the layout friendly u r ls where uuid = ? and companyId = ? from the database.
 LayoutFriendlyURL removeByUUID_G(String uuid, long groupId)
          Removes the layout friendly u r l where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the layout friendly u r ls where uuid = ? from the database.
protected  LayoutFriendlyURL removeImpl(LayoutFriendlyURL layoutFriendlyURL)
          Removes the model instance from the database.
protected  LayoutFriendlyURL toUnwrappedModel(LayoutFriendlyURL layoutFriendlyURL)
           
 LayoutFriendlyURL updateImpl(LayoutFriendlyURL layoutFriendlyURL)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_COUNT_BY_UUID_C

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C

FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_WITH_PAGINATION_FIND_BY_PLID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PLID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PLID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PLID

FINDER_PATH_COUNT_BY_PLID

public static final FinderPath FINDER_PATH_COUNT_BY_PLID

FINDER_PATH_WITH_PAGINATION_FIND_BY_P_F

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_P_F

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P_F

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P_F

FINDER_PATH_COUNT_BY_P_F

public static final FinderPath FINDER_PATH_COUNT_BY_P_F

FINDER_PATH_FETCH_BY_P_L

public static final FinderPath FINDER_PATH_FETCH_BY_P_L

FINDER_PATH_COUNT_BY_P_L

public static final FinderPath FINDER_PATH_COUNT_BY_P_L

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_F

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_F

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_F

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_F

FINDER_PATH_COUNT_BY_G_P_F

public static final FinderPath FINDER_PATH_COUNT_BY_G_P_F

FINDER_PATH_FETCH_BY_G_P_F_L

public static final FinderPath FINDER_PATH_FETCH_BY_G_P_F_L

FINDER_PATH_COUNT_BY_G_P_F_L

public static final FinderPath FINDER_PATH_COUNT_BY_G_P_F_L
Constructor Detail

LayoutFriendlyURLPersistenceImpl

public LayoutFriendlyURLPersistenceImpl()
Method Detail

findByUuid

public List<LayoutFriendlyURL> findByUuid(String uuid)
                                   throws SystemException
Returns all the layout friendly u r ls where uuid = ?.

Specified by:
findByUuid in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
Returns:
the matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByUuid

public List<LayoutFriendlyURL> findByUuid(String uuid,
                                          int start,
                                          int end)
                                   throws SystemException
Returns a range of all the layout friendly u r ls where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutFriendlyURLModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
Returns:
the range of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByUuid

public List<LayoutFriendlyURL> findByUuid(String uuid,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Returns an ordered range of all the layout friendly u r ls where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutFriendlyURLModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByUuid_First

public LayoutFriendlyURL findByUuid_First(String uuid,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchLayoutFriendlyURLException,
                                          SystemException
Returns the first layout friendly u r l in the ordered set where uuid = ?.

Specified by:
findByUuid_First in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
SystemException - if a system exception occurred

fetchByUuid_First

public LayoutFriendlyURL fetchByUuid_First(String uuid,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns the first layout friendly u r l in the ordered set where uuid = ?.

Specified by:
fetchByUuid_First in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_Last

public LayoutFriendlyURL findByUuid_Last(String uuid,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchLayoutFriendlyURLException,
                                         SystemException
Returns the last layout friendly u r l in the ordered set where uuid = ?.

Specified by:
findByUuid_Last in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
SystemException - if a system exception occurred

fetchByUuid_Last

public LayoutFriendlyURL fetchByUuid_Last(String uuid,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Returns the last layout friendly u r l in the ordered set where uuid = ?.

Specified by:
fetchByUuid_Last in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_PrevAndNext

public LayoutFriendlyURL[] findByUuid_PrevAndNext(long layoutFriendlyURLId,
                                                  String uuid,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchLayoutFriendlyURLException,
                                                  SystemException
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where uuid = ?.

Specified by:
findByUuid_PrevAndNext in interface LayoutFriendlyURLPersistence
Parameters:
layoutFriendlyURLId - the primary key of the current layout friendly u r l
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
SystemException - if a system exception occurred

getByUuid_PrevAndNext

protected LayoutFriendlyURL getByUuid_PrevAndNext(Session session,
                                                  LayoutFriendlyURL layoutFriendlyURL,
                                                  String uuid,
                                                  OrderByComparator orderByComparator,
                                                  boolean previous)

removeByUuid

public void removeByUuid(String uuid)
                  throws SystemException
Removes all the layout friendly u r ls where uuid = ? from the database.

Specified by:
removeByUuid in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

countByUuid

public int countByUuid(String uuid)
                throws SystemException
Returns the number of layout friendly u r ls where uuid = ?.

Specified by:
countByUuid in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
Returns:
the number of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByUUID_G

public LayoutFriendlyURL findByUUID_G(String uuid,
                                      long groupId)
                               throws NoSuchLayoutFriendlyURLException,
                                      SystemException
Returns the layout friendly u r l where uuid = ? and groupId = ? or throws a NoSuchLayoutFriendlyURLException if it could not be found.

Specified by:
findByUUID_G in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
SystemException - if a system exception occurred

fetchByUUID_G

public LayoutFriendlyURL fetchByUUID_G(String uuid,
                                       long groupId)
                                throws SystemException
Returns the layout friendly u r l where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByUUID_G in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

public LayoutFriendlyURL fetchByUUID_G(String uuid,
                                       long groupId,
                                       boolean retrieveFromCache)
                                throws SystemException
Returns the layout friendly u r l where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByUUID_G in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

removeByUUID_G

public LayoutFriendlyURL removeByUUID_G(String uuid,
                                        long groupId)
                                 throws NoSuchLayoutFriendlyURLException,
                                        SystemException
Removes the layout friendly u r l where uuid = ? and groupId = ? from the database.

Specified by:
removeByUUID_G in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the layout friendly u r l that was removed
Throws:
SystemException - if a system exception occurred
NoSuchLayoutFriendlyURLException

countByUUID_G

public int countByUUID_G(String uuid,
                         long groupId)
                  throws SystemException
Returns the number of layout friendly u r ls where uuid = ? and groupId = ?.

Specified by:
countByUUID_G in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByUuid_C

public List<LayoutFriendlyURL> findByUuid_C(String uuid,
                                            long companyId)
                                     throws SystemException
Returns all the layout friendly u r ls where uuid = ? and companyId = ?.

Specified by:
findByUuid_C in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByUuid_C

public List<LayoutFriendlyURL> findByUuid_C(String uuid,
                                            long companyId,
                                            int start,
                                            int end)
                                     throws SystemException
Returns a range of all the layout friendly u r ls where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutFriendlyURLModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid_C in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
Returns:
the range of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByUuid_C

public List<LayoutFriendlyURL> findByUuid_C(String uuid,
                                            long companyId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns an ordered range of all the layout friendly u r ls where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutFriendlyURLModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid_C in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByUuid_C_First

public LayoutFriendlyURL findByUuid_C_First(String uuid,
                                            long companyId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchLayoutFriendlyURLException,
                                            SystemException
Returns the first layout friendly u r l in the ordered set where uuid = ? and companyId = ?.

Specified by:
findByUuid_C_First in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
SystemException - if a system exception occurred

fetchByUuid_C_First

public LayoutFriendlyURL fetchByUuid_C_First(String uuid,
                                             long companyId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the first layout friendly u r l in the ordered set where uuid = ? and companyId = ?.

Specified by:
fetchByUuid_C_First in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_C_Last

public LayoutFriendlyURL findByUuid_C_Last(String uuid,
                                           long companyId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchLayoutFriendlyURLException,
                                           SystemException
Returns the last layout friendly u r l in the ordered set where uuid = ? and companyId = ?.

Specified by:
findByUuid_C_Last in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
SystemException - if a system exception occurred

fetchByUuid_C_Last

public LayoutFriendlyURL fetchByUuid_C_Last(String uuid,
                                            long companyId,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns the last layout friendly u r l in the ordered set where uuid = ? and companyId = ?.

Specified by:
fetchByUuid_C_Last in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_C_PrevAndNext

public LayoutFriendlyURL[] findByUuid_C_PrevAndNext(long layoutFriendlyURLId,
                                                    String uuid,
                                                    long companyId,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchLayoutFriendlyURLException,
                                                    SystemException
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where uuid = ? and companyId = ?.

Specified by:
findByUuid_C_PrevAndNext in interface LayoutFriendlyURLPersistence
Parameters:
layoutFriendlyURLId - the primary key of the current layout friendly u r l
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
SystemException - if a system exception occurred

getByUuid_C_PrevAndNext

protected LayoutFriendlyURL getByUuid_C_PrevAndNext(Session session,
                                                    LayoutFriendlyURL layoutFriendlyURL,
                                                    String uuid,
                                                    long companyId,
                                                    OrderByComparator orderByComparator,
                                                    boolean previous)

removeByUuid_C

public void removeByUuid_C(String uuid,
                           long companyId)
                    throws SystemException
Removes all the layout friendly u r ls where uuid = ? and companyId = ? from the database.

Specified by:
removeByUuid_C in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByUuid_C

public int countByUuid_C(String uuid,
                         long companyId)
                  throws SystemException
Returns the number of layout friendly u r ls where uuid = ? and companyId = ?.

Specified by:
countByUuid_C in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByGroupId

public List<LayoutFriendlyURL> findByGroupId(long groupId)
                                      throws SystemException
Returns all the layout friendly u r ls where groupId = ?.

Specified by:
findByGroupId in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
Returns:
the matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByGroupId

public List<LayoutFriendlyURL> findByGroupId(long groupId,
                                             int start,
                                             int end)
                                      throws SystemException
Returns a range of all the layout friendly u r ls where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutFriendlyURLModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
Returns:
the range of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByGroupId

public List<LayoutFriendlyURL> findByGroupId(long groupId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns an ordered range of all the layout friendly u r ls where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutFriendlyURLModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByGroupId_First

public LayoutFriendlyURL findByGroupId_First(long groupId,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchLayoutFriendlyURLException,
                                             SystemException
Returns the first layout friendly u r l in the ordered set where groupId = ?.

Specified by:
findByGroupId_First in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
SystemException - if a system exception occurred

fetchByGroupId_First

public LayoutFriendlyURL fetchByGroupId_First(long groupId,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the first layout friendly u r l in the ordered set where groupId = ?.

Specified by:
fetchByGroupId_First in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_Last

public LayoutFriendlyURL findByGroupId_Last(long groupId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchLayoutFriendlyURLException,
                                            SystemException
Returns the last layout friendly u r l in the ordered set where groupId = ?.

Specified by:
findByGroupId_Last in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
SystemException - if a system exception occurred

fetchByGroupId_Last

public LayoutFriendlyURL fetchByGroupId_Last(long groupId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the last layout friendly u r l in the ordered set where groupId = ?.

Specified by:
fetchByGroupId_Last in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

public LayoutFriendlyURL[] findByGroupId_PrevAndNext(long layoutFriendlyURLId,
                                                     long groupId,
                                                     OrderByComparator orderByComparator)
                                              throws NoSuchLayoutFriendlyURLException,
                                                     SystemException
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where groupId = ?.

Specified by:
findByGroupId_PrevAndNext in interface LayoutFriendlyURLPersistence
Parameters:
layoutFriendlyURLId - the primary key of the current layout friendly u r l
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
SystemException - if a system exception occurred

getByGroupId_PrevAndNext

protected LayoutFriendlyURL getByGroupId_PrevAndNext(Session session,
                                                     LayoutFriendlyURL layoutFriendlyURL,
                                                     long groupId,
                                                     OrderByComparator orderByComparator,
                                                     boolean previous)

removeByGroupId

public void removeByGroupId(long groupId)
                     throws SystemException
Removes all the layout friendly u r ls where groupId = ? from the database.

Specified by:
removeByGroupId in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
Throws:
SystemException - if a system exception occurred

countByGroupId

public int countByGroupId(long groupId)
                   throws SystemException
Returns the number of layout friendly u r ls where groupId = ?.

Specified by:
countByGroupId in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
Returns:
the number of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByCompanyId

public List<LayoutFriendlyURL> findByCompanyId(long companyId)
                                        throws SystemException
Returns all the layout friendly u r ls where companyId = ?.

Specified by:
findByCompanyId in interface LayoutFriendlyURLPersistence
Parameters:
companyId - the company ID
Returns:
the matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByCompanyId

public List<LayoutFriendlyURL> findByCompanyId(long companyId,
                                               int start,
                                               int end)
                                        throws SystemException
Returns a range of all the layout friendly u r ls where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutFriendlyURLModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByCompanyId in interface LayoutFriendlyURLPersistence
Parameters:
companyId - the company ID
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
Returns:
the range of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByCompanyId

public List<LayoutFriendlyURL> findByCompanyId(long companyId,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns an ordered range of all the layout friendly u r ls where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutFriendlyURLModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByCompanyId in interface LayoutFriendlyURLPersistence
Parameters:
companyId - the company ID
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByCompanyId_First

public LayoutFriendlyURL findByCompanyId_First(long companyId,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchLayoutFriendlyURLException,
                                               SystemException
Returns the first layout friendly u r l in the ordered set where companyId = ?.

Specified by:
findByCompanyId_First in interface LayoutFriendlyURLPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
SystemException - if a system exception occurred

fetchByCompanyId_First

public LayoutFriendlyURL fetchByCompanyId_First(long companyId,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns the first layout friendly u r l in the ordered set where companyId = ?.

Specified by:
fetchByCompanyId_First in interface LayoutFriendlyURLPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

findByCompanyId_Last

public LayoutFriendlyURL findByCompanyId_Last(long companyId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchLayoutFriendlyURLException,
                                              SystemException
Returns the last layout friendly u r l in the ordered set where companyId = ?.

Specified by:
findByCompanyId_Last in interface LayoutFriendlyURLPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
SystemException - if a system exception occurred

fetchByCompanyId_Last

public LayoutFriendlyURL fetchByCompanyId_Last(long companyId,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns the last layout friendly u r l in the ordered set where companyId = ?.

Specified by:
fetchByCompanyId_Last in interface LayoutFriendlyURLPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

public LayoutFriendlyURL[] findByCompanyId_PrevAndNext(long layoutFriendlyURLId,
                                                       long companyId,
                                                       OrderByComparator orderByComparator)
                                                throws NoSuchLayoutFriendlyURLException,
                                                       SystemException
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where companyId = ?.

Specified by:
findByCompanyId_PrevAndNext in interface LayoutFriendlyURLPersistence
Parameters:
layoutFriendlyURLId - the primary key of the current layout friendly u r l
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
SystemException - if a system exception occurred

getByCompanyId_PrevAndNext

protected LayoutFriendlyURL getByCompanyId_PrevAndNext(Session session,
                                                       LayoutFriendlyURL layoutFriendlyURL,
                                                       long companyId,
                                                       OrderByComparator orderByComparator,
                                                       boolean previous)

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws SystemException
Removes all the layout friendly u r ls where companyId = ? from the database.

Specified by:
removeByCompanyId in interface LayoutFriendlyURLPersistence
Parameters:
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByCompanyId

public int countByCompanyId(long companyId)
                     throws SystemException
Returns the number of layout friendly u r ls where companyId = ?.

Specified by:
countByCompanyId in interface LayoutFriendlyURLPersistence
Parameters:
companyId - the company ID
Returns:
the number of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByPlid

public List<LayoutFriendlyURL> findByPlid(long plid)
                                   throws SystemException
Returns all the layout friendly u r ls where plid = ?.

Specified by:
findByPlid in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
Returns:
the matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByPlid

public List<LayoutFriendlyURL> findByPlid(long plid,
                                          int start,
                                          int end)
                                   throws SystemException
Returns a range of all the layout friendly u r ls where plid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutFriendlyURLModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByPlid in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
Returns:
the range of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByPlid

public List<LayoutFriendlyURL> findByPlid(long plid,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Returns an ordered range of all the layout friendly u r ls where plid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutFriendlyURLModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByPlid in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByPlid_First

public LayoutFriendlyURL findByPlid_First(long plid,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchLayoutFriendlyURLException,
                                          SystemException
Returns the first layout friendly u r l in the ordered set where plid = ?.

Specified by:
findByPlid_First in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
SystemException - if a system exception occurred

fetchByPlid_First

public LayoutFriendlyURL fetchByPlid_First(long plid,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns the first layout friendly u r l in the ordered set where plid = ?.

Specified by:
fetchByPlid_First in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

findByPlid_Last

public LayoutFriendlyURL findByPlid_Last(long plid,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchLayoutFriendlyURLException,
                                         SystemException
Returns the last layout friendly u r l in the ordered set where plid = ?.

Specified by:
findByPlid_Last in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
SystemException - if a system exception occurred

fetchByPlid_Last

public LayoutFriendlyURL fetchByPlid_Last(long plid,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Returns the last layout friendly u r l in the ordered set where plid = ?.

Specified by:
fetchByPlid_Last in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

findByPlid_PrevAndNext

public LayoutFriendlyURL[] findByPlid_PrevAndNext(long layoutFriendlyURLId,
                                                  long plid,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchLayoutFriendlyURLException,
                                                  SystemException
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where plid = ?.

Specified by:
findByPlid_PrevAndNext in interface LayoutFriendlyURLPersistence
Parameters:
layoutFriendlyURLId - the primary key of the current layout friendly u r l
plid - the plid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
SystemException - if a system exception occurred

getByPlid_PrevAndNext

protected LayoutFriendlyURL getByPlid_PrevAndNext(Session session,
                                                  LayoutFriendlyURL layoutFriendlyURL,
                                                  long plid,
                                                  OrderByComparator orderByComparator,
                                                  boolean previous)

removeByPlid

public void removeByPlid(long plid)
                  throws SystemException
Removes all the layout friendly u r ls where plid = ? from the database.

Specified by:
removeByPlid in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
Throws:
SystemException - if a system exception occurred

countByPlid

public int countByPlid(long plid)
                throws SystemException
Returns the number of layout friendly u r ls where plid = ?.

Specified by:
countByPlid in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
Returns:
the number of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByP_F

public List<LayoutFriendlyURL> findByP_F(long plid,
                                         String friendlyURL)
                                  throws SystemException
Returns all the layout friendly u r ls where plid = ? and friendlyURL = ?.

Specified by:
findByP_F in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
friendlyURL - the friendly u r l
Returns:
the matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByP_F

public List<LayoutFriendlyURL> findByP_F(long plid,
                                         String friendlyURL,
                                         int start,
                                         int end)
                                  throws SystemException
Returns a range of all the layout friendly u r ls where plid = ? and friendlyURL = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutFriendlyURLModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByP_F in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
friendlyURL - the friendly u r l
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
Returns:
the range of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByP_F

public List<LayoutFriendlyURL> findByP_F(long plid,
                                         String friendlyURL,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Returns an ordered range of all the layout friendly u r ls where plid = ? and friendlyURL = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutFriendlyURLModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByP_F in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
friendlyURL - the friendly u r l
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByP_F_First

public LayoutFriendlyURL findByP_F_First(long plid,
                                         String friendlyURL,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchLayoutFriendlyURLException,
                                         SystemException
Returns the first layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.

Specified by:
findByP_F_First in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
SystemException - if a system exception occurred

fetchByP_F_First

public LayoutFriendlyURL fetchByP_F_First(long plid,
                                          String friendlyURL,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Returns the first layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.

Specified by:
fetchByP_F_First in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

findByP_F_Last

public LayoutFriendlyURL findByP_F_Last(long plid,
                                        String friendlyURL,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchLayoutFriendlyURLException,
                                        SystemException
Returns the last layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.

Specified by:
findByP_F_Last in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
SystemException - if a system exception occurred

fetchByP_F_Last

public LayoutFriendlyURL fetchByP_F_Last(long plid,
                                         String friendlyURL,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Returns the last layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.

Specified by:
fetchByP_F_Last in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

findByP_F_PrevAndNext

public LayoutFriendlyURL[] findByP_F_PrevAndNext(long layoutFriendlyURLId,
                                                 long plid,
                                                 String friendlyURL,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchLayoutFriendlyURLException,
                                                 SystemException
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?.

Specified by:
findByP_F_PrevAndNext in interface LayoutFriendlyURLPersistence
Parameters:
layoutFriendlyURLId - the primary key of the current layout friendly u r l
plid - the plid
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
SystemException - if a system exception occurred

getByP_F_PrevAndNext

protected LayoutFriendlyURL getByP_F_PrevAndNext(Session session,
                                                 LayoutFriendlyURL layoutFriendlyURL,
                                                 long plid,
                                                 String friendlyURL,
                                                 OrderByComparator orderByComparator,
                                                 boolean previous)

removeByP_F

public void removeByP_F(long plid,
                        String friendlyURL)
                 throws SystemException
Removes all the layout friendly u r ls where plid = ? and friendlyURL = ? from the database.

Specified by:
removeByP_F in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
friendlyURL - the friendly u r l
Throws:
SystemException - if a system exception occurred

countByP_F

public int countByP_F(long plid,
                      String friendlyURL)
               throws SystemException
Returns the number of layout friendly u r ls where plid = ? and friendlyURL = ?.

Specified by:
countByP_F in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
friendlyURL - the friendly u r l
Returns:
the number of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByP_L

public LayoutFriendlyURL findByP_L(long plid,
                                   String languageId)
                            throws NoSuchLayoutFriendlyURLException,
                                   SystemException
Returns the layout friendly u r l where plid = ? and languageId = ? or throws a NoSuchLayoutFriendlyURLException if it could not be found.

Specified by:
findByP_L in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
languageId - the language ID
Returns:
the matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
SystemException - if a system exception occurred

fetchByP_L

public LayoutFriendlyURL fetchByP_L(long plid,
                                    String languageId)
                             throws SystemException
Returns the layout friendly u r l where plid = ? and languageId = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByP_L in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
languageId - the language ID
Returns:
the matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

fetchByP_L

public LayoutFriendlyURL fetchByP_L(long plid,
                                    String languageId,
                                    boolean retrieveFromCache)
                             throws SystemException
Returns the layout friendly u r l where plid = ? and languageId = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByP_L in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
languageId - the language ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

removeByP_L

public LayoutFriendlyURL removeByP_L(long plid,
                                     String languageId)
                              throws NoSuchLayoutFriendlyURLException,
                                     SystemException
Removes the layout friendly u r l where plid = ? and languageId = ? from the database.

Specified by:
removeByP_L in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
languageId - the language ID
Returns:
the layout friendly u r l that was removed
Throws:
SystemException - if a system exception occurred
NoSuchLayoutFriendlyURLException

countByP_L

public int countByP_L(long plid,
                      String languageId)
               throws SystemException
Returns the number of layout friendly u r ls where plid = ? and languageId = ?.

Specified by:
countByP_L in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
languageId - the language ID
Returns:
the number of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByG_P_F

public List<LayoutFriendlyURL> findByG_P_F(long groupId,
                                           boolean privateLayout,
                                           String friendlyURL)
                                    throws SystemException
Returns all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.

Specified by:
findByG_P_F in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
Returns:
the matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByG_P_F

public List<LayoutFriendlyURL> findByG_P_F(long groupId,
                                           boolean privateLayout,
                                           String friendlyURL,
                                           int start,
                                           int end)
                                    throws SystemException
Returns a range of all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutFriendlyURLModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_P_F in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
Returns:
the range of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByG_P_F

public List<LayoutFriendlyURL> findByG_P_F(long groupId,
                                           boolean privateLayout,
                                           String friendlyURL,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutFriendlyURLModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_P_F in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByG_P_F_First

public LayoutFriendlyURL findByG_P_F_First(long groupId,
                                           boolean privateLayout,
                                           String friendlyURL,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchLayoutFriendlyURLException,
                                           SystemException
Returns the first layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.

Specified by:
findByG_P_F_First in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
SystemException - if a system exception occurred

fetchByG_P_F_First

public LayoutFriendlyURL fetchByG_P_F_First(long groupId,
                                            boolean privateLayout,
                                            String friendlyURL,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns the first layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.

Specified by:
fetchByG_P_F_First in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_F_Last

public LayoutFriendlyURL findByG_P_F_Last(long groupId,
                                          boolean privateLayout,
                                          String friendlyURL,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchLayoutFriendlyURLException,
                                          SystemException
Returns the last layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.

Specified by:
findByG_P_F_Last in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
SystemException - if a system exception occurred

fetchByG_P_F_Last

public LayoutFriendlyURL fetchByG_P_F_Last(long groupId,
                                           boolean privateLayout,
                                           String friendlyURL,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns the last layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.

Specified by:
fetchByG_P_F_Last in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

findByG_P_F_PrevAndNext

public LayoutFriendlyURL[] findByG_P_F_PrevAndNext(long layoutFriendlyURLId,
                                                   long groupId,
                                                   boolean privateLayout,
                                                   String friendlyURL,
                                                   OrderByComparator orderByComparator)
                                            throws NoSuchLayoutFriendlyURLException,
                                                   SystemException
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.

Specified by:
findByG_P_F_PrevAndNext in interface LayoutFriendlyURLPersistence
Parameters:
layoutFriendlyURLId - the primary key of the current layout friendly u r l
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
SystemException - if a system exception occurred

getByG_P_F_PrevAndNext

protected LayoutFriendlyURL getByG_P_F_PrevAndNext(Session session,
                                                   LayoutFriendlyURL layoutFriendlyURL,
                                                   long groupId,
                                                   boolean privateLayout,
                                                   String friendlyURL,
                                                   OrderByComparator orderByComparator,
                                                   boolean previous)

removeByG_P_F

public void removeByG_P_F(long groupId,
                          boolean privateLayout,
                          String friendlyURL)
                   throws SystemException
Removes all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ? from the database.

Specified by:
removeByG_P_F in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
Throws:
SystemException - if a system exception occurred

countByG_P_F

public int countByG_P_F(long groupId,
                        boolean privateLayout,
                        String friendlyURL)
                 throws SystemException
Returns the number of layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.

Specified by:
countByG_P_F in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
Returns:
the number of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findByG_P_F_L

public LayoutFriendlyURL findByG_P_F_L(long groupId,
                                       boolean privateLayout,
                                       String friendlyURL,
                                       String languageId)
                                throws NoSuchLayoutFriendlyURLException,
                                       SystemException
Returns the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or throws a NoSuchLayoutFriendlyURLException if it could not be found.

Specified by:
findByG_P_F_L in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
languageId - the language ID
Returns:
the matching layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
SystemException - if a system exception occurred

fetchByG_P_F_L

public LayoutFriendlyURL fetchByG_P_F_L(long groupId,
                                        boolean privateLayout,
                                        String friendlyURL,
                                        String languageId)
                                 throws SystemException
Returns the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByG_P_F_L in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
languageId - the language ID
Returns:
the matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

fetchByG_P_F_L

public LayoutFriendlyURL fetchByG_P_F_L(long groupId,
                                        boolean privateLayout,
                                        String friendlyURL,
                                        String languageId,
                                        boolean retrieveFromCache)
                                 throws SystemException
Returns the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByG_P_F_L in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
languageId - the language ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching layout friendly u r l, or null if a matching layout friendly u r l could not be found
Throws:
SystemException - if a system exception occurred

removeByG_P_F_L

public LayoutFriendlyURL removeByG_P_F_L(long groupId,
                                         boolean privateLayout,
                                         String friendlyURL,
                                         String languageId)
                                  throws NoSuchLayoutFriendlyURLException,
                                         SystemException
Removes the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? from the database.

Specified by:
removeByG_P_F_L in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
languageId - the language ID
Returns:
the layout friendly u r l that was removed
Throws:
SystemException - if a system exception occurred
NoSuchLayoutFriendlyURLException

countByG_P_F_L

public int countByG_P_F_L(long groupId,
                          boolean privateLayout,
                          String friendlyURL,
                          String languageId)
                   throws SystemException
Returns the number of layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ?.

Specified by:
countByG_P_F_L in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l
languageId - the language ID
Returns:
the number of matching layout friendly u r ls
Throws:
SystemException - if a system exception occurred

cacheResult

public void cacheResult(LayoutFriendlyURL layoutFriendlyURL)
Caches the layout friendly u r l in the entity cache if it is enabled.

Specified by:
cacheResult in interface LayoutFriendlyURLPersistence
Parameters:
layoutFriendlyURL - the layout friendly u r l

cacheResult

public void cacheResult(List<LayoutFriendlyURL> layoutFriendlyURLs)
Caches the layout friendly u r ls in the entity cache if it is enabled.

Specified by:
cacheResult in interface LayoutFriendlyURLPersistence
Parameters:
layoutFriendlyURLs - the layout friendly u r ls

clearCache

public void clearCache()
Clears the cache for all layout friendly u r ls.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<LayoutFriendlyURL>
Overrides:
clearCache in class BasePersistenceImpl<LayoutFriendlyURL>

clearCache

public void clearCache(LayoutFriendlyURL layoutFriendlyURL)
Clears the cache for the layout friendly u r l.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<LayoutFriendlyURL>
Overrides:
clearCache in class BasePersistenceImpl<LayoutFriendlyURL>
Parameters:
layoutFriendlyURL - the instance of this model to clear the cache for

clearCache

public void clearCache(List<LayoutFriendlyURL> layoutFriendlyURLs)
Description copied from interface: BasePersistence
Clears the cache for a List instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<LayoutFriendlyURL>
Overrides:
clearCache in class BasePersistenceImpl<LayoutFriendlyURL>
Parameters:
layoutFriendlyURLs - the List instances of this model to clear the cache for

cacheUniqueFindersCache

protected void cacheUniqueFindersCache(LayoutFriendlyURL layoutFriendlyURL)

clearUniqueFindersCache

protected void clearUniqueFindersCache(LayoutFriendlyURL layoutFriendlyURL)

create

public LayoutFriendlyURL create(long layoutFriendlyURLId)
Creates a new layout friendly u r l with the primary key. Does not add the layout friendly u r l to the database.

Specified by:
create in interface LayoutFriendlyURLPersistence
Parameters:
layoutFriendlyURLId - the primary key for the new layout friendly u r l
Returns:
the new layout friendly u r l

remove

public LayoutFriendlyURL remove(long layoutFriendlyURLId)
                         throws NoSuchLayoutFriendlyURLException,
                                SystemException
Removes the layout friendly u r l with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface LayoutFriendlyURLPersistence
Parameters:
layoutFriendlyURLId - the primary key of the layout friendly u r l
Returns:
the layout friendly u r l that was removed
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
SystemException - if a system exception occurred

remove

public LayoutFriendlyURL remove(Serializable primaryKey)
                         throws NoSuchLayoutFriendlyURLException,
                                SystemException
Removes the layout friendly u r l with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<LayoutFriendlyURL>
Overrides:
remove in class BasePersistenceImpl<LayoutFriendlyURL>
Parameters:
primaryKey - the primary key of the layout friendly u r l
Returns:
the layout friendly u r l that was removed
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
SystemException - if a system exception occurred

removeImpl

protected LayoutFriendlyURL removeImpl(LayoutFriendlyURL layoutFriendlyURL)
                                throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<LayoutFriendlyURL>
Parameters:
layoutFriendlyURL - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public LayoutFriendlyURL updateImpl(LayoutFriendlyURL layoutFriendlyURL)
                             throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface LayoutFriendlyURLPersistence
Overrides:
updateImpl in class BasePersistenceImpl<LayoutFriendlyURL>
Parameters:
layoutFriendlyURL - the model instance to update
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected LayoutFriendlyURL toUnwrappedModel(LayoutFriendlyURL layoutFriendlyURL)

findByPrimaryKey

public LayoutFriendlyURL findByPrimaryKey(Serializable primaryKey)
                                   throws NoSuchLayoutFriendlyURLException,
                                          SystemException
Returns the layout friendly u r l with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<LayoutFriendlyURL>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<LayoutFriendlyURL>
Parameters:
primaryKey - the primary key of the layout friendly u r l
Returns:
the layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
SystemException - if a system exception occurred

findByPrimaryKey

public LayoutFriendlyURL findByPrimaryKey(long layoutFriendlyURLId)
                                   throws NoSuchLayoutFriendlyURLException,
                                          SystemException
Returns the layout friendly u r l with the primary key or throws a NoSuchLayoutFriendlyURLException if it could not be found.

Specified by:
findByPrimaryKey in interface LayoutFriendlyURLPersistence
Parameters:
layoutFriendlyURLId - the primary key of the layout friendly u r l
Returns:
the layout friendly u r l
Throws:
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public LayoutFriendlyURL fetchByPrimaryKey(Serializable primaryKey)
                                    throws SystemException
Returns the layout friendly u r l with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<LayoutFriendlyURL>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<LayoutFriendlyURL>
Parameters:
primaryKey - the primary key of the layout friendly u r l
Returns:
the layout friendly u r l, or null if a layout friendly u r l with the primary key could not be found
Throws:
SystemException - if a system exception occurred

fetchByPrimaryKey

public LayoutFriendlyURL fetchByPrimaryKey(long layoutFriendlyURLId)
                                    throws SystemException
Returns the layout friendly u r l with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface LayoutFriendlyURLPersistence
Parameters:
layoutFriendlyURLId - the primary key of the layout friendly u r l
Returns:
the layout friendly u r l, or null if a layout friendly u r l with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findAll

public List<LayoutFriendlyURL> findAll()
                                throws SystemException
Returns all the layout friendly u r ls.

Specified by:
findAll in interface LayoutFriendlyURLPersistence
Returns:
the layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findAll

public List<LayoutFriendlyURL> findAll(int start,
                                       int end)
                                throws SystemException
Returns a range of all the layout friendly u r ls.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutFriendlyURLModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findAll in interface LayoutFriendlyURLPersistence
Parameters:
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
Returns:
the range of layout friendly u r ls
Throws:
SystemException - if a system exception occurred

findAll

public List<LayoutFriendlyURL> findAll(int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Returns an ordered range of all the layout friendly u r ls.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutFriendlyURLModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findAll in interface LayoutFriendlyURLPersistence
Parameters:
start - the lower bound of the range of layout friendly u r ls
end - the upper bound of the range of layout friendly u r ls (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of layout friendly u r ls
Throws:
SystemException - if a system exception occurred

removeAll

public void removeAll()
               throws SystemException
Removes all the layout friendly u r ls from the database.

Specified by:
removeAll in interface LayoutFriendlyURLPersistence
Throws:
SystemException - if a system exception occurred

countAll

public int countAll()
             throws SystemException
Returns the number of layout friendly u r ls.

Specified by:
countAll in interface LayoutFriendlyURLPersistence
Returns:
the number of layout friendly u r ls
Throws:
SystemException - if a system exception occurred

getBadColumnNames

protected Set<String> getBadColumnNames()
Overrides:
getBadColumnNames in class BasePersistenceImpl<LayoutFriendlyURL>

afterPropertiesSet

public void afterPropertiesSet()
Initializes the layout friendly u r l persistence.


destroy

public void destroy()

Liferay 6.2-ce-ga5