private StorePremissions getStorePremissions(Store s) { return(StorePremissionsArchive.getInstance().GetPremissionsOfAStore(s.getStoreId())); }
public StoreManager(User u, Store s, String addedBy, String timeAdded) : base(u, s, addedBy, timeAdded) { premissions = StorePremissionsArchive.getInstance(); type = "Manager"; }
public override Premissions getPremissions(User manager, Store s) { return(StorePremissionsArchive.getInstance().getAllPremissions(s.getStoreId(), manager.getUserName())); }
public StoreManager(User u, Store s) : base(u, s) { premissions = StorePremissionsArchive.getInstance(); type = "Manager"; }