public final class InfoBaseInfo extends Object implements IInfoBaseInfo
Constructor and Description |
---|
InfoBaseInfo()
Constructor of a new infobase description
|
InfoBaseInfo(int securityLevel)
Constructor of a new infobase description
|
InfoBaseInfo(UUID infobaseId,
int securityLevel)
Constructor of an existing infobase description
|
Modifier and Type | Method and Description |
---|---|
int |
getDateOffset()
Gets the infobase date offset
|
String |
getDbms()
Gets the type of the DBMS that stores the infobase
|
String |
getDbName()
Gets the database server name of the database
that stores the infobase
|
String |
getDbPassword()
Gets the password of a database server user
|
String |
getDbServerName()
Gets the name of the database server
that stores the infobase
|
String |
getDbUser()
Gets the database server user name
|
Date |
getDeniedFrom()
Gets the start time of the session lock period
|
String |
getDeniedMessage()
Gets the message that is displayed when a session lock violation
attempt is made
|
String |
getDeniedParameter()
Gets the session lock parameter value
|
Date |
getDeniedTo()
Gets the end time of the session lock period
|
String |
getDescr()
Gets infobase description
|
String |
getExternalSessionManagerConnectionString()
Gets external session manager parameters
|
boolean |
getExternalSessionManagerRequired()
Gets the flag that shows whether using an external session manager
is mandatory
|
UUID |
getInfoBaseId()
Gets the infobase ID
|
int |
getLicenseDistributionAllowed()
Gets the flag that shows whether license distribution from
1C:Enterprise server is allowed
|
String |
getLocale()
Gets the infobase locale ID
|
String |
getName()
Gets the infobase name
|
String |
getPermissionCode()
Gets the code that allows opening sessions during the session
lock period
|
String |
getSafeModeSecurityProfileName()
Gets the name of the infobase security profile for safe mode
|
int |
getSecurityLevel()
Gets the infobase security level
|
String |
getSecurityProfileName()
Gets the infobase security profile name
|
boolean |
isScheduledJobsDenied()
Gets the flag that shows whether execution of infobase
scheduled jobs is denied
|
boolean |
isSessionsDenied()
Gets the flag that shows whether the session is locked
|
void |
setDateOffset(int offset)
Sets the infobase date offset
|
void |
setDbms(String kind)
Sets the type of the DBMS that stores the infobase
|
void |
setDbName(String name)
Sets the database server name of the database
that stores the infobase
|
void |
setDbPassword(String pwd)
Sets the password of a database server user
|
void |
setDbServerName(String name)
Sets the name of the database server
that stores the infobase
|
void |
setDbUser(String user)
Sets the database server user name
|
void |
setDeniedFrom(Date deniedFrom)
Sets the start time of the session lock period
|
void |
setDeniedMessage(String message)
Sets the message that is displayed when a session lock violation
attempt is made
|
void |
setDeniedParameter(String param)
Sets the session lock parameter value
|
void |
setDeniedTo(Date deniedTo)
Sets the end time of the session lock period
|
void |
setDescr(String descr)
Sets infobase description
|
void |
setExternalSessionManagerConnectionString(String connectionString)
Sets external session manager parameters
|
void |
setExternalSessionManagerRequired(boolean value)
Sets the flag that shows whether using an external session manager
is mandatory
|
void |
setLicenseDistributionAllowed(int value)
Sets the flag that shows whether license distribution from
1C:Enterprise server is allowed
|
void |
setLocale(String locale)
Sets the infobase locale ID
|
void |
setName(String name)
Sets the infobase name
|
void |
setPermissionCode(String code)
Sets the code that allows opening sessions during the session
lock period
|
void |
setSafeModeSecurityProfileName(String spName)
Sets the name of the infobase security profile for safe mode
|
void |
setScheduledJobsDenied(boolean value)
Sets the flag that shows whether execution of infobase scheduled
jobs is denied
|
void |
setSecurityProfileName(String spName)
Sets the infobase security profile name
|
void |
setSessionsDenied(boolean flag)
Sets the flag that shows whether the session is locked
|
String |
toString() |
public InfoBaseInfo()
public InfoBaseInfo(int securityLevel)
securityLevel
- infobase security levelpublic InfoBaseInfo(UUID infobaseId, int securityLevel)
infobaseId
- infobase IDsecurityLevel
- infobase security levelpublic UUID getInfoBaseId()
IInfoBaseInfo
getInfoBaseId
in interface IInfoBaseInfo
public int getDateOffset()
IInfoBaseInfo
getDateOffset
in interface IInfoBaseInfo
public void setDateOffset(int offset)
IInfoBaseInfo
setDateOffset
in interface IInfoBaseInfo
offset
- infobase date offsetpublic String getDbms()
IInfoBaseInfo
getDbms
in interface IInfoBaseInfo
public void setDbms(String kind)
IInfoBaseInfo
setDbms
in interface IInfoBaseInfo
kind
- DMBS typepublic String getDbName()
IInfoBaseInfo
getDbName
in interface IInfoBaseInfo
public void setDbName(String name)
IInfoBaseInfo
setDbName
in interface IInfoBaseInfo
name
- database namepublic String getDbPassword()
IInfoBaseInfo
getDbPassword
in interface IInfoBaseInfo
public void setDbPassword(String pwd)
IInfoBaseInfo
setDbPassword
in interface IInfoBaseInfo
pwd
- password of a database server userpublic String getDbServerName()
IInfoBaseInfo
getDbServerName
in interface IInfoBaseInfo
public void setDbServerName(String name)
IInfoBaseInfo
setDbServerName
in interface IInfoBaseInfo
name
- database server namepublic String getDbUser()
IInfoBaseInfo
getDbUser
in interface IInfoBaseInfo
public void setDbUser(String user)
IInfoBaseInfo
setDbUser
in interface IInfoBaseInfo
user
- database server user namepublic Date getDeniedFrom()
IInfoBaseInfo
getDeniedFrom
in interface IInfoBaseInfo
public void setDeniedFrom(Date deniedFrom)
IInfoBaseInfo
setDeniedFrom
in interface IInfoBaseInfo
deniedFrom
- start time of the session lock periodpublic String getDeniedMessage()
IInfoBaseInfo
getDeniedMessage
in interface IInfoBaseInfo
public void setDeniedMessage(String message)
IInfoBaseInfo
setDeniedMessage
in interface IInfoBaseInfo
message
- message displayed when a session lock violation
attempt is madepublic String getDeniedParameter()
IInfoBaseInfo
getDeniedParameter
in interface IInfoBaseInfo
public void setDeniedParameter(String param)
IInfoBaseInfo
setDeniedParameter
in interface IInfoBaseInfo
param
- session lock parameter valuepublic Date getDeniedTo()
IInfoBaseInfo
getDeniedTo
in interface IInfoBaseInfo
public void setDeniedTo(Date deniedTo)
IInfoBaseInfo
setDeniedTo
in interface IInfoBaseInfo
deniedTo
- end time of the session lock periodpublic String getDescr()
IInfoBaseInfo
getDescr
in interface IInfoBaseInfo
public void setDescr(String descr)
IInfoBaseInfo
setDescr
in interface IInfoBaseInfo
descr
- infobase descriptionpublic String getLocale()
IInfoBaseInfo
getLocale
in interface IInfoBaseInfo
public void setLocale(String locale)
IInfoBaseInfo
setLocale
in interface IInfoBaseInfo
locale
- infobase locale IDpublic String getName()
IInfoBaseInfo
getName
in interface IInfoBaseInfo
public void setName(String name)
IInfoBaseInfo
setName
in interface IInfoBaseInfo
name
- infobase namepublic String getPermissionCode()
IInfoBaseInfo
getPermissionCode
in interface IInfoBaseInfo
public void setPermissionCode(String code)
IInfoBaseInfo
setPermissionCode
in interface IInfoBaseInfo
code
- code that allows opening sessions during the session
lock periodpublic boolean isScheduledJobsDenied()
IInfoBaseInfo
isScheduledJobsDenied
in interface IInfoBaseInfo
public void setScheduledJobsDenied(boolean value)
IInfoBaseInfo
setScheduledJobsDenied
in interface IInfoBaseInfo
value
- flag that shows whether execution of infobase scheduled
jobs is denied (true = denied, false = allowed)public int getSecurityLevel()
IInfoBaseInfo
getSecurityLevel
in interface IInfoBaseInfo
public boolean isSessionsDenied()
IInfoBaseInfo
isSessionsDenied
in interface IInfoBaseInfo
public void setSessionsDenied(boolean flag)
IInfoBaseInfo
setSessionsDenied
in interface IInfoBaseInfo
flag
- flag that shows whether the session is lockedpublic int getLicenseDistributionAllowed()
IInfoBaseInfo
getLicenseDistributionAllowed
in interface IInfoBaseInfo
public void setLicenseDistributionAllowed(int value)
IInfoBaseInfo
setLicenseDistributionAllowed
in interface IInfoBaseInfo
value
- flag that shows whether license distribution from
1C:Enterprise server is allowedpublic String getExternalSessionManagerConnectionString()
IInfoBaseInfo
getExternalSessionManagerConnectionString
in interface IInfoBaseInfo
public void setExternalSessionManagerConnectionString(String connectionString)
IInfoBaseInfo
setExternalSessionManagerConnectionString
in interface IInfoBaseInfo
connectionString
- external session manager parameterspublic boolean getExternalSessionManagerRequired()
IInfoBaseInfo
getExternalSessionManagerRequired
in interface IInfoBaseInfo
public void setExternalSessionManagerRequired(boolean value)
IInfoBaseInfo
setExternalSessionManagerRequired
in interface IInfoBaseInfo
value
- flag that shows whether using an external session manager
is mandatorypublic String getSecurityProfileName()
IInfoBaseInfo
getSecurityProfileName
in interface IInfoBaseInfo
public void setSecurityProfileName(String spName)
IInfoBaseInfo
setSecurityProfileName
in interface IInfoBaseInfo
spName
- security profile namepublic String getSafeModeSecurityProfileName()
IInfoBaseInfo
getSafeModeSecurityProfileName
in interface IInfoBaseInfo
public void setSafeModeSecurityProfileName(String spName)
IInfoBaseInfo
setSafeModeSecurityProfileName
in interface IInfoBaseInfo
spName
- security profile nameCopyright © '1C' 1996-2012