protected internal ReportThemaItemWrapper(IThemaItem item, IThemaWrapper wrapper) : base(item, wrapper) {
		}
예제 #2
0
		public static IThemaItemWrapper Wrap(IThemaItem item, IThemaWrapper wrapper) {
			IThemaItemWrapper result = null;
			if (item is IReportThemaItem) {
				result = new ReportThemaItemWrapper(item, wrapper);
			}
			else if (item is IFormThemaItem) {
				result = new FormThemaItemWrapper(item, wrapper);
			}
			else {
				result = new ThemaItemWrapper(item, wrapper);
			}
			result.AccomodateContext();
			return result;
		}
예제 #3
0
		public bool Authorize(string usr, IThemaItem themaitem) {
			lock (refresh_lock) {
			}
			return Authorize(usr, themaitem, usr + "_" + themaitem.Thema.Code + "." + themaitem.Code);
		}
예제 #4
0
		protected ThemaItemWrapper(IThemaItem item, IThemaWrapper wrapper) {
			Item = item;
			ThemaWrapper = wrapper;
			Context = wrapper.Context.GetChild();
		}