|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.applicationblocks.com.CfgBase
com.genesyslab.platform.applicationblocks.com.CfgObject
com.genesyslab.platform.applicationblocks.com.objects.CfgStatDay
public class CfgStatDay
A Statistical Day is a numerically-expressed workload that a particular Agent Group is expected to handle during a particular business day. Deletion of Stat Day X will cause the following events set out in the order of arrival:
statDayDBIDs
of all stat tables
that included Stat Day X
Field Summary | |
---|---|
static CfgObjectType |
OBJECT_TYPE
|
Constructor Summary | |
---|---|
CfgStatDay(IConfService confService)
This constructor is intended for creation of detached objects. |
|
CfgStatDay(IConfService confService,
ConfObject objData,
boolean isSaved,
java.lang.Object[] additionalParameters)
This constructor is intended for creation of objects from configuration protocol messages. |
|
CfgStatDay(IConfService confService,
org.w3c.dom.Node xmlData,
java.lang.Object[] additionalParameters)
This constructor is intended for creation of objects from configuration protocol messages. |
Method Summary | |
---|---|
java.util.Calendar |
getDate()
Day of specific year calculated since 00:00:00 GMT Jan 1, 1970 measured in seconds. |
java.lang.Integer |
getDay()
Day's number. |
java.lang.Integer |
getDBID()
An identifier of this object in the Configuration Database. |
java.lang.Integer |
getEndTime()
End of business time of day measured in minutes from 00:00. |
java.lang.Integer |
getFlatRate()
Amount to be charged for processing the forecast volume of interactions. |
java.lang.Integer |
getIntervalLength()
Statistical interval in minutes. |
CfgFlag |
getIsDayOfWeek()
Indicator of whether this day is identified as a day of week ( CFGTrue ) or a day of year (CFGFalse ). |
java.lang.Integer |
getMaxValue()
Maximum statistical value for the day. |
java.lang.Integer |
getMinValue()
Minimum statistical value for the day. |
java.lang.String |
getName()
A pointer to the name of the day. |
java.lang.Integer |
getStartTime()
Start of business time of day measured in minutes from 00:00. |
CfgObjectState |
getState()
Current object state. |
java.util.Collection<CfgStatInterval> |
getStatIntervals()
A pointer to the list of the structures of
CfgStatInterval
type that associate intervals
with certain statistical values. |
java.lang.Integer |
getTargetValue()
Target statistical value for the day. |
CfgTenant |
getTenant()
A unique identifier of the
Tenant
that this day is defined for. |
java.lang.Integer |
getTenantDBID()
Retrieves the dbid of the object that is being linked to by the Tenant property. |
CfgStatDayType |
getType()
Statistical Day type. |
CfgFlag |
getUseFlatRate()
Flag determining whether flatRate (CFGTrue) should be selected. |
KeyValueCollection |
getUserProperties()
A pointer to the list of user-defined properties.Parameter userProperties has the following structure: Each key-value pair of the primary list (TKVList *userProperties) uses the key for the name of a user-defined section, and the value for a secondary list, that also has the TKVList structure and specifies the properties defined within that section. |
void |
save()
Synchronizes changes in the class with Configuration Server. |
void |
setDate(java.util.Calendar value)
Day of specific year calculated since 00:00:00 GMT Jan 1, 1970 measured in seconds. |
void |
setDay(java.lang.Integer value)
Day's number. |
void |
setDBID(java.lang.Integer value)
An identifier of this object in the Configuration Database. |
void |
setEndTime(java.lang.Integer value)
End of business time of day measured in minutes from 00:00. |
void |
setFlatRate(java.lang.Integer value)
Amount to be charged for processing the forecast volume of interactions. |
void |
setIntervalLength(java.lang.Integer value)
Statistical interval in minutes. |
void |
setIsDayOfWeek(CfgFlag value)
Indicator of whether this day is identified as a day of week ( CFGTrue ) or a day of year (CFGFalse ). |
void |
setMaxValue(java.lang.Integer value)
Maximum statistical value for the day. |
void |
setMinValue(java.lang.Integer value)
Minimum statistical value for the day. |
void |
setName(java.lang.String value)
A pointer to the name of the day. |
void |
setStartTime(java.lang.Integer value)
Start of business time of day measured in minutes from 00:00. |
void |
setState(CfgObjectState value)
Current object state. |
void |
setStatIntervals(java.util.Collection<CfgStatInterval> value)
A pointer to the list of the structures of
CfgStatInterval
type that associate intervals
with certain statistical values. |
void |
setTargetValue(java.lang.Integer value)
Target statistical value for the day. |
void |
setTenant(CfgTenant value)
A unique identifier of the
Tenant
that this day is defined for. |
void |
setTenantDBID(int dbid)
A unique identifier of the
Tenant
that this day is defined for. |
void |
setType(CfgStatDayType value)
Statistical Day type. |
void |
setUseFlatRate(CfgFlag value)
Flag determining whether flatRate (CFGTrue) should be selected. |
void |
setUserProperties(KeyValueCollection value)
A pointer to the list of user-defined properties.Parameter userProperties has the following structure: Each key-value pair of the primary list (TKVList *userProperties) uses the key for the name of a user-defined section, and the value for a secondary list, that also has the TKVList structure and specifies the properties defined within that section. |
Methods inherited from class com.genesyslab.platform.applicationblocks.com.CfgObject |
---|
clone, delete, doSetFolderId, ensureDataBackup, getFolderId, getObjectDbid, getObjectPath, getObjectType, refresh, reloadObjectWithNewData, reloadObjectWithNewData, removeAccount, resetDataBackup, retrieveAccountPermissions, retrieveACL, retrievePermissions, setAccountPermissions, setAccountPermissions, setFolderId, update, updateACL |
Methods inherited from class com.genesyslab.platform.applicationblocks.com.CfgBase |
---|
equals, flushChildrenContent, getConfigurationService, getData, getEndpoint, getLinkListCollection, getLinkValue, getLogger, getMetaData, getParent, getProperty, getProperty, getProperty, getRawObjectData, hashCode, initStruct, isSaved, lockObject, resolveLink, setProperty, toString, toStringProperties, toXml, updateChildrenSavedState |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.genesyslab.platform.applicationblocks.com.ICfgBase |
---|
getEndpoint, getProperty, getRawObjectData, setProperty, toXml |
Field Detail |
---|
public static final CfgObjectType OBJECT_TYPE
Constructor Detail |
---|
public CfgStatDay(IConfService confService, ConfObject objData, boolean isSaved, java.lang.Object[] additionalParameters)
confService
- configuration service instanceobjData
- configuration protocol object data structureisSaved
- indicator of the object saved stateadditionalParameters
- additional parameters from configuration protocol messagepublic CfgStatDay(IConfService confService, org.w3c.dom.Node xmlData, java.lang.Object[] additionalParameters)
confService
- configuration service instancexmlData
- XML object containing object dataadditionalParameters
- additional parameters from configuration protocol messagepublic CfgStatDay(IConfService confService)
confService
- configuration service instanceMethod Detail |
---|
public void save() throws ConfigException
save
in interface ICfgObject
save
in class CfgObject
ConfigException
- in case of protocol level exception, data transformation,
or server side constraintspublic final java.lang.Integer getDBID()
public final void setDBID(java.lang.Integer value)
value
- new property valuegetDBID()
public final CfgTenant getTenant()
Tenant
that this day is defined for. Mandatory. Once specified,
cannot be changed.
public final void setTenant(CfgTenant value)
Tenant
that this day is defined for. Mandatory. Once specified,
cannot be changed.
value
- new property valuegetTenant()
public final void setTenantDBID(int dbid)
Tenant
that this day is defined for. Mandatory. Once specified,
cannot be changed.
dbid
- DBID identifier of referred objectgetTenant()
public final java.lang.Integer getTenantDBID()
public final java.lang.String getName()
public final void setName(java.lang.String value)
value
- new property valuegetName()
public final CfgFlag getIsDayOfWeek()
CFGTrue
) or a day of year (CFGFalse
).
Mandatory. Once specified, cannot be changed. The parameter is ignored
if value of parameter date
is specified.
Refer to
CfgFlag
public final void setIsDayOfWeek(CfgFlag value)
CFGTrue
) or a day of year (CFGFalse
).
Mandatory. Once specified, cannot be changed. The parameter is ignored
if value of parameter date
is specified.
Refer to
CfgFlag
value
- new property valuegetIsDayOfWeek()
public final java.lang.Integer getDay()
isDayOfWeek
is set to CFGTrue
,
the allowable range is from 1
to 7
(where
1
stands for Sunday
). If isDayOfWeek
is
set to CFGFalse
, the allowable range is from 1
to
366
and 1
(where 1
stands
for January 1
and -1
stands for any
day
). Mandatory. Once specified, cannot be changed. The parameter
is ignored if value of parameter date
is specified.
public final void setDay(java.lang.Integer value)
isDayOfWeek
is set to CFGTrue
,
the allowable range is from 1
to 7
(where
1
stands for Sunday
). If isDayOfWeek
is
set to CFGFalse
, the allowable range is from 1
to
366
and 1
(where 1
stands
for January 1
and -1
stands for any
day
). Mandatory. Once specified, cannot be changed. The parameter
is ignored if value of parameter date
is specified.
value
- new property valuegetDay()
public final java.lang.Integer getStartTime()
public final void setStartTime(java.lang.Integer value)
value
- new property valuegetStartTime()
public final java.lang.Integer getEndTime()
startTime
,
implies the time of the next calendar day (night shift).
public final void setEndTime(java.lang.Integer value)
startTime
,
implies the time of the next calendar day (night shift).
value
- new property valuegetEndTime()
public final java.lang.Integer getMinValue()
public final void setMinValue(java.lang.Integer value)
value
- new property valuegetMinValue()
public final java.lang.Integer getMaxValue()
minValue
.
public final void setMaxValue(java.lang.Integer value)
minValue
.
value
- new property valuegetMaxValue()
public final java.lang.Integer getTargetValue()
minVlaue
or greater than the setting for maxValue
.
public final void setTargetValue(java.lang.Integer value)
minVlaue
or greater than the setting for maxValue
.
value
- new property valuegetTargetValue()
public final java.lang.Integer getIntervalLength()
public final void setIntervalLength(java.lang.Integer value)
value
- new property valuegetIntervalLength()
public final java.util.Collection<CfgStatInterval> getStatIntervals()
CfgStatInterval
type that associate intervals
with certain statistical values. When used as an entry in
CfgDeltaStatDay
(see below), it is a pointer to a list of structures of type
CfgStatInterval
added to the existing list.
public final void setStatIntervals(java.util.Collection<CfgStatInterval> value)
CfgStatInterval
type that associate intervals
with certain statistical values. When used as an entry in
CfgDeltaStatDay
(see below), it is a pointer to a list of structures of type
CfgStatInterval
added to the existing list.
value
- new property valuegetStatIntervals()
public final CfgObjectState getState()
CfgObjectState
public final void setState(CfgObjectState value)
CfgObjectState
value
- new property valuegetState()
public final KeyValueCollection getUserProperties()
public final void setUserProperties(KeyValueCollection value)
value
- new property valuegetUserProperties()
public final java.util.Calendar getDate()
isDayOfWeek
and day
must be ignored.
public final void setDate(java.util.Calendar value)
isDayOfWeek
and day
must be ignored.
value
- new property valuegetDate()
public final CfgStatDayType getType()
CfgStatDayType
public final void setType(CfgStatDayType value)
CfgStatDayType
value
- new property valuegetType()
public final CfgFlag getUseFlatRate()
CfgFlag
public final void setUseFlatRate(CfgFlag value)
CfgFlag
value
- new property valuegetUseFlatRate()
public final java.lang.Integer getFlatRate()
public final void setFlatRate(java.lang.Integer value)
value
- new property valuegetFlatRate()
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |