|
|||||||||
| 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<com.liferay.portlet.expando.model.ExpandoTable>
com.liferay.portlet.expando.service.persistence.ExpandoTablePersistenceImpl
public class ExpandoTablePersistenceImpl
The persistence implementation for the expando table service.
Caching information and settings can be found in portal.properties
ExpandoTablePersistence,
ExpandoTableUtil| Field Summary | |
|---|---|
protected com.liferay.portlet.expando.service.persistence.ExpandoColumnPersistence |
expandoColumnPersistence
|
protected com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence |
expandoRowPersistence
|
protected com.liferay.portlet.expando.service.persistence.ExpandoTablePersistence |
expandoTablePersistence
|
protected com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence |
expandoValuePersistence
|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_C
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_C_N
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_C_C_N
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C
|
protected com.liferay.portal.service.persistence.ResourcePersistence |
resourcePersistence
|
protected com.liferay.portal.service.persistence.UserPersistence |
userPersistence
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, 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 | |
|---|---|
ExpandoTablePersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the expando table persistence. |
void |
cacheResult(com.liferay.portlet.expando.model.ExpandoTable expandoTable)
Caches the expando table in the entity cache if it is enabled. |
void |
cacheResult(java.util.List<com.liferay.portlet.expando.model.ExpandoTable> expandoTables)
Caches the expando tables in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all expando tables. |
void |
clearCache(com.liferay.portlet.expando.model.ExpandoTable expandoTable)
Clears the cache for the expando table. |
void |
clearCache(java.util.List<com.liferay.portlet.expando.model.ExpandoTable> expandoTables)
|
protected void |
clearUniqueFindersCache(com.liferay.portlet.expando.model.ExpandoTable expandoTable)
|
int |
countAll()
Returns the number of expando tables. |
int |
countByC_C_N(long companyId,
long classNameId,
java.lang.String name)
Returns the number of expando tables where companyId = ? and classNameId = ? and name = ?. |
int |
countByC_C(long companyId,
long classNameId)
Returns the number of expando tables where companyId = ? and classNameId = ?. |
com.liferay.portlet.expando.model.ExpandoTable |
create(long tableId)
Creates a new expando table with the primary key. |
void |
destroy()
|
com.liferay.portlet.expando.model.ExpandoTable |
fetchByC_C_N(long companyId,
long classNameId,
java.lang.String name)
Returns the expando table where companyId = ? and classNameId = ? and name = ? or returns null if it could not be found. |
com.liferay.portlet.expando.model.ExpandoTable |
fetchByC_C_N(long companyId,
long classNameId,
java.lang.String name,
boolean retrieveFromCache)
Returns the expando table where companyId = ? and classNameId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. |
com.liferay.portlet.expando.model.ExpandoTable |
fetchByPrimaryKey(long tableId)
Returns the expando table with the primary key or returns null if it could not be found. |
com.liferay.portlet.expando.model.ExpandoTable |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the expando table with the primary key or returns null if it could not be found. |
java.util.List<com.liferay.portlet.expando.model.ExpandoTable> |
findAll()
Returns all the expando tables. |
java.util.List<com.liferay.portlet.expando.model.ExpandoTable> |
findAll(int start,
int end)
Returns a range of all the expando tables. |
java.util.List<com.liferay.portlet.expando.model.ExpandoTable> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the expando tables. |
com.liferay.portlet.expando.model.ExpandoTable |
findByC_C_First(long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first expando table in the ordered set where companyId = ? and classNameId = ?. |
com.liferay.portlet.expando.model.ExpandoTable |
findByC_C_Last(long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last expando table in the ordered set where companyId = ? and classNameId = ?. |
com.liferay.portlet.expando.model.ExpandoTable |
findByC_C_N(long companyId,
long classNameId,
java.lang.String name)
Returns the expando table where companyId = ? and classNameId = ? and name = ? or throws a NoSuchTableException if it could not be found. |
com.liferay.portlet.expando.model.ExpandoTable[] |
findByC_C_PrevAndNext(long tableId,
long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the expando tables before and after the current expando table in the ordered set where companyId = ? and classNameId = ?. |
java.util.List<com.liferay.portlet.expando.model.ExpandoTable> |
findByC_C(long companyId,
long classNameId)
Returns all the expando tables where companyId = ? and classNameId = ?. |
java.util.List<com.liferay.portlet.expando.model.ExpandoTable> |
findByC_C(long companyId,
long classNameId,
int start,
int end)
Returns a range of all the expando tables where companyId = ? and classNameId = ?. |
java.util.List<com.liferay.portlet.expando.model.ExpandoTable> |
findByC_C(long companyId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the expando tables where companyId = ? and classNameId = ?. |
com.liferay.portlet.expando.model.ExpandoTable |
findByPrimaryKey(long tableId)
Returns the expando table with the primary key or throws a NoSuchTableException if it could not be found. |
com.liferay.portlet.expando.model.ExpandoTable |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the expando table with the primary key or throws a NoSuchModelException if it could not be found. |
protected com.liferay.portlet.expando.model.ExpandoTable |
getByC_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.expando.model.ExpandoTable expandoTable,
long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
com.liferay.portlet.expando.model.ExpandoTable |
remove(long tableId)
Removes the expando table with the primary key from the database. |
com.liferay.portlet.expando.model.ExpandoTable |
remove(java.io.Serializable primaryKey)
Removes the expando table with the primary key from the database. |
void |
removeAll()
Removes all the expando tables from the database. |
void |
removeByC_C_N(long companyId,
long classNameId,
java.lang.String name)
Removes the expando table where companyId = ? and classNameId = ? and name = ? from the database. |
void |
removeByC_C(long companyId,
long classNameId)
Removes all the expando tables where companyId = ? and classNameId = ? from the database. |
protected com.liferay.portlet.expando.model.ExpandoTable |
removeImpl(com.liferay.portlet.expando.model.ExpandoTable expandoTable)
|
protected com.liferay.portlet.expando.model.ExpandoTable |
toUnwrappedModel(com.liferay.portlet.expando.model.ExpandoTable expandoTable)
|
com.liferay.portlet.expando.model.ExpandoTable |
updateImpl(com.liferay.portlet.expando.model.ExpandoTable expandoTable,
boolean merge)
|
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| 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, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_C_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=com.liferay.portlet.expando.service.persistence.ExpandoColumnPersistence.class) protected com.liferay.portlet.expando.service.persistence.ExpandoColumnPersistence expandoColumnPersistence
@BeanReference(type=com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence.class) protected com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence expandoRowPersistence
@BeanReference(type=com.liferay.portlet.expando.service.persistence.ExpandoTablePersistence.class) protected com.liferay.portlet.expando.service.persistence.ExpandoTablePersistence expandoTablePersistence
@BeanReference(type=com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence.class) protected com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence expandoValuePersistence
@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class) protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.UserPersistence userPersistence
| Constructor Detail |
|---|
public ExpandoTablePersistenceImpl()
| Method Detail |
|---|
public void cacheResult(com.liferay.portlet.expando.model.ExpandoTable expandoTable)
cacheResult in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistenceexpandoTable - the expando tablepublic void cacheResult(java.util.List<com.liferay.portlet.expando.model.ExpandoTable> expandoTables)
cacheResult in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistenceexpandoTables - the expando tablespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.expando.model.ExpandoTable>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.expando.model.ExpandoTable>public void clearCache(com.liferay.portlet.expando.model.ExpandoTable expandoTable)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.expando.model.ExpandoTable>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.expando.model.ExpandoTable>public void clearCache(java.util.List<com.liferay.portlet.expando.model.ExpandoTable> expandoTables)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.expando.model.ExpandoTable>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.expando.model.ExpandoTable>protected void clearUniqueFindersCache(com.liferay.portlet.expando.model.ExpandoTable expandoTable)
public com.liferay.portlet.expando.model.ExpandoTable create(long tableId)
create in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencetableId - the primary key for the new expando table
public com.liferay.portlet.expando.model.ExpandoTable remove(long tableId)
throws com.liferay.portlet.expando.NoSuchTableException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencetableId - the primary key of the expando table
com.liferay.portlet.expando.NoSuchTableException - if a expando table with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.expando.model.ExpandoTable remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.expando.NoSuchTableException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.expando.model.ExpandoTable>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.expando.model.ExpandoTable>primaryKey - the primary key of the expando table
com.liferay.portlet.expando.NoSuchTableException - if a expando table with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.expando.model.ExpandoTable removeImpl(com.liferay.portlet.expando.model.ExpandoTable expandoTable)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.expando.model.ExpandoTable>com.liferay.portal.kernel.exception.SystemException
public com.liferay.portlet.expando.model.ExpandoTable updateImpl(com.liferay.portlet.expando.model.ExpandoTable expandoTable,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.expando.model.ExpandoTable>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.expando.model.ExpandoTable toUnwrappedModel(com.liferay.portlet.expando.model.ExpandoTable expandoTable)
public com.liferay.portlet.expando.model.ExpandoTable findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchModelException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.expando.model.ExpandoTable>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.expando.model.ExpandoTable>primaryKey - the primary key of the expando table
com.liferay.portal.NoSuchModelException - if a expando table with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.expando.model.ExpandoTable findByPrimaryKey(long tableId)
throws com.liferay.portlet.expando.NoSuchTableException,
com.liferay.portal.kernel.exception.SystemException
NoSuchTableException if it could not be found.
findByPrimaryKey in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencetableId - the primary key of the expando table
com.liferay.portlet.expando.NoSuchTableException - if a expando table with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.expando.model.ExpandoTable fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.expando.model.ExpandoTable>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.expando.model.ExpandoTable>primaryKey - the primary key of the expando table
null if a expando table with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.expando.model.ExpandoTable fetchByPrimaryKey(long tableId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencetableId - the primary key of the expando table
null if a expando table with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByC_C(long companyId,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
findByC_C in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencecompanyId - the company IDclassNameId - the class name ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByC_C(long companyId,
long classNameId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByC_C in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencecompanyId - the company IDclassNameId - the class name IDstart - the lower bound of the range of expando tablesend - the upper bound of the range of expando tables (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByC_C(long companyId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findByC_C in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencecompanyId - the company IDclassNameId - the class name IDstart - the lower bound of the range of expando tablesend - the upper bound of the range of expando tables (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.expando.model.ExpandoTable findByC_C_First(long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.expando.NoSuchTableException,
com.liferay.portal.kernel.exception.SystemException
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.
findByC_C_First in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencecompanyId - the company IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.expando.NoSuchTableException - if a matching expando table could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.expando.model.ExpandoTable findByC_C_Last(long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.expando.NoSuchTableException,
com.liferay.portal.kernel.exception.SystemException
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.
findByC_C_Last in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencecompanyId - the company IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.expando.NoSuchTableException - if a matching expando table could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.expando.model.ExpandoTable[] findByC_C_PrevAndNext(long tableId,
long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.expando.NoSuchTableException,
com.liferay.portal.kernel.exception.SystemException
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.
findByC_C_PrevAndNext in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencetableId - the primary key of the current expando tablecompanyId - the company IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.expando.NoSuchTableException - if a expando table with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.expando.model.ExpandoTable getByC_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.expando.model.ExpandoTable expandoTable,
long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public com.liferay.portlet.expando.model.ExpandoTable findByC_C_N(long companyId,
long classNameId,
java.lang.String name)
throws com.liferay.portlet.expando.NoSuchTableException,
com.liferay.portal.kernel.exception.SystemException
NoSuchTableException if it could not be found.
findByC_C_N in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencecompanyId - the company IDclassNameId - the class name IDname - the name
com.liferay.portlet.expando.NoSuchTableException - if a matching expando table could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.expando.model.ExpandoTable fetchByC_C_N(long companyId,
long classNameId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.
fetchByC_C_N in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencecompanyId - the company IDclassNameId - the class name IDname - the name
null if a matching expando table could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.expando.model.ExpandoTable fetchByC_C_N(long companyId,
long classNameId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.
fetchByC_C_N in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencecompanyId - the company IDclassNameId - the class name IDname - the nameretrieveFromCache - whether to use the finder cache
null if a matching expando table could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.
findAll in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencestart - the lower bound of the range of expando tablesend - the upper bound of the range of expando tables (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.
findAll in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencestart - the lower bound of the range of expando tablesend - the upper bound of the range of expando tables (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByC_C(long companyId,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
removeByC_C in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencecompanyId - the company IDclassNameId - the class name ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByC_C_N(long companyId,
long classNameId,
java.lang.String name)
throws com.liferay.portlet.expando.NoSuchTableException,
com.liferay.portal.kernel.exception.SystemException
removeByC_C_N in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencecompanyId - the company IDclassNameId - the class name IDname - the name
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.expando.NoSuchTableException
public void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByC_C(long companyId,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
countByC_C in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencecompanyId - the company IDclassNameId - the class name ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByC_C_N(long companyId,
long classNameId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
countByC_C_N in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencecompanyId - the company IDclassNameId - the class name IDname - the name
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.expando.service.persistence.ExpandoTablePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||