Package ru.bitel.bgbilling.plugins.crm.common.model

# Class RegisterTask

java.lang.Object
ru.bitel.common.model.Id
ru.bitel.bgbilling.plugins.crm.common.model.RegisterTask

All Implemented Interfaces:
  `Serializable`, `Idable`

public class RegisterTask extends Id implements Serializable

See Also:
  - Serialized Form

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `RegisterTask.Builder`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `STATUS_ACCEPTED`
  `static final int`
  `STATUS_CLOSED`
  `static final String`
  `STATUS_LIST`
  `static final int`
  `STATUS_OPEN`

  ### Fields inherited from class ru.bitel.common.model.Id

  `id`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RegisterTask()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static RegisterTask.Builder`
  `builder()`
  `Date`
  `getAcceptTime()`
  `int`
  `getAcceptUserId()`
  Возвращает код пользователя принявшего задачу
  `int`
  `getAddressObjectId()`
  Возвращает код адресного параметра объекта договора
  `int`
  `getAddressParamId()`
  Возвращает код адресного параметра договора
  `Date`
  `getCloseTime()`
  `int`
  `getCloseUserId()`
  `String`
  `getComment()`
  `int`
  `getContractId()`
  `Date`
  `getCreateTime()`
  `int`
  `getCreateUserId()`
  `Date`
  `getExecuteDate()`
  `List<Integer>`
  `getExecutors()`
  `int`
  `getGroupId()`
  `Date`
  `getLastmodTime()`
  `int`
  `getLastmodUserId()`
  `Date`
  `getOpenTime()`
  `String`
  `getOpenTimeF()`
  `int`
  `getOpenUserId()`
  `int`
  `getProblemId()`
  `String`
  `getResolution()`
  `int`
  `getStatus()`
  `Date`
  `getTargetDate()`
  `String`
  `getTargetDateF()`
  `int`
  `getTypeId()`
  `boolean`
  `isProcessed()`
  `void`
  `setAcceptTime(Date acceptTime)`
  Устанавливает дату ПРИНЯТИЯ задачи
  `void`
  `setAcceptUserId(int acceptUserId)`
  `void`
  `setAddressObjectId(int addressObjectId)`
  Устанавливает код адресного параметра объекта договора
  `void`
  `setAddressParamId(int addressParamId)`
  Устанавливается код адресного параметра из договора
  `void`
  `setCloseTime(Date closeTime)`
  `void`
  `setCloseUserId(int closeUserId)`
  `void`
  `setComment(String comment)`
  `void`
  `setContractId(int contractId)`
  `void`
  `setCreateTime(Date createTime)`
  `void`
  `setCreateUserId(int createUserId)`
  `void`
  `setExecuteDate(Date executeDate)`
  `void`
  `setExecutors(List<Integer> executors)`
  `void`
  `setGroupId(int groupId)`
  `void`
  `setLastmodTime(Date lastmodTime)`
  `void`
  `setLastmodUserId(int lastmodUserId)`
  `void`
  `setOpenTime(Date openTime)`
  `void`
  `setOpenUserId(int openUserId)`
  `void`
  `setProblemId(int problemId)`
  `void`
  `setProcessed(boolean processed)`
  `void`
  `setResolution(String resolution)`
  `void`
  `setStatus(int status)`
  `void`
  `setTargetDate(Date targetDate)`
  `void`
  `setTypeId(int typeId)`

  ### Methods inherited from class ru.bitel.common.model.Id

  `copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId, toString`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### STATUS_OPEN

    public static final int STATUS_OPEN
    See Also:
      - Constant Field Values

  - ### STATUS_ACCEPTED

    public static final int STATUS_ACCEPTED
    See Also:
      - Constant Field Values

  - ### STATUS_CLOSED

    public static final int STATUS_CLOSED
    See Also:
      - Constant Field Values

  - ### STATUS_LIST

    public static final String STATUS_LIST
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### RegisterTask

    public RegisterTask()

- ## Method Details

  - ### getAcceptTime

    public Date getAcceptTime()

  - ### setAcceptTime

    public void setAcceptTime(Date acceptTime)
    Устанавливает дату ПРИНЯТИЯ задачи
    Parameters:
      `acceptTime` - дата ПРИНЯТИЯ задачи

  - ### setStatus

    public void setStatus(int status)

  - ### setResolution

    public void setResolution(String resolution)

  - ### setProblemId

    public void setProblemId(int problemId)

  - ### setOpenUserId

    public void setOpenUserId(int openUserId)

  - ### setOpenTime

    public void setOpenTime(Date openTime)

  - ### setGroupId

    public void setGroupId(int groupId)

  - ### setExecutors

    public void setExecutors(List<Integer> executors)

  - ### setContractId

    public void setContractId(int contractId)

  - ### setComment

    public void setComment(String comment)

  - ### setCloseUserId

    public void setCloseUserId(int closeUserId)

  - ### setCloseTime

    public void setCloseTime(Date closeTime)

  - ### setAcceptUserId

    public void setAcceptUserId(int acceptUserId)

  - ### setTargetDate

    public void setTargetDate(Date targetDate)

  - ### setTypeId

    public void setTypeId(int typeId)

  - ### setExecuteDate

    public void setExecuteDate(Date executeDate)

  - ### setAddressParamId

    public void setAddressParamId(int addressParamId)
    Устанавливается код адресного параметра из договора
    Parameters:
      `addressParamId` - - id из таблицы
      invalid reference

          ru.bitel.bgbilling.server.bean.Constants.TABLE_CONTRACT_PARAMETERS_PREF

  - ### getAcceptUserId

    public int getAcceptUserId()
    Возвращает код пользователя принявшего задачу
    Returns:
      код пользователя

  - ### getCloseTime

    public Date getCloseTime()

  - ### getCloseUserId

    public int getCloseUserId()

  - ### getComment

    public String getComment()

  - ### getContractId

    public int getContractId()

  - ### getExecutors

    public List<Integer> getExecutors()

  - ### getGroupId

    public int getGroupId()

  - ### getOpenTime

    public Date getOpenTime()

  - ### getOpenTimeF

    public String getOpenTimeF()

  - ### getOpenUserId

    public int getOpenUserId()

  - ### getProblemId

    public int getProblemId()

  - ### getResolution

    public String getResolution()

  - ### getStatus

    public int getStatus()

  - ### getTargetDate

    public Date getTargetDate()

  - ### getTargetDateF

    public String getTargetDateF()

  - ### getTypeId

    public int getTypeId()

  - ### getExecuteDate

    public Date getExecuteDate()

  - ### getAddressParamId

    public int getAddressParamId()
    Возвращает код адресного параметра договора
    Returns:
      id из таблицы `Constants.TABLE_CONTRACT_PARAMETERS_PREF`

  - ### isProcessed

    public boolean isProcessed()

  - ### setProcessed

    public void setProcessed(boolean processed)

  - ### getLastmodTime

    public Date getLastmodTime()

  - ### setLastmodTime

    public void setLastmodTime(Date lastmodTime)

  - ### getLastmodUserId

    public int getLastmodUserId()

  - ### setLastmodUserId

    public void setLastmodUserId(int lastmodUserId)

  - ### getCreateTime

    public Date getCreateTime()

  - ### setCreateTime

    public void setCreateTime(Date createTime)

  - ### getCreateUserId

    public int getCreateUserId()

  - ### setCreateUserId

    public void setCreateUserId(int createUserId)

  - ### getAddressObjectId

    public int getAddressObjectId()
    Возвращает код адресного параметра объекта договора
    Returns:
      id из таблицы object_param

  - ### setAddressObjectId

    public void setAddressObjectId(int addressObjectId)
    Устанавливает код адресного параметра объекта договора
    Parameters:
      `addressObjectId` - - id из таблицы object_param

  - ### builder

    public static RegisterTask.Builder builder()