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

com.adobe.aemds.guide.model.SignerInfo Maven / Gradle / Ivy

/*
 * ***********************************************************************
 * ADOBE CONFIDENTIAL
 * __________________
 *
 * Copyright 2016 Adobe Systems Incorporated
 * All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and may be covered by U.S. and Foreign Patents,
 * patents in process, and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 * ***********************************************************************
 */

package com.adobe.aemds.guide.model;

import org.apache.sling.api.resource.Resource;
import org.apache.sling.models.annotations.Model;
import org.apache.sling.models.annotations.Optional;

import javax.inject.Inject;
import javax.inject.Named;
import java.util.List;

/**
 * @pad.exclude Exclude from Published API.
 */
@Model(adaptables =  Resource.class)
public class SignerInfo {

  @Inject
  private String emailSource;

  @Inject @Optional
  private String email;

  @Inject
  @Named(".")
  private List signFields;

  @Inject
  private String securityOption;

  @Inject @Optional
  private String countryCodeSource;

  @Inject @Optional
  private String countryCode;

  @Inject @Optional
  private String phoneSource;

  @Inject @Optional
  private String phone;

  public SignerInfoSource getEmailSource() {
    return SignerInfoSource.get(emailSource);
  }

  public String getEmail() {
    return email;
  }

  public List getSignFields() {
    return signFields;
  }

  public SignerInfoSource getCountryCodeSource() {
    return SignerInfoSource.get(countryCodeSource);
  }

  public String getCountryCode() {
    return countryCode;
  }

  public SignerInfoSource getPhoneSource() {
    return SignerInfoSource.get(phoneSource);
  }

  public String getPhone() {
    return phone;
  }

  public String getSecurityOption() {
    return securityOption;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy