|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<LayoutFriendlyURL>
com.liferay.portal.service.persistence.impl.LayoutFriendlyURLPersistenceImpl
@ProviderType public class LayoutFriendlyURLPersistenceImpl
The persistence implementation for the layout friendly u r l service.
Caching information and settings can be found in portal.properties
LayoutFriendlyURLPersistence,
LayoutFriendlyURLUtil| 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 |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PLID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PLID
public static final FinderPath FINDER_PATH_COUNT_BY_PLID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_P_F
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_P_F
public static final FinderPath FINDER_PATH_COUNT_BY_P_F
public static final FinderPath FINDER_PATH_FETCH_BY_P_L
public static final FinderPath FINDER_PATH_COUNT_BY_P_L
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_F
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_F
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_F
public static final FinderPath FINDER_PATH_FETCH_BY_G_P_F_L
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_F_L
@BeanReference(type=CompanyProviderWrapper.class) protected CompanyProvider companyProvider
protected EntityCache entityCache
protected FinderCache finderCache
| Constructor Detail |
|---|
public LayoutFriendlyURLPersistenceImpl()
| Method Detail |
|---|
public List<LayoutFriendlyURL> findByUuid(String uuid)
findByUuid in interface LayoutFriendlyURLPersistenceuuid - the uuid
public List<LayoutFriendlyURL> findByUuid(String uuid,
int start,
int end)
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.
findByUuid in interface LayoutFriendlyURLPersistenceuuid - the uuidstart - the lower bound of the range of layout friendly u r lsend - the upper bound of the range of layout friendly u r ls (not inclusive)
public List<LayoutFriendlyURL> findByUuid(String uuid,
int start,
int end,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
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.
findByUuid in interface LayoutFriendlyURLPersistenceuuid - the uuidstart - the lower bound of the range of layout friendly u r lsend - the upper bound of the range of layout friendly u r ls (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<LayoutFriendlyURL> findByUuid(String uuid,
int start,
int end,
OrderByComparator<LayoutFriendlyURL> orderByComparator,
boolean retrieveFromCache)
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.
findByUuid in interface LayoutFriendlyURLPersistenceuuid - the uuidstart - the lower bound of the range of layout friendly u r lsend - 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
public LayoutFriendlyURL findByUuid_First(String uuid,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByUuid_First in interface LayoutFriendlyURLPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByUuid_First(String uuid,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
fetchByUuid_First in interface LayoutFriendlyURLPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL findByUuid_Last(String uuid,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByUuid_Last in interface LayoutFriendlyURLPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByUuid_Last(String uuid,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
fetchByUuid_Last in interface LayoutFriendlyURLPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL[] findByUuid_PrevAndNext(long layoutFriendlyURLId,
String uuid,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByUuid_PrevAndNext in interface LayoutFriendlyURLPersistencelayoutFriendlyURLId - the primary key of the current layout friendly u r luuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
protected LayoutFriendlyURL getByUuid_PrevAndNext(Session session,
LayoutFriendlyURL layoutFriendlyURL,
String uuid,
OrderByComparator<LayoutFriendlyURL> orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
removeByUuid in interface LayoutFriendlyURLPersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface LayoutFriendlyURLPersistenceuuid - the uuid
public LayoutFriendlyURL findByUUID_G(String uuid,
long groupId)
throws NoSuchLayoutFriendlyURLException
NoSuchLayoutFriendlyURLException if it could not be found.
findByUUID_G in interface LayoutFriendlyURLPersistenceuuid - the uuidgroupId - the group ID
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByUUID_G(String uuid,
long groupId)
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface LayoutFriendlyURLPersistenceuuid - the uuidgroupId - the group ID
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByUUID_G in interface LayoutFriendlyURLPersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL removeByUUID_G(String uuid,
long groupId)
throws NoSuchLayoutFriendlyURLException
removeByUUID_G in interface LayoutFriendlyURLPersistenceuuid - the uuidgroupId - the group ID
NoSuchLayoutFriendlyURLException
public int countByUUID_G(String uuid,
long groupId)
countByUUID_G in interface LayoutFriendlyURLPersistenceuuid - the uuidgroupId - the group ID
public List<LayoutFriendlyURL> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface LayoutFriendlyURLPersistenceuuid - the uuidcompanyId - the company ID
public List<LayoutFriendlyURL> findByUuid_C(String uuid,
long companyId,
int start,
int end)
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.
findByUuid_C in interface LayoutFriendlyURLPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of layout friendly u r lsend - the upper bound of the range of layout friendly u r ls (not inclusive)
public List<LayoutFriendlyURL> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
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.
findByUuid_C in interface LayoutFriendlyURLPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of layout friendly u r lsend - the upper bound of the range of layout friendly u r ls (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<LayoutFriendlyURL> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<LayoutFriendlyURL> orderByComparator,
boolean retrieveFromCache)
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.
findByUuid_C in interface LayoutFriendlyURLPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of layout friendly u r lsend - 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
public LayoutFriendlyURL findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByUuid_C_First in interface LayoutFriendlyURLPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
fetchByUuid_C_First in interface LayoutFriendlyURLPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByUuid_C_Last in interface LayoutFriendlyURLPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
fetchByUuid_C_Last in interface LayoutFriendlyURLPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL[] findByUuid_C_PrevAndNext(long layoutFriendlyURLId,
String uuid,
long companyId,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByUuid_C_PrevAndNext in interface LayoutFriendlyURLPersistencelayoutFriendlyURLId - the primary key of the current layout friendly u r luuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
protected LayoutFriendlyURL getByUuid_C_PrevAndNext(Session session,
LayoutFriendlyURL layoutFriendlyURL,
String uuid,
long companyId,
OrderByComparator<LayoutFriendlyURL> orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface LayoutFriendlyURLPersistenceuuid - the uuidcompanyId - the company ID
public int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface LayoutFriendlyURLPersistenceuuid - the uuidcompanyId - the company ID
public List<LayoutFriendlyURL> findByGroupId(long groupId)
findByGroupId in interface LayoutFriendlyURLPersistencegroupId - the group ID
public List<LayoutFriendlyURL> findByGroupId(long groupId,
int start,
int end)
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.
findByGroupId in interface LayoutFriendlyURLPersistencegroupId - the group IDstart - the lower bound of the range of layout friendly u r lsend - the upper bound of the range of layout friendly u r ls (not inclusive)
public List<LayoutFriendlyURL> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
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.
findByGroupId in interface LayoutFriendlyURLPersistencegroupId - the group IDstart - the lower bound of the range of layout friendly u r lsend - the upper bound of the range of layout friendly u r ls (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<LayoutFriendlyURL> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<LayoutFriendlyURL> orderByComparator,
boolean retrieveFromCache)
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.
findByGroupId in interface LayoutFriendlyURLPersistencegroupId - the group IDstart - the lower bound of the range of layout friendly u r lsend - 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
public LayoutFriendlyURL findByGroupId_First(long groupId,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByGroupId_First in interface LayoutFriendlyURLPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByGroupId_First(long groupId,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
fetchByGroupId_First in interface LayoutFriendlyURLPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL findByGroupId_Last(long groupId,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByGroupId_Last in interface LayoutFriendlyURLPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByGroupId_Last(long groupId,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
fetchByGroupId_Last in interface LayoutFriendlyURLPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL[] findByGroupId_PrevAndNext(long layoutFriendlyURLId,
long groupId,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByGroupId_PrevAndNext in interface LayoutFriendlyURLPersistencelayoutFriendlyURLId - the primary key of the current layout friendly u r lgroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
protected LayoutFriendlyURL getByGroupId_PrevAndNext(Session session,
LayoutFriendlyURL layoutFriendlyURL,
long groupId,
OrderByComparator<LayoutFriendlyURL> orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId in interface LayoutFriendlyURLPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface LayoutFriendlyURLPersistencegroupId - the group ID
public List<LayoutFriendlyURL> findByCompanyId(long companyId)
findByCompanyId in interface LayoutFriendlyURLPersistencecompanyId - the company ID
public List<LayoutFriendlyURL> findByCompanyId(long companyId,
int start,
int end)
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.
findByCompanyId in interface LayoutFriendlyURLPersistencecompanyId - the company IDstart - the lower bound of the range of layout friendly u r lsend - the upper bound of the range of layout friendly u r ls (not inclusive)
public List<LayoutFriendlyURL> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
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.
findByCompanyId in interface LayoutFriendlyURLPersistencecompanyId - the company IDstart - the lower bound of the range of layout friendly u r lsend - the upper bound of the range of layout friendly u r ls (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<LayoutFriendlyURL> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<LayoutFriendlyURL> orderByComparator,
boolean retrieveFromCache)
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.
findByCompanyId in interface LayoutFriendlyURLPersistencecompanyId - the company IDstart - the lower bound of the range of layout friendly u r lsend - 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
public LayoutFriendlyURL findByCompanyId_First(long companyId,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByCompanyId_First in interface LayoutFriendlyURLPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByCompanyId_First(long companyId,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
fetchByCompanyId_First in interface LayoutFriendlyURLPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL findByCompanyId_Last(long companyId,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByCompanyId_Last in interface LayoutFriendlyURLPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByCompanyId_Last(long companyId,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
fetchByCompanyId_Last in interface LayoutFriendlyURLPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL[] findByCompanyId_PrevAndNext(long layoutFriendlyURLId,
long companyId,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByCompanyId_PrevAndNext in interface LayoutFriendlyURLPersistencelayoutFriendlyURLId - the primary key of the current layout friendly u r lcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
protected LayoutFriendlyURL getByCompanyId_PrevAndNext(Session session,
LayoutFriendlyURL layoutFriendlyURL,
long companyId,
OrderByComparator<LayoutFriendlyURL> orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface LayoutFriendlyURLPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface LayoutFriendlyURLPersistencecompanyId - the company ID
public List<LayoutFriendlyURL> findByPlid(long plid)
findByPlid in interface LayoutFriendlyURLPersistenceplid - the plid
public List<LayoutFriendlyURL> findByPlid(long plid,
int start,
int end)
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.
findByPlid in interface LayoutFriendlyURLPersistenceplid - the plidstart - the lower bound of the range of layout friendly u r lsend - the upper bound of the range of layout friendly u r ls (not inclusive)
public List<LayoutFriendlyURL> findByPlid(long plid,
int start,
int end,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
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.
findByPlid in interface LayoutFriendlyURLPersistenceplid - the plidstart - the lower bound of the range of layout friendly u r lsend - the upper bound of the range of layout friendly u r ls (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<LayoutFriendlyURL> findByPlid(long plid,
int start,
int end,
OrderByComparator<LayoutFriendlyURL> orderByComparator,
boolean retrieveFromCache)
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.
findByPlid in interface LayoutFriendlyURLPersistenceplid - the plidstart - the lower bound of the range of layout friendly u r lsend - 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
public LayoutFriendlyURL findByPlid_First(long plid,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByPlid_First in interface LayoutFriendlyURLPersistenceplid - the plidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByPlid_First(long plid,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
fetchByPlid_First in interface LayoutFriendlyURLPersistenceplid - the plidorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL findByPlid_Last(long plid,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByPlid_Last in interface LayoutFriendlyURLPersistenceplid - the plidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByPlid_Last(long plid,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
fetchByPlid_Last in interface LayoutFriendlyURLPersistenceplid - the plidorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL[] findByPlid_PrevAndNext(long layoutFriendlyURLId,
long plid,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByPlid_PrevAndNext in interface LayoutFriendlyURLPersistencelayoutFriendlyURLId - the primary key of the current layout friendly u r lplid - the plidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
protected LayoutFriendlyURL getByPlid_PrevAndNext(Session session,
LayoutFriendlyURL layoutFriendlyURL,
long plid,
OrderByComparator<LayoutFriendlyURL> orderByComparator,
boolean previous)
public void removeByPlid(long plid)
removeByPlid in interface LayoutFriendlyURLPersistenceplid - the plidpublic int countByPlid(long plid)
countByPlid in interface LayoutFriendlyURLPersistenceplid - the plid
public List<LayoutFriendlyURL> findByP_F(long plid,
String friendlyURL)
findByP_F in interface LayoutFriendlyURLPersistenceplid - the plidfriendlyURL - the friendly u r l
public List<LayoutFriendlyURL> findByP_F(long plid,
String friendlyURL,
int start,
int end)
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.
findByP_F in interface LayoutFriendlyURLPersistenceplid - the plidfriendlyURL - the friendly u r lstart - the lower bound of the range of layout friendly u r lsend - the upper bound of the range of layout friendly u r ls (not inclusive)
public List<LayoutFriendlyURL> findByP_F(long plid,
String friendlyURL,
int start,
int end,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
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.
findByP_F in interface LayoutFriendlyURLPersistenceplid - the plidfriendlyURL - the friendly u r lstart - the lower bound of the range of layout friendly u r lsend - the upper bound of the range of layout friendly u r ls (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<LayoutFriendlyURL> findByP_F(long plid,
String friendlyURL,
int start,
int end,
OrderByComparator<LayoutFriendlyURL> orderByComparator,
boolean retrieveFromCache)
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.
findByP_F in interface LayoutFriendlyURLPersistenceplid - the plidfriendlyURL - the friendly u r lstart - the lower bound of the range of layout friendly u r lsend - 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
public LayoutFriendlyURL findByP_F_First(long plid,
String friendlyURL,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByP_F_First in interface LayoutFriendlyURLPersistenceplid - the plidfriendlyURL - the friendly u r lorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByP_F_First(long plid,
String friendlyURL,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
fetchByP_F_First in interface LayoutFriendlyURLPersistenceplid - the plidfriendlyURL - the friendly u r lorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL findByP_F_Last(long plid,
String friendlyURL,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByP_F_Last in interface LayoutFriendlyURLPersistenceplid - the plidfriendlyURL - the friendly u r lorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByP_F_Last(long plid,
String friendlyURL,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
fetchByP_F_Last in interface LayoutFriendlyURLPersistenceplid - the plidfriendlyURL - the friendly u r lorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL[] findByP_F_PrevAndNext(long layoutFriendlyURLId,
long plid,
String friendlyURL,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByP_F_PrevAndNext in interface LayoutFriendlyURLPersistencelayoutFriendlyURLId - the primary key of the current layout friendly u r lplid - the plidfriendlyURL - the friendly u r lorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
protected LayoutFriendlyURL getByP_F_PrevAndNext(Session session,
LayoutFriendlyURL layoutFriendlyURL,
long plid,
String friendlyURL,
OrderByComparator<LayoutFriendlyURL> orderByComparator,
boolean previous)
public void removeByP_F(long plid,
String friendlyURL)
removeByP_F in interface LayoutFriendlyURLPersistenceplid - the plidfriendlyURL - the friendly u r l
public int countByP_F(long plid,
String friendlyURL)
countByP_F in interface LayoutFriendlyURLPersistenceplid - the plidfriendlyURL - the friendly u r l
public LayoutFriendlyURL findByP_L(long plid,
String languageId)
throws NoSuchLayoutFriendlyURLException
NoSuchLayoutFriendlyURLException if it could not be found.
findByP_L in interface LayoutFriendlyURLPersistenceplid - the plidlanguageId - the language ID
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByP_L(long plid,
String languageId)
null if it could not be found. Uses the finder cache.
fetchByP_L in interface LayoutFriendlyURLPersistenceplid - the plidlanguageId - the language ID
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByP_L(long plid,
String languageId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByP_L in interface LayoutFriendlyURLPersistenceplid - the plidlanguageId - the language IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL removeByP_L(long plid,
String languageId)
throws NoSuchLayoutFriendlyURLException
removeByP_L in interface LayoutFriendlyURLPersistenceplid - the plidlanguageId - the language ID
NoSuchLayoutFriendlyURLException
public int countByP_L(long plid,
String languageId)
countByP_L in interface LayoutFriendlyURLPersistenceplid - the plidlanguageId - the language ID
public List<LayoutFriendlyURL> findByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
findByG_P_F in interface LayoutFriendlyURLPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r l
public List<LayoutFriendlyURL> findByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL,
int start,
int end)
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.
findByG_P_F in interface LayoutFriendlyURLPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r lstart - the lower bound of the range of layout friendly u r lsend - the upper bound of the range of layout friendly u r ls (not inclusive)
public List<LayoutFriendlyURL> findByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL,
int start,
int end,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
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.
findByG_P_F in interface LayoutFriendlyURLPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r lstart - the lower bound of the range of layout friendly u r lsend - the upper bound of the range of layout friendly u r ls (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<LayoutFriendlyURL> findByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL,
int start,
int end,
OrderByComparator<LayoutFriendlyURL> orderByComparator,
boolean retrieveFromCache)
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.
findByG_P_F in interface LayoutFriendlyURLPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r lstart - the lower bound of the range of layout friendly u r lsend - 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
public LayoutFriendlyURL findByG_P_F_First(long groupId,
boolean privateLayout,
String friendlyURL,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByG_P_F_First in interface LayoutFriendlyURLPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r lorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByG_P_F_First(long groupId,
boolean privateLayout,
String friendlyURL,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
fetchByG_P_F_First in interface LayoutFriendlyURLPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r lorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL findByG_P_F_Last(long groupId,
boolean privateLayout,
String friendlyURL,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByG_P_F_Last in interface LayoutFriendlyURLPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r lorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByG_P_F_Last(long groupId,
boolean privateLayout,
String friendlyURL,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
fetchByG_P_F_Last in interface LayoutFriendlyURLPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r lorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL[] findByG_P_F_PrevAndNext(long layoutFriendlyURLId,
long groupId,
boolean privateLayout,
String friendlyURL,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
throws NoSuchLayoutFriendlyURLException
findByG_P_F_PrevAndNext in interface LayoutFriendlyURLPersistencelayoutFriendlyURLId - the primary key of the current layout friendly u r lgroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r lorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
protected LayoutFriendlyURL getByG_P_F_PrevAndNext(Session session,
LayoutFriendlyURL layoutFriendlyURL,
long groupId,
boolean privateLayout,
String friendlyURL,
OrderByComparator<LayoutFriendlyURL> orderByComparator,
boolean previous)
public void removeByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
removeByG_P_F in interface LayoutFriendlyURLPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r l
public int countByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
countByG_P_F in interface LayoutFriendlyURLPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r l
public LayoutFriendlyURL findByG_P_F_L(long groupId,
boolean privateLayout,
String friendlyURL,
String languageId)
throws NoSuchLayoutFriendlyURLException
NoSuchLayoutFriendlyURLException if it could not be found.
findByG_P_F_L in interface LayoutFriendlyURLPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r llanguageId - the language ID
NoSuchLayoutFriendlyURLException - if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByG_P_F_L(long groupId,
boolean privateLayout,
String friendlyURL,
String languageId)
null if it could not be found. Uses the finder cache.
fetchByG_P_F_L in interface LayoutFriendlyURLPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r llanguageId - the language ID
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL fetchByG_P_F_L(long groupId,
boolean privateLayout,
String friendlyURL,
String languageId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByG_P_F_L in interface LayoutFriendlyURLPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r llanguageId - the language IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching layout friendly u r l could not be found
public LayoutFriendlyURL removeByG_P_F_L(long groupId,
boolean privateLayout,
String friendlyURL,
String languageId)
throws NoSuchLayoutFriendlyURLException
removeByG_P_F_L in interface LayoutFriendlyURLPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r llanguageId - the language ID
NoSuchLayoutFriendlyURLException
public int countByG_P_F_L(long groupId,
boolean privateLayout,
String friendlyURL,
String languageId)
countByG_P_F_L in interface LayoutFriendlyURLPersistencegroupId - the group IDprivateLayout - the private layoutfriendlyURL - the friendly u r llanguageId - the language ID
public void cacheResult(LayoutFriendlyURL layoutFriendlyURL)
cacheResult in interface LayoutFriendlyURLPersistencelayoutFriendlyURL - the layout friendly u r lpublic void cacheResult(List<LayoutFriendlyURL> layoutFriendlyURLs)
cacheResult in interface LayoutFriendlyURLPersistencelayoutFriendlyURLs - the layout friendly u r lspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<LayoutFriendlyURL>clearCache in class BasePersistenceImpl<LayoutFriendlyURL>public void clearCache(LayoutFriendlyURL layoutFriendlyURL)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<LayoutFriendlyURL>clearCache in class BasePersistenceImpl<LayoutFriendlyURL>layoutFriendlyURL - the instance of this model to clear the cache forpublic void clearCache(List<LayoutFriendlyURL> layoutFriendlyURLs)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<LayoutFriendlyURL>clearCache in class BasePersistenceImpl<LayoutFriendlyURL>layoutFriendlyURLs - the List instances of this model to clear the cache for
protected void cacheUniqueFindersCache(LayoutFriendlyURLModelImpl layoutFriendlyURLModelImpl,
boolean isNew)
protected void clearUniqueFindersCache(LayoutFriendlyURLModelImpl layoutFriendlyURLModelImpl)
public LayoutFriendlyURL create(long layoutFriendlyURLId)
create in interface LayoutFriendlyURLPersistencelayoutFriendlyURLId - the primary key for the new layout friendly u r l
public LayoutFriendlyURL remove(long layoutFriendlyURLId)
throws NoSuchLayoutFriendlyURLException
remove in interface LayoutFriendlyURLPersistencelayoutFriendlyURLId - the primary key of the layout friendly u r l
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
public LayoutFriendlyURL remove(Serializable primaryKey)
throws NoSuchLayoutFriendlyURLException
remove in interface BasePersistence<LayoutFriendlyURL>remove in class BasePersistenceImpl<LayoutFriendlyURL>primaryKey - the primary key of the layout friendly u r l
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be foundprotected LayoutFriendlyURL removeImpl(LayoutFriendlyURL layoutFriendlyURL)
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<LayoutFriendlyURL>layoutFriendlyURL - the model instance to remove
public LayoutFriendlyURL updateImpl(LayoutFriendlyURL layoutFriendlyURL)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface LayoutFriendlyURLPersistenceupdateImpl in class BasePersistenceImpl<LayoutFriendlyURL>layoutFriendlyURL - the model instance to update
protected LayoutFriendlyURL toUnwrappedModel(LayoutFriendlyURL layoutFriendlyURL)
public LayoutFriendlyURL findByPrimaryKey(Serializable primaryKey)
throws NoSuchLayoutFriendlyURLException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<LayoutFriendlyURL>findByPrimaryKey in class BasePersistenceImpl<LayoutFriendlyURL>primaryKey - the primary key of the layout friendly u r l
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be found
public LayoutFriendlyURL findByPrimaryKey(long layoutFriendlyURLId)
throws NoSuchLayoutFriendlyURLException
NoSuchLayoutFriendlyURLException if it could not be found.
findByPrimaryKey in interface LayoutFriendlyURLPersistencelayoutFriendlyURLId - the primary key of the layout friendly u r l
NoSuchLayoutFriendlyURLException - if a layout friendly u r l with the primary key could not be foundpublic LayoutFriendlyURL fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<LayoutFriendlyURL>fetchByPrimaryKey in class BasePersistenceImpl<LayoutFriendlyURL>primaryKey - the primary key of the layout friendly u r l
null if a layout friendly u r l with the primary key could not be foundpublic LayoutFriendlyURL fetchByPrimaryKey(long layoutFriendlyURLId)
null if it could not be found.
fetchByPrimaryKey in interface LayoutFriendlyURLPersistencelayoutFriendlyURLId - the primary key of the layout friendly u r l
null if a layout friendly u r l with the primary key could not be foundpublic Map<Serializable,LayoutFriendlyURL> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<LayoutFriendlyURL>fetchByPrimaryKeys in interface LayoutFriendlyURLPersistencefetchByPrimaryKeys in class BasePersistenceImpl<LayoutFriendlyURL>public List<LayoutFriendlyURL> findAll()
findAll in interface LayoutFriendlyURLPersistence
public List<LayoutFriendlyURL> findAll(int start,
int end)
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.
findAll in interface LayoutFriendlyURLPersistencestart - the lower bound of the range of layout friendly u r lsend - the upper bound of the range of layout friendly u r ls (not inclusive)
public List<LayoutFriendlyURL> findAll(int start,
int end,
OrderByComparator<LayoutFriendlyURL> orderByComparator)
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.
findAll in interface LayoutFriendlyURLPersistencestart - the lower bound of the range of layout friendly u r lsend - the upper bound of the range of layout friendly u r ls (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public List<LayoutFriendlyURL> findAll(int start,
int end,
OrderByComparator<LayoutFriendlyURL> orderByComparator,
boolean retrieveFromCache)
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.
findAll in interface LayoutFriendlyURLPersistencestart - the lower bound of the range of layout friendly u r lsend - 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
public void removeAll()
removeAll in interface LayoutFriendlyURLPersistencepublic int countAll()
countAll in interface LayoutFriendlyURLPersistencepublic Set<String> getBadColumnNames()
getBadColumnNames in interface BasePersistence<LayoutFriendlyURL>getBadColumnNames in interface LayoutFriendlyURLPersistencegetBadColumnNames in class BasePersistenceImpl<LayoutFriendlyURL>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class BasePersistenceImpl<LayoutFriendlyURL>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||