@ProviderType public interface ObjectFieldSettingPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectFieldSetting>
Caching information and settings can be found in portal.properties
ObjectFieldSettingUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ObjectFieldSetting> objectFieldSettings)
Caches the object field settings in the entity cache if it is enabled.
|
void |
cacheResult(ObjectFieldSetting objectFieldSetting)
Caches the object field setting 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,
java.lang.String name)
Returns the number of object field settings where objectFieldId = ? and name = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object field settings where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of object field settings where uuid = ?.
|
ObjectFieldSetting |
create(long objectFieldSettingId)
Creates a new object field setting with the primary key.
|
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 = ?.
|
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 = ?.
|
ObjectFieldSetting |
fetchByOFI_N(long objectFieldId,
java.lang.String name)
Returns the object field setting where objectFieldId = ? and name = ? or returns
null if it could not be found. |
ObjectFieldSetting |
fetchByOFI_N(long objectFieldId,
java.lang.String name,
boolean useFinderCache)
Returns the object field setting where objectFieldId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
ObjectFieldSetting |
fetchByPrimaryKey(long objectFieldSettingId)
Returns the object field setting with the primary key or returns
null if it could not be found. |
ObjectFieldSetting |
fetchByUuid_C_First(java.lang.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 = ?.
|
ObjectFieldSetting |
fetchByUuid_C_Last(java.lang.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 = ?.
|
ObjectFieldSetting |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
Returns the first object field setting in the ordered set where uuid = ?.
|
ObjectFieldSetting |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
Returns the last object field setting in the ordered set where uuid = ?.
|
java.util.List<ObjectFieldSetting> |
findAll()
Returns all the object field settings.
|
java.util.List<ObjectFieldSetting> |
findAll(int start,
int end)
Returns a range of all the object field settings.
|
java.util.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.
|
java.util.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.
|
ObjectFieldSetting |
findByObjectFieldId_First(long objectFieldId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
Returns the first object field setting in the ordered set where objectFieldId = ?.
|
ObjectFieldSetting |
findByObjectFieldId_Last(long objectFieldId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
Returns the last object field setting in the ordered set where objectFieldId = ?.
|
ObjectFieldSetting[] |
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 = ?.
|
java.util.List<ObjectFieldSetting> |
findByObjectFieldId(long objectFieldId)
Returns all the object field settings where objectFieldId = ?.
|
java.util.List<ObjectFieldSetting> |
findByObjectFieldId(long objectFieldId,
int start,
int end)
Returns a range of all the object field settings where objectFieldId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
ObjectFieldSetting |
findByOFI_N(long objectFieldId,
java.lang.String name)
Returns the object field setting where objectFieldId = ? and name = ? or throws a
NoSuchObjectFieldSettingException if it could not be found. |
ObjectFieldSetting |
findByPrimaryKey(long objectFieldSettingId)
Returns the object field setting with the primary key or throws a
NoSuchObjectFieldSettingException if it could not be found. |
ObjectFieldSetting |
findByUuid_C_First(java.lang.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 = ?.
|
ObjectFieldSetting |
findByUuid_C_Last(java.lang.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 = ?.
|
ObjectFieldSetting[] |
findByUuid_C_PrevAndNext(long objectFieldSettingId,
java.lang.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 = ?.
|
java.util.List<ObjectFieldSetting> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object field settings where uuid = ? and companyId = ?.
|
java.util.List<ObjectFieldSetting> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object field settings where uuid = ? and companyId = ?.
|
java.util.List<ObjectFieldSetting> |
findByUuid_C(java.lang.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 = ?.
|
java.util.List<ObjectFieldSetting> |
findByUuid_C(java.lang.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 = ?.
|
ObjectFieldSetting |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
Returns the first object field setting in the ordered set where uuid = ?.
|
ObjectFieldSetting |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
Returns the last object field setting in the ordered set where uuid = ?.
|
ObjectFieldSetting[] |
findByUuid_PrevAndNext(long objectFieldSettingId,
java.lang.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 = ?.
|
java.util.List<ObjectFieldSetting> |
findByUuid(java.lang.String uuid)
Returns all the object field settings where uuid = ?.
|
java.util.List<ObjectFieldSetting> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object field settings where uuid = ?.
|
java.util.List<ObjectFieldSetting> |
findByUuid(java.lang.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 = ?.
|
java.util.List<ObjectFieldSetting> |
findByUuid(java.lang.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 = ?.
|
ObjectFieldSetting |
remove(long objectFieldSettingId)
Removes the object field setting with the primary key from the database.
|
void |
removeAll()
Removes all the object field settings from the database.
|
void |
removeByObjectFieldId(long objectFieldId)
Removes all the object field settings where objectFieldId = ? from the database.
|
ObjectFieldSetting |
removeByOFI_N(long objectFieldId,
java.lang.String name)
Removes the object field setting where objectFieldId = ? and name = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object field settings where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the object field settings where uuid = ? from the database.
|
ObjectFieldSetting |
updateImpl(ObjectFieldSetting objectFieldSetting) |
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, setDataSource, unregisterListener, update, update
java.util.List<ObjectFieldSetting> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectFieldSetting> findByUuid(java.lang.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, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl
.
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)java.util.List<ObjectFieldSetting> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> 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, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl
.
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 (optionally null
)java.util.List<ObjectFieldSetting> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectFieldSetting findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldSettingException
- if a matching object field setting could not be foundObjectFieldSetting fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field setting could not be foundObjectFieldSetting findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldSettingException
- if a matching object field setting could not be foundObjectFieldSetting fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field setting could not be foundObjectFieldSetting[] findByUuid_PrevAndNext(long objectFieldSettingId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException
objectFieldSettingId
- the primary key of the current object field settinguuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldSettingException
- if a object field setting with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectFieldSetting> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectFieldSetting> findByUuid_C(java.lang.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, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl
.
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)java.util.List<ObjectFieldSetting> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> 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, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl
.
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 (optionally null
)java.util.List<ObjectFieldSetting> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectFieldSetting findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldSettingException
- if a matching object field setting could not be foundObjectFieldSetting fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field setting could not be foundObjectFieldSetting findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldSettingException
- if a matching object field setting could not be foundObjectFieldSetting fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field setting could not be foundObjectFieldSetting[] findByUuid_C_PrevAndNext(long objectFieldSettingId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException
objectFieldSettingId
- the primary key of the current object field settinguuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldSettingException
- if a object field setting with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectFieldSetting> findByObjectFieldId(long objectFieldId)
objectFieldId
- the object field IDjava.util.List<ObjectFieldSetting> findByObjectFieldId(long objectFieldId, 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, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl
.
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)java.util.List<ObjectFieldSetting> findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> 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, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl
.
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 (optionally null
)java.util.List<ObjectFieldSetting> findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectFieldSetting findByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException
objectFieldId
- the object field IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldSettingException
- if a matching object field setting could not be foundObjectFieldSetting fetchByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
objectFieldId
- the object field IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field setting could not be foundObjectFieldSetting findByObjectFieldId_Last(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException
objectFieldId
- the object field IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldSettingException
- if a matching object field setting could not be foundObjectFieldSetting fetchByObjectFieldId_Last(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator)
objectFieldId
- the object field IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object field setting could not be foundObjectFieldSetting[] findByObjectFieldId_PrevAndNext(long objectFieldSettingId, long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator) throws NoSuchObjectFieldSettingException
objectFieldSettingId
- the primary key of the current object field settingobjectFieldId
- the object field IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectFieldSettingException
- if a object field setting with the primary key could not be foundvoid removeByObjectFieldId(long objectFieldId)
objectFieldId
- the object field IDint countByObjectFieldId(long objectFieldId)
objectFieldId
- the object field IDObjectFieldSetting findByOFI_N(long objectFieldId, java.lang.String name) throws NoSuchObjectFieldSettingException
NoSuchObjectFieldSettingException
if it could not be found.objectFieldId
- the object field IDname
- the nameNoSuchObjectFieldSettingException
- if a matching object field setting could not be foundObjectFieldSetting fetchByOFI_N(long objectFieldId, java.lang.String name)
null
if it could not be found. Uses the finder cache.objectFieldId
- the object field IDname
- the namenull
if a matching object field setting could not be foundObjectFieldSetting fetchByOFI_N(long objectFieldId, java.lang.String name, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.objectFieldId
- the object field IDname
- the nameuseFinderCache
- whether to use the finder cachenull
if a matching object field setting could not be foundObjectFieldSetting removeByOFI_N(long objectFieldId, java.lang.String name) throws NoSuchObjectFieldSettingException
objectFieldId
- the object field IDname
- the nameNoSuchObjectFieldSettingException
int countByOFI_N(long objectFieldId, java.lang.String name)
objectFieldId
- the object field IDname
- the namevoid cacheResult(ObjectFieldSetting objectFieldSetting)
objectFieldSetting
- the object field settingvoid cacheResult(java.util.List<ObjectFieldSetting> objectFieldSettings)
objectFieldSettings
- the object field settingsObjectFieldSetting create(long objectFieldSettingId)
objectFieldSettingId
- the primary key for the new object field settingObjectFieldSetting remove(long objectFieldSettingId) throws NoSuchObjectFieldSettingException
objectFieldSettingId
- the primary key of the object field settingNoSuchObjectFieldSettingException
- if a object field setting with the primary key could not be foundObjectFieldSetting updateImpl(ObjectFieldSetting objectFieldSetting)
ObjectFieldSetting findByPrimaryKey(long objectFieldSettingId) throws NoSuchObjectFieldSettingException
NoSuchObjectFieldSettingException
if it could not be found.objectFieldSettingId
- the primary key of the object field settingNoSuchObjectFieldSettingException
- if a object field setting with the primary key could not be foundObjectFieldSetting fetchByPrimaryKey(long objectFieldSettingId)
null
if it could not be found.objectFieldSettingId
- the primary key of the object field settingnull
if a object field setting with the primary key could not be foundjava.util.List<ObjectFieldSetting> findAll()
java.util.List<ObjectFieldSetting> 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, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl
.
start
- the lower bound of the range of object field settingsend
- the upper bound of the range of object field settings (not inclusive)java.util.List<ObjectFieldSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> 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, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl
.
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 (optionally null
)java.util.List<ObjectFieldSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFieldSetting> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from ObjectFieldSettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()