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