@Override public void setSiteCounter(final int siteCounter) { if (siteCounter != getSiteCounter()) { model.setSiteCounter(siteCounter); MPUserFileManager.get().save(); } }
@Override public void setSiteType(final MPSiteType siteType) { if (siteType != getSiteType()) { model.setSiteType(siteType); MPUserFileManager.get().save(); } }
@Override public void setAlgorithmVersion(final MasterKey.Version algorithmVersion) { if (algorithmVersion != getAlgorithmVersion()) { model.setAlgorithmVersion(algorithmVersion); MPUserFileManager.get().save(); } }
public void use() { model.updateLastUsed(); MPUserFileManager.get().save(); }
@Override public void setSiteName(final String siteName) { model.setSiteName(siteName); MPUserFileManager.get().save(); }