// Path: smssync/src/main/java/org/addhen/smssync/domain/entity/LogEntity.java
// public class LogEntity extends Entity {
// 
//     private String message;
// 
//     public Long getId() {
//         return _id;
//     }
// 
//     public void setId(Long id) {
//         _id = id;
//     }
// 
//     public String getMessage() {
//         return message;
//     }
// 
//     public void setMessage(String message) {
//         this.message = message;
//     }
// 
//     @Override
//     public String toString() {
//         return "LogEntity{"
//                 + "message='" + message + '\''
//                 + '}';
//     }
// }


import rx.Observable;
import com.addhen.android.raiburari.domain.executor.PostExecutionThread;
import com.addhen.android.raiburari.domain.executor.ThreadExecutor;
import com.addhen.android.raiburari.domain.usecase.Usecase;
import org.addhen.smssync.domain.entity.LogEntity;
import org.addhen.smssync.domain.repository.LogRepository;
import android.support.annotation.NonNull;
import java.util.List;
import javax.inject.Inject;
/*
 * Copyright (c) 2010 - 2015 Ushahidi Inc
 * All rights reserved
 * Contact: team@ushahidi.com
 * Website: http://www.ushahidi.com
 * GNU Lesser General Public License Usage
 * This file may be used under the terms of the GNU Lesser
 * General Public License version 3 as published by the Free Software
 * Foundation and appearing in the file LICENSE.LGPL included in the
 * packaging of this file. Please review the following information to
 * ensure the GNU Lesser General Public License version 3 requirements
 * will be met: http://www.gnu.org/licenses/lgpl.html.
 *
 * If you have questions regarding the use of this file, please contact
 * Ushahidi developers at team@ushahidi.com.
 */

package org.addhen.smssync.domain.usecase.log;







/**
 * @author Ushahidi Team <team@ushahidi.com>
 */
public class ListLogUsecase extends Usecase {

    private final LogRepository mLogRepository;

    @Inject
    public ListLogUsecase(@NonNull LogRepository logRepository,
            ThreadExecutor threadExecutor, PostExecutionThread postExecutionThread) {
        super(threadExecutor, postExecutionThread);
        mLogRepository = logRepository;
    }

    @Override
// Path: smssync/src/main/java/org/addhen/smssync/domain/entity/LogEntity.java
// public class LogEntity extends Entity {
// 
//     private String message;
// 
//     public Long getId() {
//         return _id;
//     }
// 
//     public void setId(Long id) {
//         _id = id;
//     }
// 
//     public String getMessage() {
//         return message;
//     }
// 
//     public void setMessage(String message) {
//         this.message = message;
//     }
// 
//     @Override
//     public String toString() {
//         return "LogEntity{"
//                 + "message='" + message + '\''
//                 + '}';
//     }
// }


// Path: smssync/src/main/java/org/addhen/smssync/domain/usecase/log/ListLogUsecase.java
import rx.Observable;
import com.addhen.android.raiburari.domain.executor.PostExecutionThread;
import com.addhen.android.raiburari.domain.executor.ThreadExecutor;
import com.addhen.android.raiburari.domain.usecase.Usecase;
import org.addhen.smssync.domain.entity.LogEntity;
import org.addhen.smssync.domain.repository.LogRepository;
import android.support.annotation.NonNull;
import java.util.List;
import javax.inject.Inject;

/*
 * Copyright (c) 2010 - 2015 Ushahidi Inc
 * All rights reserved
 * Contact: team@ushahidi.com
 * Website: http://www.ushahidi.com
 * GNU Lesser General Public License Usage
 * This file may be used under the terms of the GNU Lesser
 * General Public License version 3 as published by the Free Software
 * Foundation and appearing in the file LICENSE.LGPL included in the
 * packaging of this file. Please review the following information to
 * ensure the GNU Lesser General Public License version 3 requirements
 * will be met: http://www.gnu.org/licenses/lgpl.html.
 *
 * If you have questions regarding the use of this file, please contact
 * Ushahidi developers at team@ushahidi.com.
 */

package org.addhen.smssync.domain.usecase.log;







/**
 * @author Ushahidi Team <team@ushahidi.com>
 */
public class ListLogUsecase extends Usecase {

    private final LogRepository mLogRepository;

    @Inject
    public ListLogUsecase(@NonNull LogRepository logRepository,
            ThreadExecutor threadExecutor, PostExecutionThread postExecutionThread) {
        super(threadExecutor, postExecutionThread);
        mLogRepository = logRepository;
    }

    @Override
    protected Observable<List<LogEntity>> buildUseCaseObservable() {