-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Done application Opject and add attribute description entity
- Loading branch information
1 parent
63c20fc
commit 15ef3a3
Showing
12 changed files
with
205 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
package com.vnptt.tms.dto; | ||
|
||
import java.sql.Timestamp; | ||
|
||
public class PolicyDTO extends AbstractDTO<PolicyDTO>{ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/main/java/com/vnptt/tms/service/IApplicationService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,30 @@ | ||
package com.vnptt.tms.service; | ||
|
||
import com.vnptt.tms.dto.ApplicationDTO; | ||
import com.vnptt.tms.entity.ApplicationEntity; | ||
import org.springframework.data.domain.Pageable; | ||
import org.springframework.http.ResponseEntity; | ||
|
||
import java.util.List; | ||
|
||
public interface IApplicationService { | ||
ApplicationDTO save(ApplicationDTO applicationDTO); | ||
|
||
ApplicationDTO findOne(Long id); | ||
|
||
int totalItem(); | ||
|
||
void delete(Long[] ids); | ||
|
||
List<ApplicationDTO> findAll(Pageable pageable); | ||
|
||
List<ApplicationDTO> findAll(); | ||
|
||
List<ApplicationDTO> findAllOnDevice(Long deviceId); | ||
|
||
ApplicationDTO addAppToDevice(Long deviceId, ApplicationDTO model); | ||
|
||
void removeAppOnDevice(Long deviceId, Long applicationId); | ||
|
||
List<ApplicationDTO> findByPackagename(String packagename); | ||
} |
Oops, something went wrong.