Class SuperUserMissionService
java.lang.Object
dev.getelements.elements.service.mission.AnonMissionService
dev.getelements.elements.service.mission.SuperUserMissionService
- All Implemented Interfaces:
MissionService
-
Field Summary
Fields inherited from class dev.getelements.elements.service.mission.AnonMissionService
missionDao, user -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateMission(Mission mission) Creates a newMission.voiddeleteMission(String missionNameOrId) Deletes theMissionwith the supplied id or name.updateMission(Mission mission) Updates theMission.Methods inherited from class dev.getelements.elements.service.mission.AnonMissionService
getMissionByNameOrId, getMissionDao, getMissions, getMissions, getUser, setMissionDao, setUserMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.getelements.elements.sdk.service.mission.MissionService
getMissionByNameOrId, getMissions, getMissions
-
Constructor Details
-
SuperUserMissionService
public SuperUserMissionService()
-
-
Method Details
-
updateMission
Description copied from interface:MissionService- Specified by:
updateMissionin interfaceMissionService- Overrides:
updateMissionin classAnonMissionService- Parameters:
mission- theMissionto update- Returns:
- the
Missionas it was written to the database
-
createMission
Description copied from interface:MissionServiceCreates a newMission. The ID of the mission, as specified byMission.getId(), should be null and will be assigned.- Specified by:
createMissionin interfaceMissionService- Overrides:
createMissionin classAnonMissionService- Parameters:
mission- theMissionto create- Returns:
- the
Missionas it was created by the service.
-
deleteMission
Description copied from interface:MissionServiceDeletes theMissionwith the supplied id or name.- Specified by:
deleteMissionin interfaceMissionService- Overrides:
deleteMissionin classAnonMissionService- Parameters:
missionNameOrId- the mission name or ID.
-