com.ibm.task.api
Interface BusinessCategoryDefinition
All Superinterfaces:
java.io.Serializable
- public interface BusinessCategoryDefinition
- extends java.io.Serializable
Since:
6.2.0.3
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
|
DEFAULT_CONTAINER_JNDI_NAME_OF_STAFF_PLUGIN_PROVIDER
States the default value for getJNDINameOfStaffPluginProvider.
|
|
SUBSTITUTION_POLICY_NO_SUBSTITUTION
States that no substitution should take place.
|
|
SUBSTITUTION_POLICY_SELECT_USER_IF_PRESENT
States that only present users should act for absent users.
|
|
SUBSTITUTION_POLICY_SUBSTITUTE_IF_ABSENT
States that substitutes should act for absent users.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getCustomText1()
Returns the custom text specified as custom text one.
|
|
getCustomText2()
Returns the custom text specified as custom text two.
|
|
getCustomText3()
Returns the custom text specified as custom text three.
|
|
getCustomText4()
Returns the custom text specified as custom text four.
|
|
getCustomText5()
Returns the custom text specified as custom text five.
|
|
getCustomText6()
Returns the custom text specified as custom text six.
|
|
getCustomText7()
Returns the custom text specified as custom text seven.
|
|
getCustomText8()
Returns the custom text specified as custom text eight.
|
|
getDefaultQueryTable()
Returns the name of the default query table associated to the business category.
|
|
getDescription(java.util.Locale arg0)
Returns the description in the specified locale.
|
|
getDisplayName(java.util.Locale arg0)
Returns the display name in the specified locale.
|
|
getJNDINameOfStaffPluginProvider()
Returns the JNDI name of a user-defined people directory configuration.
|
|
getLocalesOfDescriptions()
Returns the locales of all descriptions.
|
|
getLocalesOfDisplayNames()
Returns the locales of all display names.
|
|
getName()
Returns the name of the business category.
|
getParentID()
Returns the object ID of the parent business category if the business category
is part of a hierarchy.
|
|
getPeopleAssignment(int arg0)
Returns the staff assignments for the passed role.
|
|
|
getPriority()
Returns the priority of the business category.
|
|
getReasonsOfPeopleAssignment()
Returns a list of Integer objects that state the assignment reasons.
|
|
getSubstitutionPolicy()
Returns the substitution policy that takes place when people assignments are performed.
|
|
isCustomText1Updateable()
Signals whether the custom text 1 property can be changed for the kind and current state of the object.
|
|
isCustomText2Updateable()
Signals whether the custom text 2 property can be changed for the kind and current state of the object.
|
|
isCustomText3Updateable()
Signals whether the custom text 3 property can be changed for the kind and current state of the object.
|
|
isCustomText4Updateable()
Signals whether the custom text 4 property can be changed for the kind and current state of the object.
|
|
isCustomText5Updateable()
Signals whether the custom text 5 property can be changed for the kind and current state of the object.
|
|
isCustomText6Updateable()
Signals whether the custom text 6 property can be changed for the kind and current state of the object.
|
|
isCustomText7Updateable()
Signals whether the custom text 7 property can be changed for the kind and current state of the object.
|
|
isCustomText8Updateable()
Signals whether the custom text 8 property can be changed for the kind and current state of the object.
|
|
isDefaultQueryTableUpdateable()
Signals whether the default query table property can be changed for the kind and current state of the object.
|
|
isDescriptionUpdateable()
Signals whether the description property can be changed for the kind and current state of the object.
|
|
isDisplayNameUpdateable()
Signals whether the display name property can be changed for the kind and current state of the object.
|
|
isJNDINameOfStaffPluginProviderUpdateable()
Signals whether the jndi name staff provider property can be changed for the kind and current state of the object.
|
|
isPeopleAssignmentUpdateable()
Signals whether the custom text 8 property can be changed for the kind and current state of the object.
|
|
isPriorityUpdateable()
Signals whether the priority property can be changed for the kind and current state of the object.
|
|
isSubstitutionPolicyUpdateable()
Signals whether the substitution policy property can be changed for the kind and current state of the object.
|
|
setCustomText1(java.lang.String customText1)
Sets the custom text specified as custom text one.
|
|
setCustomText2(java.lang.String customText2)
Sets the custom text specified as custom text two.
|
|
setCustomText3(java.lang.String customText3)
Sets the custom text specified as custom text three.
|
|
setCustomText4(java.lang.String customText4)
Sets the custom text specified as custom text four.
|
|
setCustomText5(java.lang.String customText5)
Sets the custom text specified as custom text five.
|
|
setCustomText6(java.lang.String customText6)
Sets the custom text specified as custom text six.
|
|
setCustomText7(java.lang.String customText7)
Sets the custom text specified as custom text seven.
|
|
setCustomText8(java.lang.String customText8)
Sets the custom text specified as custom text eight.
|
|
setDefaultQueryTable(java.lang.String defaultQueryTable)
Sets the default query table associated to the business category.
|
|
setDescription(java.lang.String description,java.util.Locale locale)
Sets the description in the specified locale.
|
|
setDisplayName(java.lang.String displayName,java.util.Locale locale)
Sets the display name in the specified locale.
|
|
setJNDINameOfStaffPluginProvider(java.lang.String jndiNameStaffProvider)
Sets the JNDI name of a user-defined people directory configuration.
|
|
setPeopleAssignment(int assignmentReason,PeopleAssignment people)
Sets the assignment reason for the specified people.
|
|
setPriority(java.lang.Integer priority)
Sets the priority of the business category.
|
|
setSubstitutionPolicy(int substitutionPolicy)
Sets the substitution policy that takes place when people assignments are performed.
|
Field Detail
COPYRIGHT
- static final java.lang.String COPYRIGHT
See Also:
DEFAULT_CONTAINER_JNDI_NAME_OF_STAFF_PLUGIN_PROVIDER
- static final java.lang.String DEFAULT_CONTAINER_JNDI_NAME_OF_STAFF_PLUGIN_PROVIDER
States the default value for getJNDINameOfStaffPluginProvider.
See Also:
SUBSTITUTION_POLICY_NO_SUBSTITUTION
- static final int SUBSTITUTION_POLICY_NO_SUBSTITUTION
States that no substitution should take place.
All users resolved by people assignment criteria are returned.
See Also:
SUBSTITUTION_POLICY_SUBSTITUTE_IF_ABSENT
- static final int SUBSTITUTION_POLICY_SUBSTITUTE_IF_ABSENT
States that substitutes should act for absent users.
If all substitutes are absent or explicitely excluded by people assignment criteria,
default people assignments are performed, for example, task administrators become potential owners.
See Also:
SUBSTITUTION_POLICY_SELECT_USER_IF_PRESENT
- static final int SUBSTITUTION_POLICY_SELECT_USER_IF_PRESENT
States that only present users should act for absent users.
If all users and their subsitutes are absent or excluded by people assignment criteria,
users originally resolved are returned.
See Also:
Method Detail
getName
- java.lang.String getName()
Returns the name of the business category.
getParentID
- BCID getParentID()
Returns the object ID of the parent business category if the business category
is part of a hierarchy. Returns null if there is no parent.
getPriority
- java.lang.Integer getPriority()
Returns the priority of the business category.
getDisplayName
- java.lang.String getDisplayName( java.util.Locale arg0)
Returns the display name in the specified locale.
Returns the display name in the default locale when a display name in
the specified locale is not found.
If no locale is specified, the display name in the default locale is returned or any available display name, if there is only a single display name.
Parameters:
arg0
- The locale for which the display name is to be provided. getLocalesOfDisplayNames
- java.util.List getLocalesOfDisplayNames( )
Returns the locales of all display names.
Returns an empty list when there are no display names.
getDescription
- java.lang.String getDescription( java.util.Locale arg0)
Returns the description in the specified locale.
Returns the description in the default locale when a description in
the specified locale is not found.
If no locale is specified, the description in the default locale is returned or any available description, if there is only a single description.
Parameters:
arg0
- The locale for which the description is to be provided. getLocalesOfDescriptions
- java.util.List getLocalesOfDescriptions( )
Returns the locales of all descriptions.
Returns an empty list when there are no descriptions.
getDefaultQueryTable
- java.lang.String getDefaultQueryTable( )
Returns the name of the default query table associated to the business category.
Returns null if no query table is associated.
getJNDINameOfStaffPluginProvider
- java.lang.String getJNDINameOfStaffPluginProvider( )
Returns the JNDI name of a user-defined people directory configuration.
getSubstitutionPolicy
- int getSubstitutionPolicy()
Returns the substitution policy that takes place when people assignments are performed.
Possible substitution policies are SUBSTITUTION_POLICY_NO_SUBSTITUTION, SUBSTITUTION_POLICY_SUBSTITUTE_IF_ABSENT, SUBSTITUTION_POLICY_SELECT_USER_IF_PRESENT.
getCustomText1
- java.lang.String getCustomText1( )
Returns the custom text specified as custom text one.
Returns null if not specified.
getCustomText2
- java.lang.String getCustomText2( )
Returns the custom text specified as custom text two.
Returns null if not specified.
getCustomText3
- java.lang.String getCustomText3( )
Returns the custom text specified as custom text three.
Returns null if not specified.
getCustomText4
- java.lang.String getCustomText4( )
Returns the custom text specified as custom text four.
Returns null if not specified.
getCustomText5
- java.lang.String getCustomText5( )
Returns the custom text specified as custom text five.
Returns null if not specified.
getCustomText6
- java.lang.String getCustomText6( )
Returns the custom text specified as custom text six.
Returns null if not specified.
getCustomText7
- java.lang.String getCustomText7( )
Returns the custom text specified as custom text seven.
Returns null if not specified.
getCustomText8
- java.lang.String getCustomText8( )
Returns the custom text specified as custom text eight.
Returns null if not specified.
getPeopleAssignment
- PeopleAssignment getPeopleAssignment( int arg0)
Returns the staff assignments for the passed role. Possible roles are:
WorkItem.REASON_READER
.
Parameters:
arg0
- The role for which the people assignment is to be provided. getReasonsOfPeopleAssignment
- java.util.List getReasonsOfPeopleAssignment( )
Returns a list of Integer objects that state the assignment reasons.
Returns an empty list when there are no people assignments.
setPriority
- void setPriority(java.lang.Integer priority)
Sets the priority of the business category. No special meaning is associated
with this property. But a caller can, for example, use it
for sorting a list of business categories.
Parameters:
priority
- The priority of the business category. The priority must be a non-negative number.
It can be null in order to be reset. isPriorityUpdateable
- boolean isPriorityUpdateable()
Signals whether the priority property can be changed for the kind and current state of the object.
setDisplayName
- void setDisplayName(java.lang.String displayName,
- java.util.Locale locale)
Sets the display name in the specified locale.
Parameters:
displayName
- The new value of the display name. locale
- The locale for which the display name is set.
Note that there is a special locale called default
which can be used to set
the display name in the default language. The default language is specified
by passing null or new Locale("default")
. isDisplayNameUpdateable
- boolean isDisplayNameUpdateable( )
Signals whether the display name property can be changed for the kind and current state of the object.
setDescription
- void setDescription(java.lang.String description,
- java.util.Locale locale)
Sets the description in the specified locale.
Parameters:
description
- The new value of the description. locale
- The locale for which the description is set.
Note that there is a special locale called default
which can be used to set
the description in the default language. The default language is specified
by passing null or new Locale("default")
. isDescriptionUpdateable
- boolean isDescriptionUpdateable( )
Signals whether the description property can be changed for the kind and current state of the object.
setDefaultQueryTable
- void setDefaultQueryTable(java.lang.String defaultQueryTable)
Sets the default query table associated to the business category.
Parameters:
defaultQueryTable
- The default query table associated to the business category. isDefaultQueryTableUpdateable
- boolean isDefaultQueryTableUpdateable( )
Signals whether the default query table property can be changed for the kind and current state of the object.
setJNDINameOfStaffPluginProvider
- void setJNDINameOfStaffPluginProvider( java.lang.String jndiNameStaffProvider)
Sets the JNDI name of a user-defined people directory configuration.
Parameters:
jndiNameStaffProvider
- The JNDI name of the user-defined people directory configuration. isJNDINameOfStaffPluginProviderUpdateable
- boolean isJNDINameOfStaffPluginProviderUpdateable( )
Signals whether the jndi name staff provider property can be changed for the kind and current state of the object.
setSubstitutionPolicy
- void setSubstitutionPolicy(int substitutionPolicy)
Sets the substitution policy that takes place when people assignments are performed.
Possible substitution policies are SUBSTITUTION_POLICY_NO_SUBSTITUTION, SUBSTITUTION_POLICY_SUBSTITUTE_IF_ABSENT, SUBSTITUTION_POLICY_SELECT_USER_IF_PRESENT.
Parameters:
substitutionPolicy
- The substitution policy that should take place. isSubstitutionPolicyUpdateable
- boolean isSubstitutionPolicyUpdateable( )
Signals whether the substitution policy property can be changed for the kind and current state of the object.
setCustomText1
- void setCustomText1(java.lang.String customText1)
Sets the custom text specified as custom text one.
Parameters:
customText1
- The custom text. isCustomText1Updateable
- boolean isCustomText1Updateable( )
Signals whether the custom text 1 property can be changed for the kind and current state of the object.
setCustomText2
- void setCustomText2(java.lang.String customText2)
Sets the custom text specified as custom text two.
Parameters:
customText2
- The custom text. isCustomText2Updateable
- boolean isCustomText2Updateable( )
Signals whether the custom text 2 property can be changed for the kind and current state of the object.
setCustomText3
- void setCustomText3(java.lang.String customText3)
Sets the custom text specified as custom text three.
Parameters:
customText3
- The custom text. isCustomText3Updateable
- boolean isCustomText3Updateable( )
Signals whether the custom text 3 property can be changed for the kind and current state of the object.
setCustomText4
- void setCustomText4(java.lang.String customText4)
Sets the custom text specified as custom text four.
Parameters:
customText4
- The custom text. isCustomText4Updateable
- boolean isCustomText4Updateable( )
Signals whether the custom text 4 property can be changed for the kind and current state of the object.
setCustomText5
- void setCustomText5(java.lang.String customText5)
Sets the custom text specified as custom text five.
Parameters:
customText5
- The custom text. isCustomText5Updateable
- boolean isCustomText5Updateable( )
Signals whether the custom text 5 property can be changed for the kind and current state of the object.
setCustomText6
- void setCustomText6(java.lang.String customText6)
Sets the custom text specified as custom text six.
Parameters:
customText6
- The custom text. isCustomText6Updateable
- boolean isCustomText6Updateable( )
Signals whether the custom text 6 property can be changed for the kind and current state of the object.
setCustomText7
- void setCustomText7(java.lang.String customText7)
Sets the custom text specified as custom text seven.
Parameters:
customText7
- The custom text. isCustomText7Updateable
- boolean isCustomText7Updateable( )
Signals whether the custom text 7 property can be changed for the kind and current state of the object.
setCustomText8
- void setCustomText8(java.lang.String customText8)
Sets the custom text specified as custom text eight.
Parameters:
customText8
- The custom text. isCustomText8Updateable
- boolean isCustomText8Updateable( )
Signals whether the custom text 8 property can be changed for the kind and current state of the object.
setPeopleAssignment
- void setPeopleAssignment(int assignmentReason,
- PeopleAssignment people)
Sets the assignment reason for the specified people. Possible reasons are:
WorkItem.REASON_READER
.
Parameters:
assignmentReason
- The assignment reason to be set. people
- The staff to be associated. isPeopleAssignmentUpdateable
- boolean isPeopleAssignmentUpdateable( )
Signals whether the custom text 8 property can be changed for the kind and current state of the object.