public class DBWorkScreenProfile extends Object implements IWorkScreenProfile
DBWorkScreenProfile
supports profile information for workScreens in db table.Constructor and Description |
---|
DBWorkScreenProfile()
Constructs a new
DBWorkScreenProfile . |
Modifier and Type | Method and Description |
---|---|
DBAccess |
getDBAccess()
Gets the connection to the database.
|
byte[] |
getProfileConfiguration(String pClassName,
String pEnvironment,
String pUserName)
Gets the profile configuration of the workScreen.
|
void |
setDBAccess(DBAccess pDBAccess)
Sets the connection to the database.
|
void |
setProfileConfiguration(String pClassName,
String pEnvironment,
String pUserName,
byte[] pProfileConfiguration)
Sets the profile configuration of the workScreen.
|
public DBWorkScreenProfile()
DBWorkScreenProfile
.public byte[] getProfileConfiguration(String pClassName, String pEnvironment, String pUserName) throws Exception
getProfileConfiguration
in interface IWorkScreenProfile
pClassName
- the workScreen class name.pEnvironment
- the environment.pUserName
- the user name.Exception
- if an error occurs while detecting the profilepublic void setProfileConfiguration(String pClassName, String pEnvironment, String pUserName, byte[] pProfileConfiguration) throws Exception
setProfileConfiguration
in interface IWorkScreenProfile
pClassName
- the workScreen class name.pEnvironment
- the environment.pUserName
- the user name.pProfileConfiguration
- the profile configurationException
- if an error occurs while detecting the profilepublic DBAccess getDBAccess()
public void setDBAccess(DBAccess pDBAccess)
pDBAccess
- the db accessCopyright © 2020 SIB Visions GmbH. All Rights Reserved.