public abstract class TestResultLocalServiceBaseImpl
extends com.liferay.portal.service.BaseLocalServiceImpl
implements com.qti.slayer.service.TestResultLocalService, com.liferay.portal.kernel.bean.IdentifiableBean
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in TestResultLocalServiceImpl
.
TestResultLocalServiceImpl
,
TestResultLocalServiceUtil
Constructor and Description |
---|
TestResultLocalServiceBaseImpl() |
Modifier and Type | Method and Description |
---|---|
com.qti.slayer.model.TestResult |
addTestResult(com.qti.slayer.model.TestResult testResult)
Adds the test result to the database.
|
void |
afterPropertiesSet() |
com.qti.slayer.model.TestResult |
createTestResult(com.qti.slayer.service.persistence.TestResultPK testResultPK)
Creates a new test result with the primary key.
|
com.qti.slayer.model.TestResult |
deleteTestResult(com.qti.slayer.model.TestResult testResult)
Deletes the test result from the database.
|
com.qti.slayer.model.TestResult |
deleteTestResult(com.qti.slayer.service.persistence.TestResultPK testResultPK)
Deletes the test result with the primary key from the database.
|
void |
destroy() |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query.
|
com.qti.slayer.model.TestResult |
fetchTestResult(com.qti.slayer.service.persistence.TestResultPK testResultPK) |
com.qti.slayer.service.AssignmentLocalService |
getAssignmentLocalService()
Returns the assignment local service.
|
com.qti.slayer.service.persistence.AssignmentPersistence |
getAssignmentPersistence()
Returns the assignment persistence.
|
com.qti.slayer.service.AssignmentService |
getAssignmentService()
Returns the assignment remote service.
|
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
com.liferay.counter.service.CounterLocalService |
getCounterLocalService()
Returns the counter local service.
|
com.liferay.portal.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
com.liferay.portal.service.ResourceLocalService |
getResourceLocalService()
Returns the resource local service.
|
com.liferay.portal.service.persistence.ResourcePersistence |
getResourcePersistence()
Returns the resource persistence.
|
com.liferay.portal.service.ResourceService |
getResourceService()
Returns the resource remote service.
|
com.qti.slayer.model.TestResult |
getTestResult(com.qti.slayer.service.persistence.TestResultPK testResultPK)
Returns the test result with the primary key.
|
com.qti.slayer.service.TestResultLocalService |
getTestResultLocalService()
Returns the test result local service.
|
com.qti.slayer.service.persistence.TestResultPersistence |
getTestResultPersistence()
Returns the test result persistence.
|
java.util.List<com.qti.slayer.model.TestResult> |
getTestResults(int start,
int end)
Returns a range of all the test results.
|
int |
getTestResultsCount()
Returns the number of test results.
|
com.qti.slayer.service.TestResultService |
getTestResultService()
Returns the test result remote service.
|
com.qti.slayer.service.UolLocalService |
getUolLocalService()
Returns the uol local service.
|
com.qti.slayer.service.persistence.UolPersistence |
getUolPersistence()
Returns the uol persistence.
|
com.qti.slayer.service.UolService |
getUolService()
Returns the uol remote service.
|
com.liferay.portal.service.UserLocalService |
getUserLocalService()
Returns the user local service.
|
com.liferay.portal.service.persistence.UserPersistence |
getUserPersistence()
Returns the user persistence.
|
com.liferay.portal.service.UserService |
getUserService()
Returns the user remote service.
|
java.lang.Object |
invokeMethod(java.lang.String name,
java.lang.String[] parameterTypes,
java.lang.Object[] arguments) |
void |
setAssignmentLocalService(com.qti.slayer.service.AssignmentLocalService assignmentLocalService)
Sets the assignment local service.
|
void |
setAssignmentPersistence(com.qti.slayer.service.persistence.AssignmentPersistence assignmentPersistence)
Sets the assignment persistence.
|
void |
setAssignmentService(com.qti.slayer.service.AssignmentService assignmentService)
Sets the assignment remote service.
|
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
Sets the counter local service.
|
void |
setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
Sets the resource local service.
|
void |
setResourcePersistence(com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence)
Sets the resource persistence.
|
void |
setResourceService(com.liferay.portal.service.ResourceService resourceService)
Sets the resource remote service.
|
void |
setTestResultLocalService(com.qti.slayer.service.TestResultLocalService testResultLocalService)
Sets the test result local service.
|
void |
setTestResultPersistence(com.qti.slayer.service.persistence.TestResultPersistence testResultPersistence)
Sets the test result persistence.
|
void |
setTestResultService(com.qti.slayer.service.TestResultService testResultService)
Sets the test result remote service.
|
void |
setUolLocalService(com.qti.slayer.service.UolLocalService uolLocalService)
Sets the uol local service.
|
void |
setUolPersistence(com.qti.slayer.service.persistence.UolPersistence uolPersistence)
Sets the uol persistence.
|
void |
setUolService(com.qti.slayer.service.UolService uolService)
Sets the uol remote service.
|
void |
setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
Sets the user local service.
|
void |
setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
Sets the user persistence.
|
void |
setUserService(com.liferay.portal.service.UserService userService)
Sets the user remote service.
|
com.qti.slayer.model.TestResult |
updateTestResult(com.qti.slayer.model.TestResult testResult)
Updates the test result in the database or adds it if it does not yet exist.
|
com.qti.slayer.model.TestResult |
updateTestResult(com.qti.slayer.model.TestResult testResult,
boolean merge)
Updates the test result in the database or adds it if it does not yet exist.
|
@Indexable(type=REINDEX) public com.qti.slayer.model.TestResult addTestResult(com.qti.slayer.model.TestResult testResult) throws com.liferay.portal.kernel.exception.SystemException
addTestResult
in interface com.qti.slayer.service.TestResultLocalService
testResult
- the test resultcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.TestResult createTestResult(com.qti.slayer.service.persistence.TestResultPK testResultPK)
createTestResult
in interface com.qti.slayer.service.TestResultLocalService
testResultPK
- the primary key for the new test result@Indexable(type=DELETE) public com.qti.slayer.model.TestResult deleteTestResult(com.qti.slayer.service.persistence.TestResultPK testResultPK) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
deleteTestResult
in interface com.qti.slayer.service.TestResultLocalService
testResultPK
- the primary key of the test resultcom.liferay.portal.kernel.exception.PortalException
- if a test result with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurred@Indexable(type=DELETE) public com.qti.slayer.model.TestResult deleteTestResult(com.qti.slayer.model.TestResult testResult) throws com.liferay.portal.kernel.exception.SystemException
deleteTestResult
in interface com.qti.slayer.service.TestResultLocalService
testResult
- the test resultcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface com.qti.slayer.service.TestResultLocalService
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.kernel.exception.SystemException
dynamicQuery
in interface com.qti.slayer.service.TestResultLocalService
dynamicQuery
- the dynamic querycom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, 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.
dynamicQuery
in interface com.qti.slayer.service.TestResultLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, 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.
dynamicQuery
in interface com.qti.slayer.service.TestResultLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.kernel.exception.SystemException
dynamicQueryCount
in interface com.qti.slayer.service.TestResultLocalService
dynamicQuery
- the dynamic querycom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.TestResult fetchTestResult(com.qti.slayer.service.persistence.TestResultPK testResultPK) throws com.liferay.portal.kernel.exception.SystemException
fetchTestResult
in interface com.qti.slayer.service.TestResultLocalService
com.liferay.portal.kernel.exception.SystemException
public com.qti.slayer.model.TestResult getTestResult(com.qti.slayer.service.persistence.TestResultPK testResultPK) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
getTestResult
in interface com.qti.slayer.service.TestResultLocalService
testResultPK
- the primary key of the test resultcom.liferay.portal.kernel.exception.PortalException
- if a test result with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
getPersistedModel
in interface com.liferay.portal.service.PersistedModelLocalService
getPersistedModel
in interface com.qti.slayer.service.TestResultLocalService
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.util.List<com.qti.slayer.model.TestResult> getTestResults(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.
getTestResults
in interface com.qti.slayer.service.TestResultLocalService
start
- the lower bound of the range of test resultsend
- the upper bound of the range of test results (not inclusive)com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic int getTestResultsCount() throws com.liferay.portal.kernel.exception.SystemException
getTestResultsCount
in interface com.qti.slayer.service.TestResultLocalService
com.liferay.portal.kernel.exception.SystemException
- if a system exception occurred@Indexable(type=REINDEX) public com.qti.slayer.model.TestResult updateTestResult(com.qti.slayer.model.TestResult testResult) throws com.liferay.portal.kernel.exception.SystemException
updateTestResult
in interface com.qti.slayer.service.TestResultLocalService
testResult
- the test resultcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurred@Indexable(type=REINDEX) public com.qti.slayer.model.TestResult updateTestResult(com.qti.slayer.model.TestResult testResult, boolean merge) throws com.liferay.portal.kernel.exception.SystemException
updateTestResult
in interface com.qti.slayer.service.TestResultLocalService
testResult
- the test resultmerge
- whether to merge the test result with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)
for an explanation.com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.service.AssignmentLocalService getAssignmentLocalService()
public void setAssignmentLocalService(com.qti.slayer.service.AssignmentLocalService assignmentLocalService)
assignmentLocalService
- the assignment local servicepublic com.qti.slayer.service.AssignmentService getAssignmentService()
public void setAssignmentService(com.qti.slayer.service.AssignmentService assignmentService)
assignmentService
- the assignment remote servicepublic com.qti.slayer.service.persistence.AssignmentPersistence getAssignmentPersistence()
public void setAssignmentPersistence(com.qti.slayer.service.persistence.AssignmentPersistence assignmentPersistence)
assignmentPersistence
- the assignment persistencepublic com.qti.slayer.service.TestResultLocalService getTestResultLocalService()
public void setTestResultLocalService(com.qti.slayer.service.TestResultLocalService testResultLocalService)
testResultLocalService
- the test result local servicepublic com.qti.slayer.service.TestResultService getTestResultService()
public void setTestResultService(com.qti.slayer.service.TestResultService testResultService)
testResultService
- the test result remote servicepublic com.qti.slayer.service.persistence.TestResultPersistence getTestResultPersistence()
public void setTestResultPersistence(com.qti.slayer.service.persistence.TestResultPersistence testResultPersistence)
testResultPersistence
- the test result persistencepublic com.qti.slayer.service.UolLocalService getUolLocalService()
public void setUolLocalService(com.qti.slayer.service.UolLocalService uolLocalService)
uolLocalService
- the uol local servicepublic com.qti.slayer.service.UolService getUolService()
public void setUolService(com.qti.slayer.service.UolService uolService)
uolService
- the uol remote servicepublic com.qti.slayer.service.persistence.UolPersistence getUolPersistence()
public void setUolPersistence(com.qti.slayer.service.persistence.UolPersistence uolPersistence)
uolPersistence
- the uol persistencepublic com.liferay.counter.service.CounterLocalService getCounterLocalService()
public void setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
counterLocalService
- the counter local servicepublic com.liferay.portal.service.ResourceLocalService getResourceLocalService()
public void setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
resourceLocalService
- the resource local servicepublic com.liferay.portal.service.ResourceService getResourceService()
public void setResourceService(com.liferay.portal.service.ResourceService resourceService)
resourceService
- the resource remote servicepublic com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence()
public void setResourcePersistence(com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence)
resourcePersistence
- the resource persistencepublic com.liferay.portal.service.UserLocalService getUserLocalService()
public void setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
userLocalService
- the user local servicepublic com.liferay.portal.service.UserService getUserService()
public void setUserService(com.liferay.portal.service.UserService userService)
userService
- the user remote servicepublic com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
public void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
userPersistence
- the user persistencepublic void afterPropertiesSet()
public void destroy()
public java.lang.String getBeanIdentifier()
getBeanIdentifier
in interface com.liferay.portal.kernel.bean.IdentifiableBean
getBeanIdentifier
in interface com.qti.slayer.service.TestResultLocalService
public void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier
in interface com.liferay.portal.kernel.bean.IdentifiableBean
setBeanIdentifier
in interface com.qti.slayer.service.TestResultLocalService
beanIdentifier
- the Spring bean ID for this beanpublic java.lang.Object invokeMethod(java.lang.String name, java.lang.String[] parameterTypes, java.lang.Object[] arguments) throws java.lang.Throwable
invokeMethod
in interface com.liferay.portal.service.InvokableLocalService
invokeMethod
in interface com.qti.slayer.service.TestResultLocalService
java.lang.Throwable