com.afrigis.services.ext.SaasTimeAware Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Core Java library to ease use of AfriGIS Services
package com.afrigis.services.ext;
/**
*
* Interface for implementors aware of the "saas time" feature.
*
*
* @author hendrikc
*
*/
public interface SaasTimeAware {
/**
*
* Tells implementors to use saas time or not.
*
*
* SaaS time SHOULD be used by all.
*
*
* @param onOff
* true to use it, false to ignore it.
*/
void setUseSaasTime(boolean onOff);
/**
* Sets the current time offset.
*
* @param secs
* offset in seconds.
*/
void setSaasOffsetInSeconds(int secs);
/**
* Retrieves the current offset (in seconds).
*
* @return the offset in seconds.
*/
int getSaasOffsetInSeconds();
}