use of org.olat.core.id.context.StackedBusinessControl in project openolat by klemens.
the class UserActivityLoggerImpl method frameworkSetBusinessPathFromWindowControl.
@Override
public void frameworkSetBusinessPathFromWindowControl(WindowControl wControl) {
if (wControl != null && wControl.getBusinessControl() != null) {
if (wControl.getBusinessControl() instanceof StackedBusinessControl) {
StackedBusinessControl sbc = (StackedBusinessControl) wControl.getBusinessControl();
final List<ContextEntry> ces = sbc.getContextEntryStack();
if (ces != null) {
frameworkSetBCContextEntries(new LinkedList<ContextEntry>(ces));
}
}
final String bp = wControl.getBusinessControl().getAsString();
frameworkSetBusinessPath(bp);
}
}
use of org.olat.core.id.context.StackedBusinessControl in project OpenOLAT by OpenOLAT.
the class UserActivityLoggerImpl method frameworkSetBusinessPathFromWindowControl.
@Override
public void frameworkSetBusinessPathFromWindowControl(WindowControl wControl) {
if (wControl != null && wControl.getBusinessControl() != null) {
if (wControl.getBusinessControl() instanceof StackedBusinessControl) {
StackedBusinessControl sbc = (StackedBusinessControl) wControl.getBusinessControl();
final List<ContextEntry> ces = sbc.getContextEntryStack();
if (ces != null) {
frameworkSetBCContextEntries(new LinkedList<ContextEntry>(ces));
}
}
final String bp = wControl.getBusinessControl().getAsString();
frameworkSetBusinessPath(bp);
}
}
Aggregations