com.ibm.tivoli.maximo.skd.app

Class SKDProperty

  • java.lang.Object
  • All Implemented Interfaces:
    SKDPropertyRemote, java.rmi.Remote, MboConstants, MboRemote, MaxRemoteProxy


    public class SKDProperty
    extends Mbo
    implements SKDPropertyRemote
    MBO object to represent SKDProperty. See Scheduler package description for details.

    This is a system level object.

    The key attributes for this object is: PROPERTYNAME,SKDOBJECTNAME

    The attributes in this object are as follows:

    Attribute NameDescription
    SKDOBJECTNAMESKD Object Name.
    PROPERTYNAMEThe name of the property available for display in the Gantt view. This value must be unique.
    CLASSNAMEBean class that can load the data.
    PERSISTENTIndicates if the current property stored with the schedule, or is it referenced from the business object.
    INTERNALIs it an internal property?
    USERMANAGEDIs it a user managed property?
    TITLEThe column title that will display in the data table of the Gantt view.
    HASAPPLINKIndicates if this property will include a hyperlink to an application. The hyperlink location is determined by the value in the Applink Object field.
    SHOWTABLEIndicates if this property will display in the Gantt view.
    PROPERTYORDERThe order in which the columns will display in the data table of the Gantt view, from left to right.
    FILTERABLEFlag to indicate if property is filterable or not.
    ALWAYSVISIBLEIndicates if this property will always be displayed in the Gantt view. This value is read-only
    SKDPROPERTYIDUnique Id.
    • Constructor Detail

      • SKDProperty

        public SKDProperty(MboSet ms)
                    throws java.rmi.RemoteException
        Constructs the SKDProperty object.

        Parameters:
        ms - MboSet
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException
        Initialization routine. If the SKDProperty.AlwaysVisible is checked,then SKDProperty.ShowTable is Read-only. SKDProperty.CanBeSorted is also becomes Read-only.
        Overrides:
        init in class Mbo
        Parameters:
        none -
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Adds a new SKDProperty object.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Parameters:
        none -
        Throws:
        MXException, - RemoteException
        MXException
        java.rmi.RemoteException
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        If the SKDProperty to be deleted and also delete associated objects - SKDPropertyMap and SKDUserProp.
        Specified by:
        delete in interface MboRemote
        Overrides:
        delete in class Mbo
        Parameters:
        accessModifier - The bitwise flag specified to determine if certain normal security checks are to be bypassed for this delete request. For example: if the accessModifer is NOACCESSCHECK, then the check for the object's NODELETE flag and the call to the object's canDelete() method will not be performed. If the accessModifer is NONE, then all the access checks are performed before this object is marked delete.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        SKDProperty.delete(long)
      • save

        protected void save()
                     throws MXException,
                            java.rmi.RemoteException
        If the new property is added and saved, without any 'Attribute and Object' Mapping defined, then we get the exception.
        Overrides:
        save in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
        MXApplicationException