psdi.app.bim.project

Class BIMProject

  • java.lang.Object
    • Field Detail

      • RELATIONSHIP_BIMSESSION

        public static final java.lang.String RELATIONSHIP_BIMSESSION
        See Also:
        Constant Field Values
      • RELATIONSHIP_BIMSYSTEMMAPENTRY

        public static final java.lang.String RELATIONSHIP_BIMSYSTEMMAPENTRY
        See Also:
        Constant Field Values
      • RELATIONSHIP_BIMATTRIBUTEMAPLIST

        public static final java.lang.String RELATIONSHIP_BIMATTRIBUTEMAPLIST
        See Also:
        Constant Field Values
      • RELATIONSHIP_BIMTYPEMAPLIST

        public static final java.lang.String RELATIONSHIP_BIMTYPEMAPLIST
        See Also:
        Constant Field Values
      • RELATIONSHIP_BOOKMARK

        public static final java.lang.String RELATIONSHIP_BOOKMARK
        See Also:
        Constant Field Values
      • RELATIONSHIP_DOCLINKS

        public static final java.lang.String RELATIONSHIP_DOCLINKS
        See Also:
        Constant Field Values
      • FIELD_BIMPROJECTID

        public static final java.lang.String FIELD_BIMPROJECTID
        See Also:
        Constant Field Values
      • FIELD_DESCRIPTION

        public static final java.lang.String FIELD_DESCRIPTION
        See Also:
        Constant Field Values
      • FIELD_LOCATIONPREFIX

        public static final java.lang.String FIELD_LOCATIONPREFIX
        See Also:
        Constant Field Values
      • FIELD_NEWSESSIONTYPE

        public static final java.lang.String FIELD_NEWSESSIONTYPE
        See Also:
        Constant Field Values
      • FIELD_PROJECTNAME

        public static final java.lang.String FIELD_PROJECTNAME
        See Also:
        Constant Field Values
      • FIELD_PRIMARYSYSTEM

        public static final java.lang.String FIELD_PRIMARYSYSTEM
        See Also:
        Constant Field Values
    • Constructor Detail

      • BIMProject

        public BIMProject(MboSet ms)
                   throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException
        initialization routine. This sets the READONLY flags both for those fields that are always read only and those that are editable only during insert.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Description copied from class: Mbo
        This is called when a new Mbo is added to the Mboset collection. It is called AFTER user defaults have been set from the data dictionary. Programmer should usually override this to set some defaults. Default behavior is to do nothing.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: Mbo
        Mark the object to be deleted depending on the access modifier. This will usually be overridden in the subclass of Mbo as there may be application specific rules as to if and when an object can be deleted. Object is not actually deleted in the database until save() is called. This method will also mark all associated Long Description and Translation Mbos for deletion.
        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:
        Mbo.delete(long)
      • save

        public void save()
                  throws java.rmi.RemoteException,
                         MXException
        Description copied from class: Mbo
        Save the object and other linked objects. Subclasses can code their save() logic to include any appropriate updates to other linked objects and call super.save().
        Overrides:
        save in class Mbo
        Throws:
        java.rmi.RemoteException
        MXException
      • getDocumentDirectory

        public java.lang.String getDocumentDirectory()
                                              throws java.rmi.RemoteException,
                                                     MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • getFrequencyUnits

        public java.lang.String getFrequencyUnits(java.lang.String units)
        Validate that units are legal and try some simple things like adding a 'S' to make them legal
        Specified by:
        getFrequencyUnits in interface BIMProjectRemote
        Parameters:
        units - localized units
        Returns:
        empty string or possible modified localized units;
      • cleanDocumentDir

        public void cleanDocumentDir()