Interface ObjectFieldSettingPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectFieldSetting>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(ObjectFieldSetting objectFieldSetting) Caches the object field setting in the entity cache if it is enabled.void
cacheResult
(List<ObjectFieldSetting> objectFieldSettings) Caches the object field settings in the entity cache if it is enabled.int
countAll()
Returns the number of object field settings.int
countByObjectFieldId
(long objectFieldId) Returns the number of object field settings where objectFieldId = ?.int
countByOFI_N
(long objectFieldId, String name) Returns the number of object field settings where objectFieldId = ? and name = ?.int
countByUuid
(String uuid) Returns the number of object field settings where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of object field settings where uuid = ? and companyId = ?.create
(long objectFieldSettingId) Creates a new object field setting with the primary key.fetchByObjectFieldId_First
(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the first object field setting in the ordered set where objectFieldId = ?.fetchByObjectFieldId_Last
(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the last object field setting in the ordered set where objectFieldId = ?.fetchByOFI_N
(long objectFieldId, String name) Returns the object field setting where objectFieldId = ? and name = ? or returnsnull
if it could not be found.fetchByOFI_N
(long objectFieldId, String name, boolean useFinderCache) Returns the object field setting where objectFieldId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long objectFieldSettingId) Returns the object field setting with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the first object field setting in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the last object field setting in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the first object field setting in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the last object field setting in the ordered set where uuid = ?.findAll()
Returns all the object field settings.findAll
(int start, int end) Returns a range of all the object field settings.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns an ordered range of all the object field settings.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object field settings.findByObjectFieldId
(long objectFieldId) Returns all the object field settings where objectFieldId = ?.findByObjectFieldId
(long objectFieldId, int start, int end) Returns a range of all the object field settings where objectFieldId = ?.findByObjectFieldId
(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns an ordered range of all the object field settings where objectFieldId = ?.findByObjectFieldId
(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object field settings where objectFieldId = ?.findByObjectFieldId_First
(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the first object field setting in the ordered set where objectFieldId = ?.findByObjectFieldId_Last
(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the last object field setting in the ordered set where objectFieldId = ?.findByObjectFieldId_PrevAndNext
(long objectFieldSettingId, long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the object field settings before and after the current object field setting in the ordered set where objectFieldId = ?.findByOFI_N
(long objectFieldId, String name) Returns the object field setting where objectFieldId = ? and name = ? or throws aNoSuchObjectFieldSettingException
if it could not be found.findByPrimaryKey
(long objectFieldSettingId) Returns the object field setting with the primary key or throws aNoSuchObjectFieldSettingException
if it could not be found.findByUuid
(String uuid) Returns all the object field settings where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the object field settings where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns an ordered range of all the object field settings where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object field settings where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the object field settings where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the object field settings where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns an ordered range of all the object field settings where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object field settings where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the first object field setting in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the last object field setting in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long objectFieldSettingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the object field settings before and after the current object field setting in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the first object field setting in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the last object field setting in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long objectFieldSettingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the object field settings before and after the current object field setting in the ordered set where uuid = ?.remove
(long objectFieldSettingId) Removes the object field setting with the primary key from the database.void
Removes all the object field settings from the database.void
removeByObjectFieldId
(long objectFieldId) Removes all the object field settings where objectFieldId = ? from the database.removeByOFI_N
(long objectFieldId, String name) Removes the object field setting where objectFieldId = ? and name = ? from the database.void
removeByUuid
(String uuid) Removes all the object field settings where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the object field settings where uuid = ? and companyId = ? from the database.updateImpl
(ObjectFieldSetting objectFieldSetting) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the object field settings where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching object field settings
-
findByUuid
Returns a range of all the object field settings where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldSettingModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object field settingsend
- the upper bound of the range of object field settings (not inclusive)- Returns:
- the range of matching object field settings
-
findByUuid
List<ObjectFieldSetting> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns an ordered range of all the object field settings where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldSettingModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object field settingsend
- the upper bound of the range of object field settings (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object field settings
-
findByUuid
List<ObjectFieldSetting> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object field settings where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldSettingModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object field settingsend
- the upper bound of the range of object field settings (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object field settings
-
findByUuid_First
ObjectFieldSetting findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException Returns the first object field setting in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field setting
- Throws:
NoSuchObjectFieldSettingException
- if a matching object field setting could not be found
-
fetchByUuid_First
ObjectFieldSetting fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the first object field setting in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field setting, or
null
if a matching object field setting could not be found
-
findByUuid_Last
ObjectFieldSetting findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException Returns the last object field setting in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field setting
- Throws:
NoSuchObjectFieldSettingException
- if a matching object field setting could not be found
-
fetchByUuid_Last
ObjectFieldSetting fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the last object field setting in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field setting, or
null
if a matching object field setting could not be found
-
findByUuid_PrevAndNext
ObjectFieldSetting[] findByUuid_PrevAndNext(long objectFieldSettingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException Returns the object field settings before and after the current object field setting in the ordered set where uuid = ?.- Parameters:
objectFieldSettingId
- the primary key of the current object field settinguuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object field setting
- Throws:
NoSuchObjectFieldSettingException
- if a object field setting with the primary key could not be found
-
removeByUuid
Removes all the object field settings where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of object field settings where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching object field settings
-
findByUuid_C
Returns all the object field settings where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching object field settings
-
findByUuid_C
Returns a range of all the object field settings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldSettingModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object field settingsend
- the upper bound of the range of object field settings (not inclusive)- Returns:
- the range of matching object field settings
-
findByUuid_C
List<ObjectFieldSetting> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns an ordered range of all the object field settings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldSettingModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object field settingsend
- the upper bound of the range of object field settings (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object field settings
-
findByUuid_C
List<ObjectFieldSetting> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object field settings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldSettingModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object field settingsend
- the upper bound of the range of object field settings (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object field settings
-
findByUuid_C_First
ObjectFieldSetting findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException Returns the first object field setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field setting
- Throws:
NoSuchObjectFieldSettingException
- if a matching object field setting could not be found
-
fetchByUuid_C_First
ObjectFieldSetting fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the first object field setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field setting, or
null
if a matching object field setting could not be found
-
findByUuid_C_Last
ObjectFieldSetting findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException Returns the last object field setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field setting
- Throws:
NoSuchObjectFieldSettingException
- if a matching object field setting could not be found
-
fetchByUuid_C_Last
ObjectFieldSetting fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the last object field setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field setting, or
null
if a matching object field setting could not be found
-
findByUuid_C_PrevAndNext
ObjectFieldSetting[] findByUuid_C_PrevAndNext(long objectFieldSettingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException Returns the object field settings before and after the current object field setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectFieldSettingId
- the primary key of the current object field settinguuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object field setting
- Throws:
NoSuchObjectFieldSettingException
- if a object field setting with the primary key could not be found
-
removeByUuid_C
Removes all the object field settings where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of object field settings where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching object field settings
-
findByObjectFieldId
Returns all the object field settings where objectFieldId = ?.- Parameters:
objectFieldId
- the object field ID- Returns:
- the matching object field settings
-
findByObjectFieldId
Returns a range of all the object field settings where objectFieldId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldSettingModelImpl
.- Parameters:
objectFieldId
- the object field IDstart
- the lower bound of the range of object field settingsend
- the upper bound of the range of object field settings (not inclusive)- Returns:
- the range of matching object field settings
-
findByObjectFieldId
List<ObjectFieldSetting> findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns an ordered range of all the object field settings where objectFieldId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldSettingModelImpl
.- Parameters:
objectFieldId
- the object field IDstart
- the lower bound of the range of object field settingsend
- the upper bound of the range of object field settings (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object field settings
-
findByObjectFieldId
List<ObjectFieldSetting> findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object field settings where objectFieldId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldSettingModelImpl
.- Parameters:
objectFieldId
- the object field IDstart
- the lower bound of the range of object field settingsend
- the upper bound of the range of object field settings (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object field settings
-
findByObjectFieldId_First
ObjectFieldSetting findByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException Returns the first object field setting in the ordered set where objectFieldId = ?.- Parameters:
objectFieldId
- the object field IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field setting
- Throws:
NoSuchObjectFieldSettingException
- if a matching object field setting could not be found
-
fetchByObjectFieldId_First
ObjectFieldSetting fetchByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the first object field setting in the ordered set where objectFieldId = ?.- Parameters:
objectFieldId
- the object field IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object field setting, or
null
if a matching object field setting could not be found
-
findByObjectFieldId_Last
ObjectFieldSetting findByObjectFieldId_Last(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException Returns the last object field setting in the ordered set where objectFieldId = ?.- Parameters:
objectFieldId
- the object field IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field setting
- Throws:
NoSuchObjectFieldSettingException
- if a matching object field setting could not be found
-
fetchByObjectFieldId_Last
ObjectFieldSetting fetchByObjectFieldId_Last(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns the last object field setting in the ordered set where objectFieldId = ?.- Parameters:
objectFieldId
- the object field IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object field setting, or
null
if a matching object field setting could not be found
-
findByObjectFieldId_PrevAndNext
ObjectFieldSetting[] findByObjectFieldId_PrevAndNext(long objectFieldSettingId, long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException Returns the object field settings before and after the current object field setting in the ordered set where objectFieldId = ?.- Parameters:
objectFieldSettingId
- the primary key of the current object field settingobjectFieldId
- the object field IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object field setting
- Throws:
NoSuchObjectFieldSettingException
- if a object field setting with the primary key could not be found
-
removeByObjectFieldId
void removeByObjectFieldId(long objectFieldId) Removes all the object field settings where objectFieldId = ? from the database.- Parameters:
objectFieldId
- the object field ID
-
countByObjectFieldId
int countByObjectFieldId(long objectFieldId) Returns the number of object field settings where objectFieldId = ?.- Parameters:
objectFieldId
- the object field ID- Returns:
- the number of matching object field settings
-
findByOFI_N
ObjectFieldSetting findByOFI_N(long objectFieldId, String name) throws NoSuchObjectFieldSettingException Returns the object field setting where objectFieldId = ? and name = ? or throws aNoSuchObjectFieldSettingException
if it could not be found.- Parameters:
objectFieldId
- the object field IDname
- the name- Returns:
- the matching object field setting
- Throws:
NoSuchObjectFieldSettingException
- if a matching object field setting could not be found
-
fetchByOFI_N
Returns the object field setting where objectFieldId = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
objectFieldId
- the object field IDname
- the name- Returns:
- the matching object field setting, or
null
if a matching object field setting could not be found
-
fetchByOFI_N
Returns the object field setting where objectFieldId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
objectFieldId
- the object field IDname
- the nameuseFinderCache
- whether to use the finder cache- Returns:
- the matching object field setting, or
null
if a matching object field setting could not be found
-
removeByOFI_N
ObjectFieldSetting removeByOFI_N(long objectFieldId, String name) throws NoSuchObjectFieldSettingException Removes the object field setting where objectFieldId = ? and name = ? from the database.- Parameters:
objectFieldId
- the object field IDname
- the name- Returns:
- the object field setting that was removed
- Throws:
NoSuchObjectFieldSettingException
-
countByOFI_N
Returns the number of object field settings where objectFieldId = ? and name = ?.- Parameters:
objectFieldId
- the object field IDname
- the name- Returns:
- the number of matching object field settings
-
cacheResult
Caches the object field setting in the entity cache if it is enabled.- Parameters:
objectFieldSetting
- the object field setting
-
cacheResult
Caches the object field settings in the entity cache if it is enabled.- Parameters:
objectFieldSettings
- the object field settings
-
create
Creates a new object field setting with the primary key. Does not add the object field setting to the database.- Parameters:
objectFieldSettingId
- the primary key for the new object field setting- Returns:
- the new object field setting
-
remove
Removes the object field setting with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectFieldSettingId
- the primary key of the object field setting- Returns:
- the object field setting that was removed
- Throws:
NoSuchObjectFieldSettingException
- if a object field setting with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
ObjectFieldSetting findByPrimaryKey(long objectFieldSettingId) throws NoSuchObjectFieldSettingException Returns the object field setting with the primary key or throws aNoSuchObjectFieldSettingException
if it could not be found.- Parameters:
objectFieldSettingId
- the primary key of the object field setting- Returns:
- the object field setting
- Throws:
NoSuchObjectFieldSettingException
- if a object field setting with the primary key could not be found
-
fetchByPrimaryKey
Returns the object field setting with the primary key or returnsnull
if it could not be found.- Parameters:
objectFieldSettingId
- the primary key of the object field setting- Returns:
- the object field setting, or
null
if a object field setting with the primary key could not be found
-
findAll
List<ObjectFieldSetting> findAll()Returns all the object field settings.- Returns:
- the object field settings
-
findAll
Returns a range of all the object field settings.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldSettingModelImpl
.- Parameters:
start
- the lower bound of the range of object field settingsend
- the upper bound of the range of object field settings (not inclusive)- Returns:
- the range of object field settings
-
findAll
List<ObjectFieldSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) Returns an ordered range of all the object field settings.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldSettingModelImpl
.- Parameters:
start
- the lower bound of the range of object field settingsend
- the upper bound of the range of object field settings (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of object field settings
-
findAll
List<ObjectFieldSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object field settings.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectFieldSettingModelImpl
.- Parameters:
start
- the lower bound of the range of object field settingsend
- the upper bound of the range of object field settings (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of object field settings
-
removeAll
void removeAll()Removes all the object field settings from the database. -
countAll
int countAll()Returns the number of object field settings.- Returns:
- the number of object field settings
-