|
Liferay 7.0-ce-m6 | |||||||||
| 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<DDMStructureLayout>
com.liferay.portlet.dynamicdatamapping.service.persistence.impl.DDMStructureLayoutPersistenceImpl
@ProviderType public class DDMStructureLayoutPersistenceImpl
The persistence implementation for the d d m structure layout service.
Caching information and settings can be found in portal.properties
DDMStructureLayoutPersistence,
DDMStructureLayoutUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
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 | |
|---|---|
DDMStructureLayoutPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the d d m structure layout persistence. |
void |
cacheResult(DDMStructureLayout ddmStructureLayout)
Caches the d d m structure layout in the entity cache if it is enabled. |
void |
cacheResult(List<DDMStructureLayout> ddmStructureLayouts)
Caches the d d m structure layouts in the entity cache if it is enabled. |
protected void |
cacheUniqueFindersCache(DDMStructureLayout ddmStructureLayout)
|
void |
clearCache()
Clears the cache for all d d m structure layouts. |
void |
clearCache(DDMStructureLayout ddmStructureLayout)
Clears the cache for the d d m structure layout. |
void |
clearCache(List<DDMStructureLayout> ddmStructureLayouts)
Clears the cache for a List instances of this model. |
protected void |
clearUniqueFindersCache(DDMStructureLayout ddmStructureLayout)
|
int |
countAll()
Returns the number of d d m structure layouts. |
int |
countByStructureVersionId(long structureVersionId)
Returns the number of d d m structure layouts where structureVersionId = ?. |
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of d d m structure layouts where uuid = ? and companyId = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of d d m structure layouts where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Returns the number of d d m structure layouts where uuid = ?. |
DDMStructureLayout |
create(long structureLayoutId)
Creates a new d d m structure layout with the primary key. |
void |
destroy()
|
DDMStructureLayout |
fetchByPrimaryKey(long structureLayoutId)
Returns the d d m structure layout with the primary key or returns null if it could not be found. |
DDMStructureLayout |
fetchByPrimaryKey(Serializable primaryKey)
Returns the d d m structure layout with the primary key or returns null if it could not be found. |
Map<Serializable,DDMStructureLayout> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
DDMStructureLayout |
fetchByStructureVersionId(long structureVersionId)
Returns the d d m structure layout where structureVersionId = ? or returns null if it could not be found. |
DDMStructureLayout |
fetchByStructureVersionId(long structureVersionId,
boolean retrieveFromCache)
Returns the d d m structure layout where structureVersionId = ? or returns null if it could not be found, optionally using the finder cache. |
DDMStructureLayout |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the first d d m structure layout in the ordered set where uuid = ? and companyId = ?. |
DDMStructureLayout |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the last d d m structure layout in the ordered set where uuid = ? and companyId = ?. |
DDMStructureLayout |
fetchByUuid_First(String uuid,
OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the first d d m structure layout in the ordered set where uuid = ?. |
DDMStructureLayout |
fetchByUUID_G(String uuid,
long groupId)
Returns the d d m structure layout where uuid = ? and groupId = ? or returns null if it could not be found. |
DDMStructureLayout |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the d d m structure layout where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
DDMStructureLayout |
fetchByUuid_Last(String uuid,
OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the last d d m structure layout in the ordered set where uuid = ?. |
List<DDMStructureLayout> |
findAll()
Returns all the d d m structure layouts. |
List<DDMStructureLayout> |
findAll(int start,
int end)
Returns a range of all the d d m structure layouts. |
List<DDMStructureLayout> |
findAll(int start,
int end,
OrderByComparator<DDMStructureLayout> orderByComparator)
Returns an ordered range of all the d d m structure layouts. |
DDMStructureLayout |
findByPrimaryKey(long structureLayoutId)
Returns the d d m structure layout with the primary key or throws a NoSuchStructureLayoutException if it could not be found. |
DDMStructureLayout |
findByPrimaryKey(Serializable primaryKey)
Returns the d d m structure layout with the primary key or throws a NoSuchModelException if it could not be found. |
DDMStructureLayout |
findByStructureVersionId(long structureVersionId)
Returns the d d m structure layout where structureVersionId = ? or throws a NoSuchStructureLayoutException if it could not be found. |
DDMStructureLayout |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the first d d m structure layout in the ordered set where uuid = ? and companyId = ?. |
DDMStructureLayout |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the last d d m structure layout in the ordered set where uuid = ? and companyId = ?. |
DDMStructureLayout[] |
findByUuid_C_PrevAndNext(long structureLayoutId,
String uuid,
long companyId,
OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the d d m structure layouts before and after the current d d m structure layout in the ordered set where uuid = ? and companyId = ?. |
List<DDMStructureLayout> |
findByUuid_C(String uuid,
long companyId)
Returns all the d d m structure layouts where uuid = ? and companyId = ?. |
List<DDMStructureLayout> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the d d m structure layouts where uuid = ? and companyId = ?. |
List<DDMStructureLayout> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DDMStructureLayout> orderByComparator)
Returns an ordered range of all the d d m structure layouts where uuid = ? and companyId = ?. |
DDMStructureLayout |
findByUuid_First(String uuid,
OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the first d d m structure layout in the ordered set where uuid = ?. |
DDMStructureLayout |
findByUUID_G(String uuid,
long groupId)
Returns the d d m structure layout where uuid = ? and groupId = ? or throws a NoSuchStructureLayoutException if it could not be found. |
DDMStructureLayout |
findByUuid_Last(String uuid,
OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the last d d m structure layout in the ordered set where uuid = ?. |
DDMStructureLayout[] |
findByUuid_PrevAndNext(long structureLayoutId,
String uuid,
OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the d d m structure layouts before and after the current d d m structure layout in the ordered set where uuid = ?. |
List<DDMStructureLayout> |
findByUuid(String uuid)
Returns all the d d m structure layouts where uuid = ?. |
List<DDMStructureLayout> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the d d m structure layouts where uuid = ?. |
List<DDMStructureLayout> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<DDMStructureLayout> orderByComparator)
Returns an ordered range of all the d d m structure layouts where uuid = ?. |
protected Set<String> |
getBadColumnNames()
|
protected DDMStructureLayout |
getByUuid_C_PrevAndNext(Session session,
DDMStructureLayout ddmStructureLayout,
String uuid,
long companyId,
OrderByComparator<DDMStructureLayout> orderByComparator,
boolean previous)
|
protected DDMStructureLayout |
getByUuid_PrevAndNext(Session session,
DDMStructureLayout ddmStructureLayout,
String uuid,
OrderByComparator<DDMStructureLayout> orderByComparator,
boolean previous)
|
DDMStructureLayout |
remove(long structureLayoutId)
Removes the d d m structure layout with the primary key from the database. |
DDMStructureLayout |
remove(Serializable primaryKey)
Removes the d d m structure layout with the primary key from the database. |
void |
removeAll()
Removes all the d d m structure layouts from the database. |
DDMStructureLayout |
removeByStructureVersionId(long structureVersionId)
Removes the d d m structure layout where structureVersionId = ? from the database. |
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the d d m structure layouts where uuid = ? and companyId = ? from the database. |
DDMStructureLayout |
removeByUUID_G(String uuid,
long groupId)
Removes the d d m structure layout where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the d d m structure layouts where uuid = ? from the database. |
protected DDMStructureLayout |
removeImpl(DDMStructureLayout ddmStructureLayout)
Removes the model instance from the database. |
protected DDMStructureLayout |
toUnwrappedModel(DDMStructureLayout ddmStructureLayout)
|
DDMStructureLayout |
updateImpl(DDMStructureLayout ddmStructureLayout)
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, 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_FETCH_BY_STRUCTUREVERSIONID
public static final FinderPath FINDER_PATH_COUNT_BY_STRUCTUREVERSIONID
| Constructor Detail |
|---|
public DDMStructureLayoutPersistenceImpl()
| Method Detail |
|---|
public List<DDMStructureLayout> findByUuid(String uuid)
findByUuid in interface DDMStructureLayoutPersistenceuuid - the uuid
public List<DDMStructureLayout> 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 DDMStructureLayoutModelImpl. 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 DDMStructureLayoutPersistenceuuid - the uuidstart - the lower bound of the range of d d m structure layoutsend - the upper bound of the range of d d m structure layouts (not inclusive)
public List<DDMStructureLayout> findByUuid(String uuid,
int start,
int end,
OrderByComparator<DDMStructureLayout> 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 DDMStructureLayoutModelImpl. 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 DDMStructureLayoutPersistenceuuid - the uuidstart - the lower bound of the range of d d m structure layoutsend - the upper bound of the range of d d m structure layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public DDMStructureLayout findByUuid_First(String uuid,
OrderByComparator<DDMStructureLayout> orderByComparator)
throws NoSuchStructureLayoutException
findByUuid_First in interface DDMStructureLayoutPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchStructureLayoutException - if a matching d d m structure layout could not be found
public DDMStructureLayout fetchByUuid_First(String uuid,
OrderByComparator<DDMStructureLayout> orderByComparator)
fetchByUuid_First in interface DDMStructureLayoutPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching d d m structure layout could not be found
public DDMStructureLayout findByUuid_Last(String uuid,
OrderByComparator<DDMStructureLayout> orderByComparator)
throws NoSuchStructureLayoutException
findByUuid_Last in interface DDMStructureLayoutPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchStructureLayoutException - if a matching d d m structure layout could not be found
public DDMStructureLayout fetchByUuid_Last(String uuid,
OrderByComparator<DDMStructureLayout> orderByComparator)
fetchByUuid_Last in interface DDMStructureLayoutPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching d d m structure layout could not be found
public DDMStructureLayout[] findByUuid_PrevAndNext(long structureLayoutId,
String uuid,
OrderByComparator<DDMStructureLayout> orderByComparator)
throws NoSuchStructureLayoutException
findByUuid_PrevAndNext in interface DDMStructureLayoutPersistencestructureLayoutId - the primary key of the current d d m structure layoutuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchStructureLayoutException - if a d d m structure layout with the primary key could not be found
protected DDMStructureLayout getByUuid_PrevAndNext(Session session,
DDMStructureLayout ddmStructureLayout,
String uuid,
OrderByComparator<DDMStructureLayout> orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
removeByUuid in interface DDMStructureLayoutPersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface DDMStructureLayoutPersistenceuuid - the uuid
public DDMStructureLayout findByUUID_G(String uuid,
long groupId)
throws NoSuchStructureLayoutException
NoSuchStructureLayoutException if it could not be found.
findByUUID_G in interface DDMStructureLayoutPersistenceuuid - the uuidgroupId - the group ID
NoSuchStructureLayoutException - if a matching d d m structure layout could not be found
public DDMStructureLayout fetchByUUID_G(String uuid,
long groupId)
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface DDMStructureLayoutPersistenceuuid - the uuidgroupId - the group ID
null if a matching d d m structure layout could not be found
public DDMStructureLayout fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByUUID_G in interface DDMStructureLayoutPersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to use the finder cache
null if a matching d d m structure layout could not be found
public DDMStructureLayout removeByUUID_G(String uuid,
long groupId)
throws NoSuchStructureLayoutException
removeByUUID_G in interface DDMStructureLayoutPersistenceuuid - the uuidgroupId - the group ID
NoSuchStructureLayoutException
public int countByUUID_G(String uuid,
long groupId)
countByUUID_G in interface DDMStructureLayoutPersistenceuuid - the uuidgroupId - the group ID
public List<DDMStructureLayout> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface DDMStructureLayoutPersistenceuuid - the uuidcompanyId - the company ID
public List<DDMStructureLayout> 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 DDMStructureLayoutModelImpl. 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 DDMStructureLayoutPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of d d m structure layoutsend - the upper bound of the range of d d m structure layouts (not inclusive)
public List<DDMStructureLayout> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DDMStructureLayout> 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 DDMStructureLayoutModelImpl. 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 DDMStructureLayoutPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of d d m structure layoutsend - the upper bound of the range of d d m structure layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public DDMStructureLayout findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DDMStructureLayout> orderByComparator)
throws NoSuchStructureLayoutException
findByUuid_C_First in interface DDMStructureLayoutPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchStructureLayoutException - if a matching d d m structure layout could not be found
public DDMStructureLayout fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DDMStructureLayout> orderByComparator)
fetchByUuid_C_First in interface DDMStructureLayoutPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching d d m structure layout could not be found
public DDMStructureLayout findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DDMStructureLayout> orderByComparator)
throws NoSuchStructureLayoutException
findByUuid_C_Last in interface DDMStructureLayoutPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchStructureLayoutException - if a matching d d m structure layout could not be found
public DDMStructureLayout fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DDMStructureLayout> orderByComparator)
fetchByUuid_C_Last in interface DDMStructureLayoutPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching d d m structure layout could not be found
public DDMStructureLayout[] findByUuid_C_PrevAndNext(long structureLayoutId,
String uuid,
long companyId,
OrderByComparator<DDMStructureLayout> orderByComparator)
throws NoSuchStructureLayoutException
findByUuid_C_PrevAndNext in interface DDMStructureLayoutPersistencestructureLayoutId - the primary key of the current d d m structure layoutuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchStructureLayoutException - if a d d m structure layout with the primary key could not be found
protected DDMStructureLayout getByUuid_C_PrevAndNext(Session session,
DDMStructureLayout ddmStructureLayout,
String uuid,
long companyId,
OrderByComparator<DDMStructureLayout> orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface DDMStructureLayoutPersistenceuuid - the uuidcompanyId - the company ID
public int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface DDMStructureLayoutPersistenceuuid - the uuidcompanyId - the company ID
public DDMStructureLayout findByStructureVersionId(long structureVersionId)
throws NoSuchStructureLayoutException
NoSuchStructureLayoutException if it could not be found.
findByStructureVersionId in interface DDMStructureLayoutPersistencestructureVersionId - the structure version ID
NoSuchStructureLayoutException - if a matching d d m structure layout could not be foundpublic DDMStructureLayout fetchByStructureVersionId(long structureVersionId)
null if it could not be found. Uses the finder cache.
fetchByStructureVersionId in interface DDMStructureLayoutPersistencestructureVersionId - the structure version ID
null if a matching d d m structure layout could not be found
public DDMStructureLayout fetchByStructureVersionId(long structureVersionId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByStructureVersionId in interface DDMStructureLayoutPersistencestructureVersionId - the structure version IDretrieveFromCache - whether to use the finder cache
null if a matching d d m structure layout could not be found
public DDMStructureLayout removeByStructureVersionId(long structureVersionId)
throws NoSuchStructureLayoutException
removeByStructureVersionId in interface DDMStructureLayoutPersistencestructureVersionId - the structure version ID
NoSuchStructureLayoutExceptionpublic int countByStructureVersionId(long structureVersionId)
countByStructureVersionId in interface DDMStructureLayoutPersistencestructureVersionId - the structure version ID
public void cacheResult(DDMStructureLayout ddmStructureLayout)
cacheResult in interface DDMStructureLayoutPersistenceddmStructureLayout - the d d m structure layoutpublic void cacheResult(List<DDMStructureLayout> ddmStructureLayouts)
cacheResult in interface DDMStructureLayoutPersistenceddmStructureLayouts - the d d m structure layoutspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<DDMStructureLayout>clearCache in class BasePersistenceImpl<DDMStructureLayout>public void clearCache(DDMStructureLayout ddmStructureLayout)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<DDMStructureLayout>clearCache in class BasePersistenceImpl<DDMStructureLayout>ddmStructureLayout - the instance of this model to clear the cache forpublic void clearCache(List<DDMStructureLayout> ddmStructureLayouts)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<DDMStructureLayout>clearCache in class BasePersistenceImpl<DDMStructureLayout>ddmStructureLayouts - the List instances of this model to clear the cache forprotected void cacheUniqueFindersCache(DDMStructureLayout ddmStructureLayout)
protected void clearUniqueFindersCache(DDMStructureLayout ddmStructureLayout)
public DDMStructureLayout create(long structureLayoutId)
create in interface DDMStructureLayoutPersistencestructureLayoutId - the primary key for the new d d m structure layout
public DDMStructureLayout remove(long structureLayoutId)
throws NoSuchStructureLayoutException
remove in interface DDMStructureLayoutPersistencestructureLayoutId - the primary key of the d d m structure layout
NoSuchStructureLayoutException - if a d d m structure layout with the primary key could not be found
public DDMStructureLayout remove(Serializable primaryKey)
throws NoSuchStructureLayoutException
remove in interface BasePersistence<DDMStructureLayout>remove in class BasePersistenceImpl<DDMStructureLayout>primaryKey - the primary key of the d d m structure layout
NoSuchStructureLayoutException - if a d d m structure layout with the primary key could not be foundprotected DDMStructureLayout removeImpl(DDMStructureLayout ddmStructureLayout)
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<DDMStructureLayout>ddmStructureLayout - the model instance to remove
public DDMStructureLayout updateImpl(DDMStructureLayout ddmStructureLayout)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface DDMStructureLayoutPersistenceupdateImpl in class BasePersistenceImpl<DDMStructureLayout>ddmStructureLayout - the model instance to update
protected DDMStructureLayout toUnwrappedModel(DDMStructureLayout ddmStructureLayout)
public DDMStructureLayout findByPrimaryKey(Serializable primaryKey)
throws NoSuchStructureLayoutException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<DDMStructureLayout>findByPrimaryKey in class BasePersistenceImpl<DDMStructureLayout>primaryKey - the primary key of the d d m structure layout
NoSuchStructureLayoutException - if a d d m structure layout with the primary key could not be found
public DDMStructureLayout findByPrimaryKey(long structureLayoutId)
throws NoSuchStructureLayoutException
NoSuchStructureLayoutException if it could not be found.
findByPrimaryKey in interface DDMStructureLayoutPersistencestructureLayoutId - the primary key of the d d m structure layout
NoSuchStructureLayoutException - if a d d m structure layout with the primary key could not be foundpublic DDMStructureLayout fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<DDMStructureLayout>fetchByPrimaryKey in class BasePersistenceImpl<DDMStructureLayout>primaryKey - the primary key of the d d m structure layout
null if a d d m structure layout with the primary key could not be foundpublic DDMStructureLayout fetchByPrimaryKey(long structureLayoutId)
null if it could not be found.
fetchByPrimaryKey in interface DDMStructureLayoutPersistencestructureLayoutId - the primary key of the d d m structure layout
null if a d d m structure layout with the primary key could not be foundpublic Map<Serializable,DDMStructureLayout> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<DDMStructureLayout>fetchByPrimaryKeys in interface DDMStructureLayoutPersistencefetchByPrimaryKeys in class BasePersistenceImpl<DDMStructureLayout>public List<DDMStructureLayout> findAll()
findAll in interface DDMStructureLayoutPersistence
public List<DDMStructureLayout> 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 DDMStructureLayoutModelImpl. 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 DDMStructureLayoutPersistencestart - the lower bound of the range of d d m structure layoutsend - the upper bound of the range of d d m structure layouts (not inclusive)
public List<DDMStructureLayout> findAll(int start,
int end,
OrderByComparator<DDMStructureLayout> 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 DDMStructureLayoutModelImpl. 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 DDMStructureLayoutPersistencestart - the lower bound of the range of d d m structure layoutsend - the upper bound of the range of d d m structure layouts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public void removeAll()
removeAll in interface DDMStructureLayoutPersistencepublic int countAll()
countAll in interface DDMStructureLayoutPersistenceprotected Set<String> getBadColumnNames()
getBadColumnNames in class BasePersistenceImpl<DDMStructureLayout>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||