psdi.app.workorder

Class WoEditSettings

  • java.lang.Object
    • psdi.app.workorder.WoEditSettings


  • public class WoEditSettings
    extends java.lang.Object
    Wraps the edit flags into a single object. This class is used to communicate the work order edit settings between the specific WO and the WOService which caches the edit setting information. John Neville, September 17th, 1998
    • Constructor Summary

      Constructors 
      Constructor and Description
      WoEditSettings(boolean editGL, boolean editAsset, boolean editLoc, boolean editWpLab, boolean editWpMat, boolean editWpSer, boolean editWpTool, boolean editSafety)
      Constructor for WoEditSettings.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean canEditAsset()
      Return canEditAsset flag.
      boolean canEditGL()
      Return canEditGl flag.
      boolean canEditLoc()
      Return canEditLoc flag.
      boolean canEditSafety()
      Return canEditSafety flag.
      boolean canEditWpLab()
      Return canEditWpLab flag.
      boolean canEditWpMat()
      Return canEditWpMat flag.
      boolean canEditWpSer()
      Return canEditWpSer flag.
      boolean canEditWpTool()
      Return canEditWpTool flag.
      java.lang.String toString()
      Return the work order edit settings string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • WoEditSettings

        public WoEditSettings(boolean editGL,
                              boolean editAsset,
                              boolean editLoc,
                              boolean editWpLab,
                              boolean editWpMat,
                              boolean editWpSer,
                              boolean editWpTool,
                              boolean editSafety)
        Constructor for WoEditSettings.
        Parameters:
        editGL - can edit GL account flag.
        editAsset - can edit asset flag.
        editLoc - can edit location flag.
        editWpLab - can edit work plan labor flag.
        editWpMat - can edit work plan material flag.
        editWpTool - can edit work plan tool flag.
        editSafety - can edit safety paln flag.
    • Method Detail

      • canEditGL

        public boolean canEditGL()
        Return canEditGl flag.
        Returns:
        true if can edit GL account, otherwise return false.
      • canEditAsset

        public boolean canEditAsset()
        Return canEditAsset flag.
        Returns:
        true if can edit Asset, otherwise return false.
      • canEditLoc

        public boolean canEditLoc()
        Return canEditLoc flag.
        Returns:
        true if can edit location, otherwise return false.
      • canEditWpLab

        public boolean canEditWpLab()
        Return canEditWpLab flag.
        Returns:
        true if can edit work plan labors, otherwise return false.
      • canEditWpMat

        public boolean canEditWpMat()
        Return canEditWpMat flag.
        Returns:
        true if can edit Work Plan materials, otherwise return false.
      • canEditWpSer

        public boolean canEditWpSer()
        Return canEditWpSer flag.
        Returns:
        true if can edit Work Plan Service, otherwise return false.
      • canEditWpTool

        public boolean canEditWpTool()
        Return canEditWpTool flag.
        Returns:
        true if can edit Work Plan tools, otherwise return false.
      • canEditSafety

        public boolean canEditSafety()
        Return canEditSafety flag.
        Returns:
        true if can edit Safety plans, otherwise return false.
      • toString

        public java.lang.String toString()
        Return the work order edit settings string.
        Overrides:
        toString in class java.lang.Object
        Returns:
        the work order edit settings string.