Class MobilePushToken
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.common.model.Id
ru.bitel.bgbilling.modules.mobile.server.bean.MobilePushToken
- All Implemented Interfaces:
Serializable
,Idable
Это хранящийся в БД push токен, для провайдеров которые сами занимаются рассылкой
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getToken()
int
getType()
Ios или Androidboolean
void
setDateCreate
(Date dateCreate) void
setLastConfirmDate
(Date lastConfirmDate) void
setLastSendDate
(Date lastSendDate) void
setRejected
(int rejected) void
setRejectedDate
(Date rejectedDate) void
void
setType
(int type) Ios или AndroidMethods inherited from class ru.bitel.common.model.Id
copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId, toString
Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
getLogger, logError
-
Field Details
-
TYPE_IOS
public static final int TYPE_IOS- See Also:
-
TYPE_ANDROID
public static final int TYPE_ANDROID- See Also:
-
TYPE_Ios_Firebase
public static final int TYPE_Ios_Firebase- See Also:
-
-
Constructor Details
-
MobilePushToken
public MobilePushToken()
-
-
Method Details
-
isRejected
public boolean isRejected() -
getToken
-
setToken
-
getType
public int getType()Ios или Android -
setType
public void setType(int type) Ios или Android -
getDateCreate
-
setDateCreate
-
getLastSendDate
-
setLastSendDate
-
getLastConfirmDate
-
setLastConfirmDate
-
getRejected
public int getRejected() -
setRejected
public void setRejected(int rejected) -
getRejectedDate
-
setRejectedDate
-