Class BOGisVisibilityRule

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.gis.rule.BOGisVisibilityRule
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class BOGisVisibilityRule extends DynO
Business object representing a gis offline package
Since:
12.0
See Also:
GCApi:
bo
  • Constructor Details

    • BOGisVisibilityRule

      public BOGisVisibilityRule()
  • Method Details

    • getId

      public Long getId()
      Returns the gis visibility rule id.
      Returns:
      the the gis visibility rule id
    • setId

      public void setId(Long id)
      Sets the gis visibility rule id.
      Parameters:
      id - the gis visibility rule id
    • getOfflinePackage

      public Long getOfflinePackage()
      Returns the offline package id.
      Returns:
      the offline package id
      See Also:
    • setOfflinePackage

      public void setOfflinePackage(Long offlinePackage)
      Sets the offline package id.
      Parameters:
      offlinePackage - the offline package id
      See Also:
    • getServiceLayer

      public Long getServiceLayer()
      Returns the service layer id.
      Returns:
      the service layer id
    • setServiceLayer

      public void setServiceLayer(Long serviceLayer)
      Sets the service layer id.
      Parameters:
      serviceLayer - the service layer id
    • isActive

      public Boolean isActive()
      Checks if the gis visibility rule is active.
      Returns:
      true if the rule is active, false otherwise
    • setActive

      public void setActive(Boolean active)
      Sets the gis visibility rule to active.
      Parameters:
      active - true if the rule must be active, false otherwise
    • isDefaultVisible

      public Boolean isDefaultVisible()
      Checks if the gis visibility rule is visible by default.
      Returns:
      true if the rule is visible by default, false otherwise
    • setDefaultVisible

      public void setDefaultVisible(Boolean defaultVisible)
      Sets the gis visibility rule to visible by default.
      Parameters:
      defaultVisible - the default visible
    • getOrdering

      public Long getOrdering()
      Returns the rule ordering.
      Returns:
      the gis visibility rule ordering
    • setOrdering

      public void setOrdering(Long ordering)
      Sets the rule ordering.
      Parameters:
      ordering - the gis visibility rule ordering
    • getUserTypes

      public LongSet getUserTypes()
      Returns the list of user type ids associated to the rule.
      Returns:
      the gis visibility rule's user type ids
    • setUserTypes

      public void setUserTypes(LongSet userTypes)
      Sets the user types that must be associated to the rule.
      Parameters:
      userTypes - the gis visibility rule's user type ids
    • getUserTypesString

      public String getUserTypesString()
      Returns the string containing all the user type ids associated to the rule.
      Returns:
      the gis visibility rule's user type ids string
    • setUserTypesString

      public void setUserTypesString(String userTypes)
      Sets the string containing all the user type ids that must be associated to the rule.
      Parameters:
      userTypes - the gis visibility rule's user types ids
    • getOperationCenters

      public LongSet getOperationCenters()
      Returns the list of operation center ids associated to the rule.
      Returns:
      the gis visibility rule's operation center ids
    • setOperationCenters

      public void setOperationCenters(LongSet userTypes)
      Sets the list of operation center ids that must be associated to the rule.
      Parameters:
      userTypes - the gis visibility rule's operation center ids
    • getOperationCentersString

      public String getOperationCentersString()
      Returns the string containing all the operation center ids associated to the rule.
      Returns:
      the gis visibility rule's operation center ids string
    • setOperationCentersString

      public void setOperationCentersString(String operationCenters)
      Sets the string containing all the user type ids that must be associated to the rule.
      Parameters:
      operationCenters - the operation centers string