@ProviderType public interface CSDiagramSettingPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CSDiagramSetting>
Caching information and settings can be found in portal.properties
CSDiagramSettingUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CSDiagramSetting csDiagramSetting)
Caches the cs diagram setting in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CSDiagramSetting> csDiagramSettings)
Caches the cs diagram settings in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of cs diagram settings.
|
int |
countByCPDefinitionId(long CPDefinitionId)
Returns the number of cs diagram settings where CPDefinitionId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cs diagram settings where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of cs diagram settings where uuid = ?.
|
CSDiagramSetting |
create(long CSDiagramSettingId)
Creates a new cs diagram setting with the primary key.
|
CSDiagramSetting |
fetchByCPDefinitionId(long CPDefinitionId)
Returns the cs diagram setting where CPDefinitionId = ? or returns
null if it could not be found. |
CSDiagramSetting |
fetchByCPDefinitionId(long CPDefinitionId,
boolean useFinderCache)
Returns the cs diagram setting where CPDefinitionId = ? or returns
null if it could not be found, optionally using the finder cache. |
CSDiagramSetting |
fetchByPrimaryKey(long CSDiagramSettingId)
Returns the cs diagram setting with the primary key or returns
null if it could not be found. |
CSDiagramSetting |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
Returns the first cs diagram setting in the ordered set where uuid = ? and companyId = ?.
|
CSDiagramSetting |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
Returns the last cs diagram setting in the ordered set where uuid = ? and companyId = ?.
|
CSDiagramSetting |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
Returns the first cs diagram setting in the ordered set where uuid = ?.
|
CSDiagramSetting |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
Returns the last cs diagram setting in the ordered set where uuid = ?.
|
java.util.List<CSDiagramSetting> |
findAll()
Returns all the cs diagram settings.
|
java.util.List<CSDiagramSetting> |
findAll(int start,
int end)
Returns a range of all the cs diagram settings.
|
java.util.List<CSDiagramSetting> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
Returns an ordered range of all the cs diagram settings.
|
java.util.List<CSDiagramSetting> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cs diagram settings.
|
CSDiagramSetting |
findByCPDefinitionId(long CPDefinitionId)
Returns the cs diagram setting where CPDefinitionId = ? or throws a
NoSuchCSDiagramSettingException if it could not be found. |
CSDiagramSetting |
findByPrimaryKey(long CSDiagramSettingId)
Returns the cs diagram setting with the primary key or throws a
NoSuchCSDiagramSettingException if it could not be found. |
CSDiagramSetting |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
Returns the first cs diagram setting in the ordered set where uuid = ? and companyId = ?.
|
CSDiagramSetting |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
Returns the last cs diagram setting in the ordered set where uuid = ? and companyId = ?.
|
CSDiagramSetting[] |
findByUuid_C_PrevAndNext(long CSDiagramSettingId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
Returns the cs diagram settings before and after the current cs diagram setting in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CSDiagramSetting> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cs diagram settings where uuid = ? and companyId = ?.
|
java.util.List<CSDiagramSetting> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cs diagram settings where uuid = ? and companyId = ?.
|
java.util.List<CSDiagramSetting> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
Returns an ordered range of all the cs diagram settings where uuid = ? and companyId = ?.
|
java.util.List<CSDiagramSetting> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cs diagram settings where uuid = ? and companyId = ?.
|
CSDiagramSetting |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
Returns the first cs diagram setting in the ordered set where uuid = ?.
|
CSDiagramSetting |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
Returns the last cs diagram setting in the ordered set where uuid = ?.
|
CSDiagramSetting[] |
findByUuid_PrevAndNext(long CSDiagramSettingId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
Returns the cs diagram settings before and after the current cs diagram setting in the ordered set where uuid = ?.
|
java.util.List<CSDiagramSetting> |
findByUuid(java.lang.String uuid)
Returns all the cs diagram settings where uuid = ?.
|
java.util.List<CSDiagramSetting> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cs diagram settings where uuid = ?.
|
java.util.List<CSDiagramSetting> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
Returns an ordered range of all the cs diagram settings where uuid = ?.
|
java.util.List<CSDiagramSetting> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cs diagram settings where uuid = ?.
|
CSDiagramSetting |
remove(long CSDiagramSettingId)
Removes the cs diagram setting with the primary key from the database.
|
void |
removeAll()
Removes all the cs diagram settings from the database.
|
CSDiagramSetting |
removeByCPDefinitionId(long CPDefinitionId)
Removes the cs diagram setting where CPDefinitionId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the cs diagram settings where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the cs diagram settings where uuid = ? from the database.
|
CSDiagramSetting |
updateImpl(CSDiagramSetting csDiagramSetting) |
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<CSDiagramSetting> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CSDiagramSetting> 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 CSDiagramSettingModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cs diagram settingsend
- the upper bound of the range of cs diagram settings (not inclusive)java.util.List<CSDiagramSetting> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> 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 CSDiagramSettingModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cs diagram settingsend
- the upper bound of the range of cs diagram settings (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CSDiagramSetting> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> 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 CSDiagramSettingModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cs diagram settingsend
- the upper bound of the range of cs diagram settings (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCSDiagramSetting findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) throws NoSuchCSDiagramSettingException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCSDiagramSettingException
- if a matching cs diagram setting could not be foundCSDiagramSetting fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cs diagram setting could not be foundCSDiagramSetting findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) throws NoSuchCSDiagramSettingException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCSDiagramSettingException
- if a matching cs diagram setting could not be foundCSDiagramSetting fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cs diagram setting could not be foundCSDiagramSetting[] findByUuid_PrevAndNext(long CSDiagramSettingId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) throws NoSuchCSDiagramSettingException
CSDiagramSettingId
- the primary key of the current cs diagram settinguuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCSDiagramSettingException
- if a cs diagram 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<CSDiagramSetting> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CSDiagramSetting> 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 CSDiagramSettingModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cs diagram settingsend
- the upper bound of the range of cs diagram settings (not inclusive)java.util.List<CSDiagramSetting> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> 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 CSDiagramSettingModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cs diagram settingsend
- the upper bound of the range of cs diagram settings (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CSDiagramSetting> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> 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 CSDiagramSettingModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cs diagram settingsend
- the upper bound of the range of cs diagram settings (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCSDiagramSetting findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) throws NoSuchCSDiagramSettingException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCSDiagramSettingException
- if a matching cs diagram setting could not be foundCSDiagramSetting fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cs diagram setting could not be foundCSDiagramSetting findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) throws NoSuchCSDiagramSettingException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCSDiagramSettingException
- if a matching cs diagram setting could not be foundCSDiagramSetting fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cs diagram setting could not be foundCSDiagramSetting[] findByUuid_C_PrevAndNext(long CSDiagramSettingId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) throws NoSuchCSDiagramSettingException
CSDiagramSettingId
- the primary key of the current cs diagram settinguuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCSDiagramSettingException
- if a cs diagram 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 IDCSDiagramSetting findByCPDefinitionId(long CPDefinitionId) throws NoSuchCSDiagramSettingException
NoSuchCSDiagramSettingException
if it could not be found.CPDefinitionId
- the cp definition IDNoSuchCSDiagramSettingException
- if a matching cs diagram setting could not be foundCSDiagramSetting fetchByCPDefinitionId(long CPDefinitionId)
null
if it could not be found. Uses the finder cache.CPDefinitionId
- the cp definition IDnull
if a matching cs diagram setting could not be foundCSDiagramSetting fetchByCPDefinitionId(long CPDefinitionId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.CPDefinitionId
- the cp definition IDuseFinderCache
- whether to use the finder cachenull
if a matching cs diagram setting could not be foundCSDiagramSetting removeByCPDefinitionId(long CPDefinitionId) throws NoSuchCSDiagramSettingException
CPDefinitionId
- the cp definition IDNoSuchCSDiagramSettingException
int countByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDvoid cacheResult(CSDiagramSetting csDiagramSetting)
csDiagramSetting
- the cs diagram settingvoid cacheResult(java.util.List<CSDiagramSetting> csDiagramSettings)
csDiagramSettings
- the cs diagram settingsCSDiagramSetting create(long CSDiagramSettingId)
CSDiagramSettingId
- the primary key for the new cs diagram settingCSDiagramSetting remove(long CSDiagramSettingId) throws NoSuchCSDiagramSettingException
CSDiagramSettingId
- the primary key of the cs diagram settingNoSuchCSDiagramSettingException
- if a cs diagram setting with the primary key could not be foundCSDiagramSetting updateImpl(CSDiagramSetting csDiagramSetting)
CSDiagramSetting findByPrimaryKey(long CSDiagramSettingId) throws NoSuchCSDiagramSettingException
NoSuchCSDiagramSettingException
if it could not be found.CSDiagramSettingId
- the primary key of the cs diagram settingNoSuchCSDiagramSettingException
- if a cs diagram setting with the primary key could not be foundCSDiagramSetting fetchByPrimaryKey(long CSDiagramSettingId)
null
if it could not be found.CSDiagramSettingId
- the primary key of the cs diagram settingnull
if a cs diagram setting with the primary key could not be foundjava.util.List<CSDiagramSetting> findAll()
java.util.List<CSDiagramSetting> 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 CSDiagramSettingModelImpl
.
start
- the lower bound of the range of cs diagram settingsend
- the upper bound of the range of cs diagram settings (not inclusive)java.util.List<CSDiagramSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> 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 CSDiagramSettingModelImpl
.
start
- the lower bound of the range of cs diagram settingsend
- the upper bound of the range of cs diagram settings (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CSDiagramSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> 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 CSDiagramSettingModelImpl
.
start
- the lower bound of the range of cs diagram settingsend
- the upper bound of the range of cs diagram settings (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()