public abstract class AssignmentLocalServiceBaseImpl
extends com.liferay.portal.service.BaseLocalServiceImpl
implements com.qti.slayer.service.AssignmentLocalService, 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 AssignmentLocalServiceImpl
.
AssignmentLocalServiceImpl
,
AssignmentLocalServiceUtil
Constructor and Description |
---|
AssignmentLocalServiceBaseImpl() |
Modifier and Type | Method and Description |
---|---|
com.qti.slayer.model.Assignment |
addAssignment(com.qti.slayer.model.Assignment assignment)
Adds the assignment to the database.
|
void |
afterPropertiesSet() |
com.qti.slayer.model.Assignment |
createAssignment(com.qti.slayer.service.persistence.AssignmentPK assignmentPK)
Creates a new assignment with the primary key.
|
com.qti.slayer.model.Assignment |
deleteAssignment(com.qti.slayer.model.Assignment assignment)
Deletes the assignment from the database.
|
com.qti.slayer.model.Assignment |
deleteAssignment(com.qti.slayer.service.persistence.AssignmentPK assignmentPK)
Deletes the assignment 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.Assignment |
fetchAssignment(com.qti.slayer.service.persistence.AssignmentPK assignmentPK) |
com.qti.slayer.model.Assignment |
getAssignment(com.qti.slayer.service.persistence.AssignmentPK assignmentPK)
Returns the assignment with the primary key.
|
com.qti.slayer.service.AssignmentLocalService |
getAssignmentLocalService()
Returns the assignment local service.
|
com.qti.slayer.service.persistence.AssignmentPersistence |
getAssignmentPersistence()
Returns the assignment persistence.
|
java.util.List<com.qti.slayer.model.Assignment> |
getAssignments(int start,
int end)
Returns a range of all the assignments.
|
int |
getAssignmentsCount()
Returns the number of assignments.
|
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.service.TestResultLocalService |
getTestResultLocalService()
Returns the test result local service.
|
com.qti.slayer.service.persistence.TestResultPersistence |
getTestResultPersistence()
Returns the test result persistence.
|
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.Assignment |
updateAssignment(com.qti.slayer.model.Assignment assignment)
Updates the assignment in the database or adds it if it does not yet exist.
|
com.qti.slayer.model.Assignment |
updateAssignment(com.qti.slayer.model.Assignment assignment,
boolean merge)
Updates the assignment in the database or adds it if it does not yet exist.
|
@Indexable(type=REINDEX) public com.qti.slayer.model.Assignment addAssignment(com.qti.slayer.model.Assignment assignment) throws com.liferay.portal.kernel.exception.SystemException
addAssignment
in interface com.qti.slayer.service.AssignmentLocalService
assignment
- the assignmentcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.Assignment createAssignment(com.qti.slayer.service.persistence.AssignmentPK assignmentPK)
createAssignment
in interface com.qti.slayer.service.AssignmentLocalService
assignmentPK
- the primary key for the new assignment@Indexable(type=DELETE) public com.qti.slayer.model.Assignment deleteAssignment(com.qti.slayer.service.persistence.AssignmentPK assignmentPK) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
deleteAssignment
in interface com.qti.slayer.service.AssignmentLocalService
assignmentPK
- the primary key of the assignmentcom.liferay.portal.kernel.exception.PortalException
- if a assignment 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.Assignment deleteAssignment(com.qti.slayer.model.Assignment assignment) throws com.liferay.portal.kernel.exception.SystemException
deleteAssignment
in interface com.qti.slayer.service.AssignmentLocalService
assignment
- the assignmentcom.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.AssignmentLocalService
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.AssignmentLocalService
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.AssignmentLocalService
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.AssignmentLocalService
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.AssignmentLocalService
dynamicQuery
- the dynamic querycom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic com.qti.slayer.model.Assignment fetchAssignment(com.qti.slayer.service.persistence.AssignmentPK assignmentPK) throws com.liferay.portal.kernel.exception.SystemException
fetchAssignment
in interface com.qti.slayer.service.AssignmentLocalService
com.liferay.portal.kernel.exception.SystemException
public com.qti.slayer.model.Assignment getAssignment(com.qti.slayer.service.persistence.AssignmentPK assignmentPK) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
getAssignment
in interface com.qti.slayer.service.AssignmentLocalService
assignmentPK
- the primary key of the assignmentcom.liferay.portal.kernel.exception.PortalException
- if a assignment 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.AssignmentLocalService
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public java.util.List<com.qti.slayer.model.Assignment> getAssignments(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.
getAssignments
in interface com.qti.slayer.service.AssignmentLocalService
start
- the lower bound of the range of assignmentsend
- the upper bound of the range of assignments (not inclusive)com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic int getAssignmentsCount() throws com.liferay.portal.kernel.exception.SystemException
getAssignmentsCount
in interface com.qti.slayer.service.AssignmentLocalService
com.liferay.portal.kernel.exception.SystemException
- if a system exception occurred@Indexable(type=REINDEX) public com.qti.slayer.model.Assignment updateAssignment(com.qti.slayer.model.Assignment assignment) throws com.liferay.portal.kernel.exception.SystemException
updateAssignment
in interface com.qti.slayer.service.AssignmentLocalService
assignment
- the assignmentcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurred@Indexable(type=REINDEX) public com.qti.slayer.model.Assignment updateAssignment(com.qti.slayer.model.Assignment assignment, boolean merge) throws com.liferay.portal.kernel.exception.SystemException
updateAssignment
in interface com.qti.slayer.service.AssignmentLocalService
assignment
- the assignmentmerge
- whether to merge the assignment 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.AssignmentLocalService
public void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier
in interface com.liferay.portal.kernel.bean.IdentifiableBean
setBeanIdentifier
in interface com.qti.slayer.service.AssignmentLocalService
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.AssignmentLocalService
java.lang.Throwable