Class PriorityRegistration

java.lang.Object
com.appiancorp.suiteapi.process.PriorityRegistration

public class PriorityRegistration extends Object
  • Constructor Details

    • PriorityRegistration

      public PriorityRegistration()
  • Method Details

    • copyNonLocalizedFieldsOnly

      public Priority copyNonLocalizedFieldsOnly()
      Creates and returns a new Priority object. The returned object's "non-localized" fields will be set to point to this object's corresponding fields. Non-localized fields are all the fields that are not LocaleString fields and are not String fields holding bundle keys.
    • getId

      public Long getId()
      Returns the id of the priority.
    • setId

      public void setId(Long id)
    • getName

      public LocaleString getName()
      Returns the name of the priority.
    • setName

      public void setName(LocaleString name)
    • getDescription

      public LocaleString getDescription()
      Returns the description of the priority.
    • setDescription

      public void setDescription(LocaleString description)
    • getIconId

      public Long getIconId()
      Returns the collaboration document ID of the icon associated with this priority.
    • setIconId

      public void setIconId(Long iconId)
    • getEffectiveId

      public Long getEffectiveId()
      Returns the effective ID for the priority. If the priority has not been deregistered, then the effective ID is the same as the ID. If the priority has been deregistered, then the effective ID is the one that corresponds to the next registered priority in the direction of the default priority.
    • setEffectiveId

      public void setEffectiveId(Long effectiveId)
    • getDefault

      public boolean getDefault()
      Returns whether or not this priority is the default priority in the system.
    • setDefault

      public void setDefault(boolean value)
      Sets whether or not this priority is the default priority in the system. The system default priority is the last priority registered with the default property set to true.
    • getImageLoc

      public String getImageLoc()
      Returns the location of the image associated with this priority.
    • setImageLoc

      public void setImageLoc(String imageLoc)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object