com.ibm.task.clientmodel.bean

Class ApplicationComponentBean

  1. java.lang.Object
  2. extended bycom.ibm.task.clientmodel.bean.ApplicationComponentBean
All implemented interfaces:
ApplicationComponent, java.io.Serializable

  1. public class ApplicationComponentBean
  2. extends java.lang.Object
  3. implements ApplicationComponent

Accesses the properties of an ApplicationComponent object and adds metadata for national language support and converters.

An ApplicationComponentBean object can be instantiated from an ACOID object.

Use the static method getLabel(String, Locale) to retrieve the localized label for a property. Use the static method getConverter(String) to retrieve a converter for a property. The return value may be null because converters are optional.

See Also:
ApplicationComponent, Serialized Form

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
BUSINESSRELEVANT_PROPERTY
Use the property name to determine labels and converters for the property BusinessRelevant.
  1. static
  2. java.lang.String
COPYRIGHT
(C) Copyright IBM Corporation 2007.
  1. static
  2. java.lang.String
DURATIONUNTILDELETED_PROPERTY
Use the property name to determine labels and converters for the property durationUntilDeleted.
  1. static
  2. java.lang.String
EVENTHANDLERNAME_PROPERTY
Use the property name to determine labels and converters for the property eventHandlerName.
  1. static
  2. java.lang.String
ID_PROPERTY
Use the property name to determine labels and converters for the property ID.
  1. static
  2. java.lang.String
NAME_PROPERTY
Use the property name to determine labels and converters for the property name.
  1. static
  2. java.lang.String
SUBSTITUTIONPOLICY_PROPERTY
Use the property name to determine labels and converters for the property substitutionPolicy.
  1. static
  2. java.lang.String
SUPPORTSAUTOMATICCLAIM_PROPERTY
Use the property name to determine labels and converters for the property supportsAutomaticClaim.
  1. static
  2. java.lang.String
SUPPORTSCLAIMIFSUSPENDED_PROPERTY
Use the property name to determine labels and converters for the property supportsClaimIfSuspended.
  1. static
  2. java.lang.String
SUPPORTSDELEGATION_PROPERTY
Use the property name to determine labels and converters for the property supportsDelegation.
  1. static
  2. java.lang.String
SUPPORTSFOLLOWONTASKS_PROPERTY
Use the property name to determine labels and converters for the property supportsFollowOnTasks.
  1. static
  2. java.lang.String
SUPPORTSSUBTASKS_PROPERTY
Use the property name to determine labels and converters for the property supportsSubTasks.
Fields inherited from interface com.ibm.task.api.ApplicationComponent
SUBSTITUTION_POLICY_NO_SUBSTITUTION, SUBSTITUTION_POLICY_SELECT_USER_IF_PRESENT, SUBSTITUTION_POLICY_SUBSTITUTE_IF_ABSENT

Constructor Summary

Constructor and Description
ApplicationComponentBean(ApplicationComponent applicationComponent)
Constructs a ApplicationComponentBean from an id.

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getCalendarName()
Returns the property calendarName.
  1. static
  2. SimpleConverter
getConverter(java.lang.String propertyName)
Returns the default converter for a given property.
  1. java.lang.String
getDurationUntilDeleted()
Returns the property durationUntilDeleted.
  1. java.lang.String
getEventHandlerName()
Returns the property eventHandlerName.
  1. ACOID
getID()
Returns the property ID.
  1. java.lang.String
getJNDINameOfCalendar()
Returns the property jNDINameOfCalendar.
  1. java.lang.String
getJNDINameOfStaffPluginProvider()
Returns the property jNDINameOfStaffPluginProvider.
  1. static
  2. java.lang.String
getLabel(java.lang.String propertyName)
Returns the resource bundle key for a property
  1. static
  2. java.lang.String
getLabel(java.lang.String propertyName,java.util.Locale locale)
Returns the label for a property from the resource bundle.
  1. java.lang.String
getName()
Returns the property name.
  1. int
getSubstitutionPolicy()
Returns the property substitutionPolicy.
  1. boolean
isBusinessRelevant()
Returns the property isBusinessRelevant.
  1. boolean
isSupportsAutomaticClaim()
Returns the property supportsAutomaticClaim.
  1. boolean
isSupportsClaimIfSuspended()
Returns the property supportsClaimIfSuspended.
  1. boolean
isSupportsDelegation()
Returns the property supportsDelegation.
  1. boolean
isSupportsFollowOnTasks()
Returns the property supportsFollowOnTasks.
  1. boolean
isSupportsSubTasks()
Returns the property supportsSubTasks.
  1. static
  2. boolean
isValid(java.lang.String propertyName)
Checks if the property is valid.
  1. boolean
supportsAutomaticClaim()
Returns the property supportsAutomaticClaim.
  1. boolean
supportsClaimIfSuspended()
Returns the property supportsClaimIfSuspended.
  1. boolean
supportsDelegation()
Returns the property supportsDelegation.
  1. boolean
supportsFollowOnTasks()
Returns the property supportsFollowOnTasks.
  1. boolean
supportsSubTasks()
Returns the property supportsSubTasks.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

  1. public static final java.lang.String COPYRIGHT
(C) Copyright IBM Corporation 2007.
See Also:

ID_PROPERTY

  1. public static final java.lang.String ID_PROPERTY
Use the property name to determine labels and converters for the property ID.
See Also:

NAME_PROPERTY

  1. public static final java.lang.String NAME_PROPERTY
Use the property name to determine labels and converters for the property name.
See Also:

BUSINESSRELEVANT_PROPERTY

  1. public static final java.lang.String BUSINESSRELEVANT_PROPERTY
Use the property name to determine labels and converters for the property BusinessRelevant.
See Also:

