Proyectos de Subversion Android Microlearning - Nuevo Interface

Rev

Rev 1 | Rev 58 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 23
Línea 13... Línea 13...
13
 
13
 
14
@Dao
14
@Dao
Línea 15... Línea 15...
15
public interface CapsuleDao {
15
public interface CapsuleDao {
16
 
16
 
Línea 17... Línea 17...
17
    @Query("SELECT * FROM tb_capsules ORDER BY position, name")
17
    @Query("SELECT * FROM tb_capsules ORDER BY position, name")
18
    public List<Capsule> selectAll();
18
    List<Capsule> selectAll();
-
 
19
 
-
 
20
    @Query("SELECT * FROM tb_capsules WHERE topic_uuid = :topicUuid ORDER BY position, name")
-
 
21
    List<Capsule> selectAllByTopicUuid(String topicUuid);
Línea 19... Línea 22...
19
 
22
 
20
    @Query("SELECT * FROM tb_capsules WHERE topic_uuid = :topicUuid ORDER BY position, name")
23
    @Query("SELECT * FROM tb_capsules WHERE topic_uuid = :topicUuid ORDER BY added_on DESC")