public class UolPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.qti.slayer.model.Uol>
implements com.qti.slayer.service.persistence.UolPersistence
Caching information and settings can be found in portal.properties
UolPersistence
,
UolUtil
Modifier and Type | Field and Description |
---|---|
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_ASSESSMENTTESTID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_CLASSROOMID |
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_ASSESSMENTTESTID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_CLASSROOMID |
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_ASSESSMENTTESTID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSROOMID |
Constructor and Description |
---|
UolPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes the uol persistence.
|
void |
cacheResult(java.util.List<com.qti.slayer.model.Uol> uols)
Caches the uols in the entity cache if it is enabled.
|
void |
cacheResult(com.qti.slayer.model.Uol uol)
Caches the uol in the entity cache if it is enabled.
|
void |
clearCache()
Clears the cache for all uols.
|
void |
clearCache(java.util.List<com.qti.slayer.model.Uol> uols) |
void |
clearCache(com.qti.slayer.model.Uol uol)
Clears the cache for the uol.
|
int |
countAll()
Returns the number of uols.
|
int |
countByAssessmentTestId(long assessmentTestId)
Returns the number of uols where assessmentTestId = ?.
|
int |
countByClassRoomId(long classRoomId)
Returns the number of uols where classRoomId = ?.
|
com.qti.slayer.model.Uol |
create(long I_Id)
Creates a new uol with the primary key.
|
void |
destroy() |
com.qti.slayer.model.Uol |
fetchByAssessmentTestId_First(long assessmentTestId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first uol in the ordered set where assessmentTestId = ?.
|
com.qti.slayer.model.Uol |
fetchByAssessmentTestId_Last(long assessmentTestId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last uol in the ordered set where assessmentTestId = ?.
|
com.qti.slayer.model.Uol |
fetchByClassRoomId_First(long classRoomId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first uol in the ordered set where classRoomId = ?.
|
com.qti.slayer.model.Uol |
fetchByClassRoomId_Last(long classRoomId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last uol in the ordered set where classRoomId = ?.
|
com.qti.slayer.model.Uol |
fetchByPrimaryKey(long I_Id)
Returns the uol with the primary key or returns
null if it could not be found. |
com.qti.slayer.model.Uol |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the uol with the primary key or returns
null if it could not be found. |
java.util.List<com.qti.slayer.model.Uol> |
findAll()
Returns all the uols.
|
java.util.List<com.qti.slayer.model.Uol> |
findAll(int start,
int end)
Returns a range of all the uols.
|
java.util.List<com.qti.slayer.model.Uol> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the uols.
|
com.qti.slayer.model.Uol |
findByAssessmentTestId_First(long assessmentTestId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first uol in the ordered set where assessmentTestId = ?.
|
com.qti.slayer.model.Uol |
findByAssessmentTestId_Last(long assessmentTestId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last uol in the ordered set where assessmentTestId = ?.
|
com.qti.slayer.model.Uol[] |
findByAssessmentTestId_PrevAndNext(long I_Id,
long assessmentTestId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the uols before and after the current uol in the ordered set where assessmentTestId = ?.
|
java.util.List<com.qti.slayer.model.Uol> |
findByAssessmentTestId(long assessmentTestId)
Returns all the uols where assessmentTestId = ?.
|
java.util.List<com.qti.slayer.model.Uol> |
findByAssessmentTestId(long assessmentTestId,
int start,
int end)
Returns a range of all the uols where assessmentTestId = ?.
|
java.util.List<com.qti.slayer.model.Uol> |
findByAssessmentTestId(long assessmentTestId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the uols where assessmentTestId = ?.
|
com.qti.slayer.model.Uol |
findByClassRoomId_First(long classRoomId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first uol in the ordered set where classRoomId = ?.
|
com.qti.slayer.model.Uol |
findByClassRoomId_Last(long classRoomId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last uol in the ordered set where classRoomId = ?.
|
com.qti.slayer.model.Uol[] |
findByClassRoomId_PrevAndNext(long I_Id,
long classRoomId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the uols before and after the current uol in the ordered set where classRoomId = ?.
|
java.util.List<com.qti.slayer.model.Uol> |
findByClassRoomId(long classRoomId)
Returns all the uols where classRoomId = ?.
|
java.util.List<com.qti.slayer.model.Uol> |
findByClassRoomId(long classRoomId,
int start,
int end)
Returns a range of all the uols where classRoomId = ?.
|
java.util.List<com.qti.slayer.model.Uol> |
findByClassRoomId(long classRoomId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the uols where classRoomId = ?.
|
com.qti.slayer.model.Uol |
findByPrimaryKey(long I_Id)
Returns the uol with the primary key or throws a
NoSuchUolException if it could not be found. |
com.qti.slayer.model.Uol |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the uol with the primary key or throws a
NoSuchModelException if it could not be found. |
com.qti.slayer.model.Uol |
remove(long I_Id)
Removes the uol with the primary key from the database.
|
com.qti.slayer.model.Uol |
remove(java.io.Serializable primaryKey)
Removes the uol with the primary key from the database.
|
void |
removeAll()
Removes all the uols from the database.
|
void |
removeByAssessmentTestId(long assessmentTestId)
Removes all the uols where assessmentTestId = ? from the database.
|
void |
removeByClassRoomId(long classRoomId)
Removes all the uols where classRoomId = ? from the database.
|
com.qti.slayer.model.Uol |
updateImpl(com.qti.slayer.model.Uol uol,
boolean merge) |
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
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_CLASSROOMID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSROOMID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_CLASSROOMID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_ASSESSMENTTESTID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_ASSESSMENTTESTID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_ASSESSMENTTESTID
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
public void cacheResult(com.qti.slayer.model.Uol uol)
cacheResult
in interface com.qti.slayer.service.persistence.UolPersistence
uol
- the uolpublic void cacheResult(java.util.List<com.qti.slayer.model.Uol> uols)
cacheResult
in interface com.qti.slayer.service.persistence.UolPersistence
uols
- the uolspublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.service.persistence.BasePersistence<com.qti.slayer.model.Uol>
clearCache
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.qti.slayer.model.Uol>
public void clearCache(com.qti.slayer.model.Uol uol)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.service.persistence.BasePersistence<com.qti.slayer.model.Uol>
clearCache
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.qti.slayer.model.Uol>
public void clearCache(java.util.List<com.qti.slayer.model.Uol> uols)
clearCache
in interface com.liferay.portal.service.persistence.BasePersistence<com.qti.slayer.model.Uol>
clearCache
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.qti.slayer.model.Uol>
public com.qti.slayer.model.Uol create(long I_Id)
create
in interface com.qti.slayer.service.persistence.UolPersistence
I_Id
- the primary key for the new uolpublic com.qti.slayer.model.Uol remove(long I_Id) throws com.qti.slayer.NoSuchUolException, com.liferay.portal.kernel.exception.SystemException
remove
in interface com.qti.slayer.service.persistence.UolPersistence
I_Id
- the primary key of the uolcom.qti.slayer.NoSuchUolException
- if a uol with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.Uol remove(java.io.Serializable primaryKey) throws com.qti.slayer.NoSuchUolException, com.liferay.portal.kernel.exception.SystemException
remove
in interface com.liferay.portal.service.persistence.BasePersistence<com.qti.slayer.model.Uol>
remove
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.qti.slayer.model.Uol>
primaryKey
- the primary key of the uolcom.qti.slayer.NoSuchUolException
- if a uol with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.Uol updateImpl(com.qti.slayer.model.Uol uol, boolean merge) throws com.liferay.portal.kernel.exception.SystemException
updateImpl
in interface com.qti.slayer.service.persistence.UolPersistence
updateImpl
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.qti.slayer.model.Uol>
com.liferay.portal.kernel.exception.SystemException
public com.qti.slayer.model.Uol 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.qti.slayer.model.Uol>
findByPrimaryKey
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.qti.slayer.model.Uol>
primaryKey
- the primary key of the uolcom.liferay.portal.NoSuchModelException
- if a uol with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.Uol findByPrimaryKey(long I_Id) throws com.qti.slayer.NoSuchUolException, com.liferay.portal.kernel.exception.SystemException
NoSuchUolException
if it could not be found.findByPrimaryKey
in interface com.qti.slayer.service.persistence.UolPersistence
I_Id
- the primary key of the uolcom.qti.slayer.NoSuchUolException
- if a uol with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.Uol 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.qti.slayer.model.Uol>
fetchByPrimaryKey
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.qti.slayer.model.Uol>
primaryKey
- the primary key of the uolnull
if a uol with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.Uol fetchByPrimaryKey(long I_Id) throws com.liferay.portal.kernel.exception.SystemException
null
if it could not be found.fetchByPrimaryKey
in interface com.qti.slayer.service.persistence.UolPersistence
I_Id
- the primary key of the uolnull
if a uol with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic java.util.List<com.qti.slayer.model.Uol> findByClassRoomId(long classRoomId) throws com.liferay.portal.kernel.exception.SystemException
findByClassRoomId
in interface com.qti.slayer.service.persistence.UolPersistence
classRoomId
- the class room IDcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic java.util.List<com.qti.slayer.model.Uol> findByClassRoomId(long classRoomId, 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.
findByClassRoomId
in interface com.qti.slayer.service.persistence.UolPersistence
classRoomId
- the class room IDstart
- the lower bound of the range of uolsend
- the upper bound of the range of uols (not inclusive)com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic java.util.List<com.qti.slayer.model.Uol> findByClassRoomId(long classRoomId, 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.
findByClassRoomId
in interface com.qti.slayer.service.persistence.UolPersistence
classRoomId
- the class room IDstart
- the lower bound of the range of uolsend
- the upper bound of the range of uols (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.Uol findByClassRoomId_First(long classRoomId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.qti.slayer.NoSuchUolException, com.liferay.portal.kernel.exception.SystemException
findByClassRoomId_First
in interface com.qti.slayer.service.persistence.UolPersistence
classRoomId
- the class room IDorderByComparator
- the comparator to order the set by (optionally null
)com.qti.slayer.NoSuchUolException
- if a matching uol could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.Uol fetchByClassRoomId_First(long classRoomId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException
fetchByClassRoomId_First
in interface com.qti.slayer.service.persistence.UolPersistence
classRoomId
- the class room IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching uol could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.Uol findByClassRoomId_Last(long classRoomId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.qti.slayer.NoSuchUolException, com.liferay.portal.kernel.exception.SystemException
findByClassRoomId_Last
in interface com.qti.slayer.service.persistence.UolPersistence
classRoomId
- the class room IDorderByComparator
- the comparator to order the set by (optionally null
)com.qti.slayer.NoSuchUolException
- if a matching uol could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.Uol fetchByClassRoomId_Last(long classRoomId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException
fetchByClassRoomId_Last
in interface com.qti.slayer.service.persistence.UolPersistence
classRoomId
- the class room IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching uol could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.Uol[] findByClassRoomId_PrevAndNext(long I_Id, long classRoomId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.qti.slayer.NoSuchUolException, com.liferay.portal.kernel.exception.SystemException
findByClassRoomId_PrevAndNext
in interface com.qti.slayer.service.persistence.UolPersistence
I_Id
- the primary key of the current uolclassRoomId
- the class room IDorderByComparator
- the comparator to order the set by (optionally null
)com.qti.slayer.NoSuchUolException
- if a uol with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic java.util.List<com.qti.slayer.model.Uol> findByAssessmentTestId(long assessmentTestId) throws com.liferay.portal.kernel.exception.SystemException
findByAssessmentTestId
in interface com.qti.slayer.service.persistence.UolPersistence
assessmentTestId
- the assessment test IDcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic java.util.List<com.qti.slayer.model.Uol> findByAssessmentTestId(long assessmentTestId, 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.
findByAssessmentTestId
in interface com.qti.slayer.service.persistence.UolPersistence
assessmentTestId
- the assessment test IDstart
- the lower bound of the range of uolsend
- the upper bound of the range of uols (not inclusive)com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic java.util.List<com.qti.slayer.model.Uol> findByAssessmentTestId(long assessmentTestId, 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.
findByAssessmentTestId
in interface com.qti.slayer.service.persistence.UolPersistence
assessmentTestId
- the assessment test IDstart
- the lower bound of the range of uolsend
- the upper bound of the range of uols (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.Uol findByAssessmentTestId_First(long assessmentTestId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.qti.slayer.NoSuchUolException, com.liferay.portal.kernel.exception.SystemException
findByAssessmentTestId_First
in interface com.qti.slayer.service.persistence.UolPersistence
assessmentTestId
- the assessment test IDorderByComparator
- the comparator to order the set by (optionally null
)com.qti.slayer.NoSuchUolException
- if a matching uol could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.Uol fetchByAssessmentTestId_First(long assessmentTestId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException
fetchByAssessmentTestId_First
in interface com.qti.slayer.service.persistence.UolPersistence
assessmentTestId
- the assessment test IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching uol could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.Uol findByAssessmentTestId_Last(long assessmentTestId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.qti.slayer.NoSuchUolException, com.liferay.portal.kernel.exception.SystemException
findByAssessmentTestId_Last
in interface com.qti.slayer.service.persistence.UolPersistence
assessmentTestId
- the assessment test IDorderByComparator
- the comparator to order the set by (optionally null
)com.qti.slayer.NoSuchUolException
- if a matching uol could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.Uol fetchByAssessmentTestId_Last(long assessmentTestId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException
fetchByAssessmentTestId_Last
in interface com.qti.slayer.service.persistence.UolPersistence
assessmentTestId
- the assessment test IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching uol could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.Uol[] findByAssessmentTestId_PrevAndNext(long I_Id, long assessmentTestId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.qti.slayer.NoSuchUolException, com.liferay.portal.kernel.exception.SystemException
findByAssessmentTestId_PrevAndNext
in interface com.qti.slayer.service.persistence.UolPersistence
I_Id
- the primary key of the current uolassessmentTestId
- the assessment test IDorderByComparator
- the comparator to order the set by (optionally null
)com.qti.slayer.NoSuchUolException
- if a uol with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic java.util.List<com.qti.slayer.model.Uol> findAll() throws com.liferay.portal.kernel.exception.SystemException
findAll
in interface com.qti.slayer.service.persistence.UolPersistence
com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic java.util.List<com.qti.slayer.model.Uol> 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.qti.slayer.service.persistence.UolPersistence
start
- the lower bound of the range of uolsend
- the upper bound of the range of uols (not inclusive)com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic java.util.List<com.qti.slayer.model.Uol> 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.qti.slayer.service.persistence.UolPersistence
start
- the lower bound of the range of uolsend
- the upper bound of the range of uols (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic void removeByClassRoomId(long classRoomId) throws com.liferay.portal.kernel.exception.SystemException
removeByClassRoomId
in interface com.qti.slayer.service.persistence.UolPersistence
classRoomId
- the class room IDcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic void removeByAssessmentTestId(long assessmentTestId) throws com.liferay.portal.kernel.exception.SystemException
removeByAssessmentTestId
in interface com.qti.slayer.service.persistence.UolPersistence
assessmentTestId
- the assessment test IDcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic void removeAll() throws com.liferay.portal.kernel.exception.SystemException
removeAll
in interface com.qti.slayer.service.persistence.UolPersistence
com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic int countByClassRoomId(long classRoomId) throws com.liferay.portal.kernel.exception.SystemException
countByClassRoomId
in interface com.qti.slayer.service.persistence.UolPersistence
classRoomId
- the class room IDcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic int countByAssessmentTestId(long assessmentTestId) throws com.liferay.portal.kernel.exception.SystemException
countByAssessmentTestId
in interface com.qti.slayer.service.persistence.UolPersistence
assessmentTestId
- the assessment test IDcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic int countAll() throws com.liferay.portal.kernel.exception.SystemException
countAll
in interface com.qti.slayer.service.persistence.UolPersistence
com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic void afterPropertiesSet()
public void destroy()