com.ibm.tivoli.maximo.skd.model

Class UserPropertyChanges

  • java.lang.Object
    • com.ibm.tivoli.maximo.skd.model.UserPropertyChanges
  • All Implemented Interfaces:
    java.io.Serializable


    public class UserPropertyChanges
    extends java.lang.Object
    implements java.io.Serializable
    Maintains the User Property changes (ie, changes to the gantt table layout) for the project and user. This gets sent to the server and persisted to the SKDUSERPROP table.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addModifiedProperty(java.lang.String colName, java.lang.String propertyName, java.io.Serializable value)
      Adds a modified property to the modified properties map for the given table column name.
      java.util.HashMap getModifiedProperties()
      Get the Modified properties where the key is the table column name, and the value is a map of the modified properties for that table column name.
      java.util.HashMap getModifiedPropertiesForColumn(java.lang.String colName)
      Gets the modified properties for that given table column name.
      java.lang.String getObjectName()
      Return the Object Name for which the properties are assigned.
      java.lang.String getProjectId()
      The project id that owns the properties
      void setObjectName(java.lang.String objectName)
      Sets the Object Name, for which the properties as assigned.
      void setProjectId(java.lang.String projectId)
      Sets the project id
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • USERPROPERTY_SERVICENAME

        public static final java.lang.String USERPROPERTY_SERVICENAME
        Sevlet name
        See Also:
        Constant Field Values
      • SKDPROPERTY_MBONAME

        public static final java.lang.String SKDPROPERTY_MBONAME
        See Also:
        Constant Field Values
      • USERPROPERTY_MBONAME

        public static final java.lang.String USERPROPERTY_MBONAME
        See Also:
        Constant Field Values
      • OBJECTNAME_ACTIVITY

        public static final java.lang.String OBJECTNAME_ACTIVITY
        See Also:
        Constant Field Values
      • OBJECTNAME_RESOURCE

        public static final java.lang.String OBJECTNAME_RESOURCE
        See Also:
        Constant Field Values
      • PROP_PROPERTYORDER

        public static final java.lang.String PROP_PROPERTYORDER
        See Also:
        Constant Field Values
      • PROP_COLUMNWIDTH

        public static final java.lang.String PROP_COLUMNWIDTH
        See Also:
        Constant Field Values
      • projectId

        protected java.lang.String projectId
      • objectName

        protected java.lang.String objectName
      • modifiedProperties

        protected java.util.HashMap modifiedProperties
        The contains a map of updated properties for each table column. For each table column name, we need to store a map of property names, such as column width, order, etc, that will we eventually persist to the SKDUSERPROP table.
    • Constructor Detail

      • UserPropertyChanges

        public UserPropertyChanges()
    • Method Detail

      • getModifiedProperties

        public java.util.HashMap getModifiedProperties()
        Get the Modified properties where the key is the table column name, and the value is a map of the modified properties for that table column name.
      • getModifiedPropertiesForColumn

        public java.util.HashMap getModifiedPropertiesForColumn(java.lang.String colName)
        Gets the modified properties for that given table column name.
      • addModifiedProperty

        public void addModifiedProperty(java.lang.String colName,
                                        java.lang.String propertyName,
                                        java.io.Serializable value)
        Adds a modified property to the modified properties map for the given table column name.
      • getProjectId

        public java.lang.String getProjectId()
        The project id that owns the properties
      • setProjectId

        public void setProjectId(java.lang.String projectId)
        Sets the project id
      • getObjectName

        public java.lang.String getObjectName()
        Return the Object Name for which the properties are assigned. ie, SKDACTIVITY
      • setObjectName

        public void setObjectName(java.lang.String objectName)
        Sets the Object Name, for which the properties as assigned.