62 lines
1.9 KiB
C#
62 lines
1.9 KiB
C#
using Sarand.Core.Base;
|
|
using Sarand.Core.Bus;
|
|
using Sarand.Core.Dbas.Base;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Sarand.OperationsMgr.Core.App
|
|
{
|
|
//=======================================================================
|
|
public abstract class OpnSessionProfile
|
|
{
|
|
//-------------------------------------------------------------------
|
|
// Definitions.
|
|
|
|
//-------------------------------------------------------------------
|
|
// Data members.
|
|
|
|
//-------------------------------------------------------------------
|
|
// Protected Construction - use derived objects.
|
|
protected OpnSessionProfile (OpnSessionContext sessionContext)
|
|
{
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
// Properties.
|
|
|
|
//-------------------------------------------------------------------
|
|
// O w n e r O r g a n i s a t i o n
|
|
//-------------------------------------------------------------------
|
|
public abstract bool SetSelectedOwner (SysId affiliateId);
|
|
protected void RefreshOwnerOrganisation(SysId affiliateIdOrganisation)
|
|
{
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
// U s e r S e s s i o n
|
|
//-------------------------------------------------------------------
|
|
public bool StartUserSession (SysId userId, List<TypeCodeDesc> securityRights)
|
|
{
|
|
return true;
|
|
}
|
|
public void ClearUserSession ()
|
|
{
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
// Save the user's session parameters.
|
|
public bool SaveSessionProfile ()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
// D a t a b a s e
|
|
//-------------------------------------------------------------------
|
|
// Database Update
|
|
public DbUpdateInfo DbUpdateInfo;
|
|
}
|
|
//=======================================================================
|
|
}
|