Liferay 7.0-ce-b4

com.liferay.portal.service.persistence.impl
Class LayoutFriendlyURLPersistenceImpl

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

@ProviderType
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
protected  CompanyProvider companyProvider
           
protected  EntityCache entityCache
           
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
           
protected  FinderCache finderCache
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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(LayoutFriendlyURLModelImpl layoutFriendlyURLModelImpl, boolean isNew)
           
 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(LayoutFriendlyURLModelImpl layoutFriendlyURLModelImpl)
           
 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<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where companyId = ?.
 LayoutFriendlyURL fetchByCompanyId_Last(long companyId, OrderByComparator<LayoutFriendlyURL> 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<LayoutFriendlyURL> 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<LayoutFriendlyURL> 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<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where groupId = ?.
 LayoutFriendlyURL fetchByGroupId_Last(long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where groupId = ?.
 LayoutFriendlyURL fetchByP_F_First(long plid, String friendlyURL, OrderByComparator<LayoutFriendlyURL> 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<LayoutFriendlyURL> 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<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where plid = ?.
 LayoutFriendlyURL fetchByPlid_Last(long plid, OrderByComparator<LayoutFriendlyURL> 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.
 Map<Serializable,LayoutFriendlyURL> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
           
 LayoutFriendlyURL fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<LayoutFriendlyURL> 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<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where uuid = ? and companyId = ?.
 LayoutFriendlyURL fetchByUuid_First(String uuid, OrderByComparator<LayoutFriendlyURL> 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<LayoutFriendlyURL> 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<LayoutFriendlyURL> orderByComparator)
          Returns an ordered range of all the layout friendly u r ls.
 List<LayoutFriendlyURL> findAll(int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layout friendly u r ls.
 LayoutFriendlyURL findByCompanyId_First(long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where companyId = ?.
 LayoutFriendlyURL findByCompanyId_Last(long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where companyId = ?.
 LayoutFriendlyURL[] findByCompanyId_PrevAndNext(long layoutFriendlyURLId, long companyId, OrderByComparator<LayoutFriendlyURL> 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<LayoutFriendlyURL> orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where companyId = ?.
 List<LayoutFriendlyURL> findByCompanyId(long companyId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean retrieveFromCache)
          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<LayoutFriendlyURL> 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<LayoutFriendlyURL> 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<LayoutFriendlyURL> 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<LayoutFriendlyURL> orderByComparator)
          Returns an ordered 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<LayoutFriendlyURL> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?.
 LayoutFriendlyURL findByGroupId_First(long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where groupId = ?.
 LayoutFriendlyURL findByGroupId_Last(long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where groupId = ?.
 LayoutFriendlyURL[] findByGroupId_PrevAndNext(long layoutFriendlyURLId, long groupId, OrderByComparator<LayoutFriendlyURL> 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<LayoutFriendlyURL> orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where groupId = ?.
 List<LayoutFriendlyURL> findByGroupId(long groupId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layout friendly u r ls where groupId = ?.
 LayoutFriendlyURL findByP_F_First(long plid, String friendlyURL, OrderByComparator<LayoutFriendlyURL> 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<LayoutFriendlyURL> 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<LayoutFriendlyURL> 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<LayoutFriendlyURL> orderByComparator)
          Returns an ordered 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<LayoutFriendlyURL> orderByComparator, boolean retrieveFromCache)
          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<LayoutFriendlyURL> orderByComparator)
          Returns the first layout friendly u r l in the ordered set where plid = ?.
 LayoutFriendlyURL findByPlid_Last(long plid, OrderByComparator<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where plid = ?.
 LayoutFriendlyURL[] findByPlid_PrevAndNext(long layoutFriendlyURLId, long plid, OrderByComparator<LayoutFriendlyURL> 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<LayoutFriendlyURL> orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where plid = ?.
 List<LayoutFriendlyURL> findByPlid(long plid, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean retrieveFromCache)
          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<LayoutFriendlyURL> 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<LayoutFriendlyURL> 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<LayoutFriendlyURL> 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<LayoutFriendlyURL> orderByComparator)
          Returns an ordered 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<LayoutFriendlyURL> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layout friendly u r ls where uuid = ? and companyId = ?.
 LayoutFriendlyURL findByUuid_First(String uuid, OrderByComparator<LayoutFriendlyURL> 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<LayoutFriendlyURL> orderByComparator)
          Returns the last layout friendly u r l in the ordered set where uuid = ?.
 LayoutFriendlyURL[] findByUuid_PrevAndNext(long layoutFriendlyURLId, String uuid, OrderByComparator<LayoutFriendlyURL> 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<LayoutFriendlyURL> orderByComparator)
          Returns an ordered range of all the layout friendly u r ls where uuid = ?.
 List<LayoutFriendlyURL> findByUuid(String uuid, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the layout friendly u r ls where uuid = ?.
 Set<String> getBadColumnNames()
           
protected  LayoutFriendlyURL getByCompanyId_PrevAndNext(Session session, LayoutFriendlyURL layoutFriendlyURL, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean previous)
           
protected  LayoutFriendlyURL getByG_P_F_PrevAndNext(Session session, LayoutFriendlyURL layoutFriendlyURL, long groupId, boolean privateLayout, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean previous)
           
protected  LayoutFriendlyURL getByGroupId_PrevAndNext(Session session, LayoutFriendlyURL layoutFriendlyURL, long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean previous)
           
protected  LayoutFriendlyURL getByP_F_PrevAndNext(Session session, LayoutFriendlyURL layoutFriendlyURL, long plid, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean previous)
           
protected  LayoutFriendlyURL getByPlid_PrevAndNext(Session session, LayoutFriendlyURL layoutFriendlyURL, long plid, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean previous)
           
protected  LayoutFriendlyURL getByUuid_C_PrevAndNext(Session session, LayoutFriendlyURL layoutFriendlyURL, String uuid, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean previous)
           
protected  LayoutFriendlyURL getByUuid_PrevAndNext(Session session, LayoutFriendlyURL layoutFriendlyURL, String uuid, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean previous)
           
protected  Map<String,Integer> getTableColumnsMap()
           
 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, getColumnName, 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

companyProvider

@BeanReference(type=CompanyProviderWrapper.class)
protected CompanyProvider companyProvider

entityCache

protected EntityCache entityCache

finderCache

protected FinderCache finderCache
Constructor Detail

LayoutFriendlyURLPersistenceImpl

public LayoutFriendlyURLPersistenceImpl()
Method Detail

findByUuid

public List<LayoutFriendlyURL> findByUuid(String uuid)
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

findByUuid

public List<LayoutFriendlyURL> findByUuid(String uuid,
                                          int start,
                                          int end)
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

findByUuid

public List<LayoutFriendlyURL> findByUuid(String uuid,
                                          int start,
                                          int end,
                                          OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByUuid

public List<LayoutFriendlyURL> findByUuid(String uuid,
                                          int start,
                                          int end,
                                          OrderByComparator<LayoutFriendlyURL> orderByComparator,
                                          boolean retrieveFromCache)
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layout friendly u r ls

findByUuid_First

public LayoutFriendlyURL findByUuid_First(String uuid,
                                          OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                   throws NoSuchLayoutFriendlyURLException
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

fetchByUuid_First

public LayoutFriendlyURL fetchByUuid_First(String uuid,
                                           OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByUuid_Last

public LayoutFriendlyURL findByUuid_Last(String uuid,
                                         OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                  throws NoSuchLayoutFriendlyURLException
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

fetchByUuid_Last

public LayoutFriendlyURL fetchByUuid_Last(String uuid,
                                          OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByUuid_PrevAndNext

public LayoutFriendlyURL[] findByUuid_PrevAndNext(long layoutFriendlyURLId,
                                                  String uuid,
                                                  OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                           throws NoSuchLayoutFriendlyURLException
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

getByUuid_PrevAndNext

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

removeByUuid

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

Specified by:
removeByUuid in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid

countByUuid

public int countByUuid(String uuid)
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

findByUUID_G

public LayoutFriendlyURL findByUUID_G(String uuid,
                                      long groupId)
                               throws NoSuchLayoutFriendlyURLException
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

fetchByUUID_G

public 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. 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

fetchByUUID_G

public 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.

Specified by:
fetchByUUID_G in interface LayoutFriendlyURLPersistence
Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to retrieve from 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

removeByUUID_G

public LayoutFriendlyURL removeByUUID_G(String uuid,
                                        long groupId)
                                 throws NoSuchLayoutFriendlyURLException
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:
NoSuchLayoutFriendlyURLException

countByUUID_G

public int countByUUID_G(String uuid,
                         long groupId)
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

findByUuid_C

public List<LayoutFriendlyURL> findByUuid_C(String uuid,
                                            long companyId)
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

findByUuid_C

public 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 = ?.

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

findByUuid_C

public List<LayoutFriendlyURL> findByUuid_C(String uuid,
                                            long companyId,
                                            int start,
                                            int end,
                                            OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByUuid_C

public List<LayoutFriendlyURL> findByUuid_C(String uuid,
                                            long companyId,
                                            int start,
                                            int end,
                                            OrderByComparator<LayoutFriendlyURL> orderByComparator,
                                            boolean retrieveFromCache)
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layout friendly u r ls

findByUuid_C_First

public LayoutFriendlyURL findByUuid_C_First(String uuid,
                                            long companyId,
                                            OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                     throws NoSuchLayoutFriendlyURLException
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

fetchByUuid_C_First

public LayoutFriendlyURL fetchByUuid_C_First(String uuid,
                                             long companyId,
                                             OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByUuid_C_Last

public LayoutFriendlyURL findByUuid_C_Last(String uuid,
                                           long companyId,
                                           OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                    throws NoSuchLayoutFriendlyURLException
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

fetchByUuid_C_Last

public LayoutFriendlyURL fetchByUuid_C_Last(String uuid,
                                            long companyId,
                                            OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByUuid_C_PrevAndNext

public LayoutFriendlyURL[] findByUuid_C_PrevAndNext(long layoutFriendlyURLId,
                                                    String uuid,
                                                    long companyId,
                                                    OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                             throws NoSuchLayoutFriendlyURLException
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

getByUuid_C_PrevAndNext

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

removeByUuid_C

public void removeByUuid_C(String uuid,
                           long companyId)
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

countByUuid_C

public int countByUuid_C(String uuid,
                         long companyId)
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

findByGroupId

public List<LayoutFriendlyURL> findByGroupId(long groupId)
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

findByGroupId

public List<LayoutFriendlyURL> findByGroupId(long groupId,
                                             int start,
                                             int end)
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

findByGroupId

public List<LayoutFriendlyURL> findByGroupId(long groupId,
                                             int start,
                                             int end,
                                             OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByGroupId

public List<LayoutFriendlyURL> findByGroupId(long groupId,
                                             int start,
                                             int end,
                                             OrderByComparator<LayoutFriendlyURL> orderByComparator,
                                             boolean retrieveFromCache)
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layout friendly u r ls

findByGroupId_First

public LayoutFriendlyURL findByGroupId_First(long groupId,
                                             OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                      throws NoSuchLayoutFriendlyURLException
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

fetchByGroupId_First

public LayoutFriendlyURL fetchByGroupId_First(long groupId,
                                              OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByGroupId_Last

public LayoutFriendlyURL findByGroupId_Last(long groupId,
                                            OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                     throws NoSuchLayoutFriendlyURLException
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

fetchByGroupId_Last

public LayoutFriendlyURL fetchByGroupId_Last(long groupId,
                                             OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByGroupId_PrevAndNext

public LayoutFriendlyURL[] findByGroupId_PrevAndNext(long layoutFriendlyURLId,
                                                     long groupId,
                                                     OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                              throws NoSuchLayoutFriendlyURLException
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

getByGroupId_PrevAndNext

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

removeByGroupId

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

Specified by:
removeByGroupId in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID

countByGroupId

public int countByGroupId(long groupId)
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

findByCompanyId

public List<LayoutFriendlyURL> findByCompanyId(long companyId)
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

findByCompanyId

public List<LayoutFriendlyURL> findByCompanyId(long companyId,
                                               int start,
                                               int end)
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

findByCompanyId

public List<LayoutFriendlyURL> findByCompanyId(long companyId,
                                               int start,
                                               int end,
                                               OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByCompanyId

public List<LayoutFriendlyURL> findByCompanyId(long companyId,
                                               int start,
                                               int end,
                                               OrderByComparator<LayoutFriendlyURL> orderByComparator,
                                               boolean retrieveFromCache)
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layout friendly u r ls

findByCompanyId_First

public LayoutFriendlyURL findByCompanyId_First(long companyId,
                                               OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                        throws NoSuchLayoutFriendlyURLException
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

fetchByCompanyId_First

public LayoutFriendlyURL fetchByCompanyId_First(long companyId,
                                                OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByCompanyId_Last

public LayoutFriendlyURL findByCompanyId_Last(long companyId,
                                              OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                       throws NoSuchLayoutFriendlyURLException
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

fetchByCompanyId_Last

public LayoutFriendlyURL fetchByCompanyId_Last(long companyId,
                                               OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByCompanyId_PrevAndNext

public LayoutFriendlyURL[] findByCompanyId_PrevAndNext(long layoutFriendlyURLId,
                                                       long companyId,
                                                       OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                                throws NoSuchLayoutFriendlyURLException
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

getByCompanyId_PrevAndNext

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

removeByCompanyId

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

Specified by:
removeByCompanyId in interface LayoutFriendlyURLPersistence
Parameters:
companyId - the company ID

countByCompanyId

public int countByCompanyId(long companyId)
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

findByPlid

public List<LayoutFriendlyURL> findByPlid(long plid)
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

findByPlid

public List<LayoutFriendlyURL> findByPlid(long plid,
                                          int start,
                                          int end)
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

findByPlid

public List<LayoutFriendlyURL> findByPlid(long plid,
                                          int start,
                                          int end,
                                          OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByPlid

public List<LayoutFriendlyURL> findByPlid(long plid,
                                          int start,
                                          int end,
                                          OrderByComparator<LayoutFriendlyURL> orderByComparator,
                                          boolean retrieveFromCache)
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layout friendly u r ls

findByPlid_First

public LayoutFriendlyURL findByPlid_First(long plid,
                                          OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                   throws NoSuchLayoutFriendlyURLException
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

fetchByPlid_First

public LayoutFriendlyURL fetchByPlid_First(long plid,
                                           OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByPlid_Last

public LayoutFriendlyURL findByPlid_Last(long plid,
                                         OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                  throws NoSuchLayoutFriendlyURLException
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

fetchByPlid_Last

public LayoutFriendlyURL fetchByPlid_Last(long plid,
                                          OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByPlid_PrevAndNext

public LayoutFriendlyURL[] findByPlid_PrevAndNext(long layoutFriendlyURLId,
                                                  long plid,
                                                  OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                           throws NoSuchLayoutFriendlyURLException
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

getByPlid_PrevAndNext

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

removeByPlid

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

Specified by:
removeByPlid in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid

countByPlid

public int countByPlid(long plid)
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

findByP_F

public List<LayoutFriendlyURL> findByP_F(long plid,
                                         String friendlyURL)
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

findByP_F

public 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 = ?.

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

findByP_F

public List<LayoutFriendlyURL> findByP_F(long plid,
                                         String friendlyURL,
                                         int start,
                                         int end,
                                         OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByP_F

public List<LayoutFriendlyURL> findByP_F(long plid,
                                         String friendlyURL,
                                         int start,
                                         int end,
                                         OrderByComparator<LayoutFriendlyURL> orderByComparator,
                                         boolean retrieveFromCache)
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layout friendly u r ls

findByP_F_First

public LayoutFriendlyURL findByP_F_First(long plid,
                                         String friendlyURL,
                                         OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                  throws NoSuchLayoutFriendlyURLException
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

fetchByP_F_First

public LayoutFriendlyURL fetchByP_F_First(long plid,
                                          String friendlyURL,
                                          OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByP_F_Last

public LayoutFriendlyURL findByP_F_Last(long plid,
                                        String friendlyURL,
                                        OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                 throws NoSuchLayoutFriendlyURLException
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

fetchByP_F_Last

public LayoutFriendlyURL fetchByP_F_Last(long plid,
                                         String friendlyURL,
                                         OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByP_F_PrevAndNext

public LayoutFriendlyURL[] findByP_F_PrevAndNext(long layoutFriendlyURLId,
                                                 long plid,
                                                 String friendlyURL,
                                                 OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                          throws NoSuchLayoutFriendlyURLException
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

getByP_F_PrevAndNext

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

removeByP_F

public void removeByP_F(long plid,
                        String friendlyURL)
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

countByP_F

public int countByP_F(long plid,
                      String friendlyURL)
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

findByP_L

public LayoutFriendlyURL findByP_L(long plid,
                                   String languageId)
                            throws NoSuchLayoutFriendlyURLException
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

fetchByP_L

public 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. 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

fetchByP_L

public 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.

Specified by:
fetchByP_L in interface LayoutFriendlyURLPersistence
Parameters:
plid - the plid
languageId - the language ID
retrieveFromCache - whether to retrieve from 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

removeByP_L

public LayoutFriendlyURL removeByP_L(long plid,
                                     String languageId)
                              throws NoSuchLayoutFriendlyURLException
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:
NoSuchLayoutFriendlyURLException

countByP_L

public int countByP_L(long plid,
                      String languageId)
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

findByG_P_F

public 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 = ?.

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

findByG_P_F

public 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 = ?.

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

findByG_P_F

public List<LayoutFriendlyURL> findByG_P_F(long groupId,
                                           boolean privateLayout,
                                           String friendlyURL,
                                           int start,
                                           int end,
                                           OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByG_P_F

public List<LayoutFriendlyURL> findByG_P_F(long groupId,
                                           boolean privateLayout,
                                           String friendlyURL,
                                           int start,
                                           int end,
                                           OrderByComparator<LayoutFriendlyURL> orderByComparator,
                                           boolean retrieveFromCache)
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching layout friendly u r ls

findByG_P_F_First

public LayoutFriendlyURL findByG_P_F_First(long groupId,
                                           boolean privateLayout,
                                           String friendlyURL,
                                           OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                    throws NoSuchLayoutFriendlyURLException
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

fetchByG_P_F_First

public LayoutFriendlyURL fetchByG_P_F_First(long groupId,
                                            boolean privateLayout,
                                            String friendlyURL,
                                            OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByG_P_F_Last

public LayoutFriendlyURL findByG_P_F_Last(long groupId,
                                          boolean privateLayout,
                                          String friendlyURL,
                                          OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                   throws NoSuchLayoutFriendlyURLException
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

fetchByG_P_F_Last

public LayoutFriendlyURL fetchByG_P_F_Last(long groupId,
                                           boolean privateLayout,
                                           String friendlyURL,
                                           OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findByG_P_F_PrevAndNext

public LayoutFriendlyURL[] findByG_P_F_PrevAndNext(long layoutFriendlyURLId,
                                                   long groupId,
                                                   boolean privateLayout,
                                                   String friendlyURL,
                                                   OrderByComparator<LayoutFriendlyURL> orderByComparator)
                                            throws NoSuchLayoutFriendlyURLException
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

getByG_P_F_PrevAndNext

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

removeByG_P_F

public 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.

Specified by:
removeByG_P_F in interface LayoutFriendlyURLPersistence
Parameters:
groupId - the group ID
privateLayout - the private layout
friendlyURL - the friendly u r l

countByG_P_F

public 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 = ?.

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

findByG_P_F_L

public LayoutFriendlyURL findByG_P_F_L(long groupId,
                                       boolean privateLayout,
                                       String friendlyURL,
                                       String languageId)
                                throws NoSuchLayoutFriendlyURLException
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

fetchByG_P_F_L

public 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. 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

fetchByG_P_F_L

public 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.

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 retrieve from 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

removeByG_P_F_L

public LayoutFriendlyURL removeByG_P_F_L(long groupId,
                                         boolean privateLayout,
                                         String friendlyURL,
                                         String languageId)
                                  throws NoSuchLayoutFriendlyURLException
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:
NoSuchLayoutFriendlyURLException

countByG_P_F_L

public 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 = ?.

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

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(LayoutFriendlyURLModelImpl layoutFriendlyURLModelImpl,
                                       boolean isNew)

clearUniqueFindersCache

protected void clearUniqueFindersCache(LayoutFriendlyURLModelImpl layoutFriendlyURLModelImpl)

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
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

remove

public LayoutFriendlyURL remove(Serializable primaryKey)
                         throws NoSuchLayoutFriendlyURLException
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

removeImpl

protected LayoutFriendlyURL removeImpl(LayoutFriendlyURL layoutFriendlyURL)
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

updateImpl

public LayoutFriendlyURL updateImpl(LayoutFriendlyURL layoutFriendlyURL)
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

toUnwrappedModel

protected LayoutFriendlyURL toUnwrappedModel(LayoutFriendlyURL layoutFriendlyURL)

findByPrimaryKey

public LayoutFriendlyURL findByPrimaryKey(Serializable primaryKey)
                                   throws NoSuchLayoutFriendlyURLException
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

findByPrimaryKey

public LayoutFriendlyURL findByPrimaryKey(long layoutFriendlyURLId)
                                   throws NoSuchLayoutFriendlyURLException
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

fetchByPrimaryKey

public LayoutFriendlyURL fetchByPrimaryKey(Serializable primaryKey)
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

fetchByPrimaryKey

public LayoutFriendlyURL fetchByPrimaryKey(long layoutFriendlyURLId)
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

fetchByPrimaryKeys

public Map<Serializable,LayoutFriendlyURL> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Specified by:
fetchByPrimaryKeys in interface BasePersistence<LayoutFriendlyURL>
Specified by:
fetchByPrimaryKeys in interface LayoutFriendlyURLPersistence
Overrides:
fetchByPrimaryKeys in class BasePersistenceImpl<LayoutFriendlyURL>

findAll

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

Specified by:
findAll in interface LayoutFriendlyURLPersistence
Returns:
the layout friendly u r ls

findAll

public List<LayoutFriendlyURL> findAll(int start,
                                       int end)
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

findAll

public List<LayoutFriendlyURL> findAll(int start,
                                       int end,
                                       OrderByComparator<LayoutFriendlyURL> orderByComparator)
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

findAll

public List<LayoutFriendlyURL> findAll(int start,
                                       int end,
                                       OrderByComparator<LayoutFriendlyURL> orderByComparator,
                                       boolean retrieveFromCache)
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of layout friendly u r ls

removeAll

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

Specified by:
removeAll in interface LayoutFriendlyURLPersistence

countAll

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

Specified by:
countAll in interface LayoutFriendlyURLPersistence
Returns:
the number of layout friendly u r ls

getBadColumnNames

public Set<String> getBadColumnNames()
Specified by:
getBadColumnNames in interface BasePersistence<LayoutFriendlyURL>
Specified by:
getBadColumnNames in interface LayoutFriendlyURLPersistence
Overrides:
getBadColumnNames in class BasePersistenceImpl<LayoutFriendlyURL>

getTableColumnsMap

protected Map<String,Integer> getTableColumnsMap()
Overrides:
getTableColumnsMap in class BasePersistenceImpl<LayoutFriendlyURL>

afterPropertiesSet

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


destroy

public void destroy()

Liferay 7.0-ce-b4