DURATIONUNTILDELETED_PROPERTY

  1. public static final java.lang.String DURATIONUNTILDELETED_PROPERTY
Use the property name to determine labels and converters for the property durationUntilDeleted.
See Also:

SUBSTITUTIONPOLICY_PROPERTY

  1. public static final java.lang.String SUBSTITUTIONPOLICY_PROPERTY
Use the property name to determine labels and converters for the property substitutionPolicy.
See Also:

SUPPORTSAUTOMATICCLAIM_PROPERTY

  1. public static final java.lang.String SUPPORTSAUTOMATICCLAIM_PROPERTY
Use the property name to determine labels and converters for the property supportsAutomaticClaim.
See Also:

SUPPORTSDELEGATION_PROPERTY

  1. public static final java.lang.String SUPPORTSDELEGATION_PROPERTY
Use the property name to determine labels and converters for the property supportsDelegation.
See Also:

SUPPORTSSUBTASKS_PROPERTY

  1. public static final java.lang.String SUPPORTSSUBTASKS_PROPERTY
Use the property name to determine labels and converters for the property supportsSubTasks.
See Also:

SUPPORTSFOLLOWONTASKS_PROPERTY

  1. public static final java.lang.String SUPPORTSFOLLOWONTASKS_PROPERTY
Use the property name to determine labels and converters for the property supportsFollowOnTasks.
See Also:

SUPPORTSCLAIMIFSUSPENDED_PROPERTY

  1. public static final java.lang.String SUPPORTSCLAIMIFSUSPENDED_PROPERTY
Use the property name to determine labels and converters for the property supportsClaimIfSuspended.
See Also:

EVENTHANDLERNAME_PROPERTY

  1. public static final java.lang.String EVENTHANDLERNAME_PROPERTY
Use the property name to determine labels and converters for the property eventHandlerName.
See Also:

Constructor Detail

ApplicationComponentBean

  1. public ApplicationComponentBean( ApplicationComponent applicationComponent)
Constructs a ApplicationComponentBean from an id.
Parameters:
applicationComponent - The application component.

Method Detail

getConverter

  1. public static SimpleConverter getConverter( java.lang.String propertyName)
Returns the default converter for a given property.
Parameters:
propertyName - The name for the property.
Returns:
The converter instance if one has been registered with propertyName, null otherwise.

getLabel

  1. public static java.lang.String getLabel( java.lang.String propertyName)
Returns the resource bundle key for a property
Parameters:
propertyName - The name for the property.
Returns:
The resource bundle key for the property.

getLabel

  1. public static java.lang.String getLabel( java.lang.String propertyName,
  2. java.util.Locale locale)
Returns the label for a property from the resource bundle. If no label is found in the resource bundle the resource bundle key for the property is returned.
Parameters:
propertyName - The name for the property.
locale - The locale.
Returns:
The label or the resource bundle key for the property.

isValid

  1. public static boolean isValid(java.lang.String propertyName)
Checks if the property is valid.
Parameters:
propertyName - The name of the property to be checked.
Returns:
True, if the propertyName is a known property for an object of this class.

getID

  1. public ACOID getID()
Returns the property ID.
Specified by:
See Also:

getName

  1. public java.lang.String getName( )
Returns the property name.
Specified by:
See Also:

isBusinessRelevant

  1. public boolean isBusinessRelevant( )
Returns the property isBusinessRelevant.
Specified by:
See Also:

getDurationUntilDeleted

  1. public java.lang.String getDurationUntilDeleted( )
Returns the property durationUntilDeleted.
Specified by:
See Also:

getCalendarName

  1. public java.lang.String getCalendarName( )
Returns the property calendarName.
Specified by:
See Also:

getJNDINameOfCalendar

  1. public java.lang.String getJNDINameOfCalendar( )
Returns the property jNDINameOfCalendar.
Specified by:
See Also:

getJNDINameOfStaffPluginProvider

  1. public java.lang.String getJNDINameOfStaffPluginProvider( )
Returns the property jNDINameOfStaffPluginProvider.
Specified by:
See Also:

getSubstitutionPolicy

  1. public int getSubstitutionPolicy( )
Returns the property substitutionPolicy.
Specified by:
See Also:

isSupportsAutomaticClaim

  1. public boolean isSupportsAutomaticClaim( )
Returns the property supportsAutomaticClaim.
See Also:

isSupportsDelegation

  1. public boolean isSupportsDelegation( )
Returns the property supportsDelegation.
See Also:

isSupportsSubTasks

  1. public boolean isSupportsSubTasks( )
Returns the property supportsSubTasks.
See Also:

isSupportsFollowOnTasks

  1. public boolean isSupportsFollowOnTasks( )
Returns the property supportsFollowOnTasks.
See Also:

isSupportsClaimIfSuspended

  1. public boolean isSupportsClaimIfSuspended( )
Returns the property supportsClaimIfSuspended.
See Also:

supportsAutomaticClaim

  1. public boolean supportsAutomaticClaim( )
Returns the property supportsAutomaticClaim.
Specified by:
See Also:

supportsDelegation

  1. public boolean supportsDelegation( )
Returns the property supportsDelegation.
Specified by:
See Also:

supportsSubTasks

  1. public boolean supportsSubTasks( )
Returns the property supportsSubTasks.
Specified by:
See Also:

supportsFollowOnTasks

  1. public boolean supportsFollowOnTasks( )
Returns the property supportsFollowOnTasks.
Specified by:
See Also:

supportsClaimIfSuspended

  1. public boolean supportsClaimIfSuspended( )
Returns the property supportsClaimIfSuspended.
Specified by:
See Also:

getEventHandlerName

  1. public java.lang.String getEventHandlerName( )
Returns the property eventHandlerName.
Specified by:
See Also: