All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tiogasolutions.push.kernel.accounts.queries.AccountQuery Maven / Gradle / Ivy

/*
 * Copyright (c) 2014 Jacob D. Parr
 *
 * This software may not be used without permission.
 */

package org.tiogasolutions.push.kernel.accounts.queries;

import org.tiogasolutions.push.kernel.accounts.Account;
import org.tiogasolutions.push.pub.internal.ValidatableAction;

public abstract class AccountQuery implements ValidatableAction {

  public static AccountIdQuery byId(String accountId) {
    return new AccountIdQuery(accountId);
  }

  public static AccountEntityQuery byAccount(Account account) {
    return new AccountEntityQuery(account);
  }

  public static AccountEmailQuery byEmail(String emailAddress) {
    return new AccountEmailQuery(emailAddress);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy