Package net.atthegate.server.models
Class Visitor
java.lang.Object
net.atthegate.server.models.Visitor
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final Long
boolean
boolean
boolean
boolean
boolean
boolean
boolean
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
net.atthegate.server.models.ServerLogs.PhotoStatus
Deprecated.Deprecated.static final String
static final String
boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
checkValid
(Visitor visitor, Calendar calDayStart, Visitor category) static boolean
checkValid
(Visitor visitor, Visitor category, TimeZone timezone) void
getCode()
getId()
getName()
getNfc()
getUid()
getUnit()
boolean
haveVisitsLimit
(Visitor category) boolean
boolean
-
Field Details
-
TYPE_CATEGORY
- See Also:
-
TYPE_PROFILE
- See Also:
-
BLOCK_TYPE_NONE
- See Also:
-
BLOCK_TYPE_BLOCK
- See Also:
-
BLOCK_TYPE_SILENT
- See Also:
-
BLOCK_TYPE_WARNING
- See Also:
-
LEEWAY_30_MIN
- See Also:
-
LEEWAY_1H
- See Also:
-
LEEWAY_2H
- See Also:
-
LEEWAY_DAY
- See Also:
-
MAIN_FIELDS_ALL
- See Also:
-
MAIN_FIELDS_NO_INVITATION
- See Also:
-
MAIN_FIELDS_ONLY_INVITATION
- See Also:
-
CUSTOM_FIELDS_SETTING_EDIT
- See Also:
-
CUSTOM_FIELDS_SETTING_HIDDEN
- See Also:
-
CUSTOM_FIELDS_SETTING_SHOWN
- See Also:
-
ORIGIN_PREREG
- See Also:
-
ORIGIN_INVITATION
- See Also:
-
ORIGIN_CALENDAR
- See Also:
-
ORIGIN_SHARED_ACCESS
- See Also:
-
NOTIFY_ON_ENTRANCE
- See Also:
-
NOTIFY_ON_EXIT
- See Also:
-
NOTIFY_ON_BOTH
- See Also:
-
NOTIFY_ON_ENTRANCE_LEEWAY
- See Also:
-
NOTIFY_ON_EXIT_LEEWAY
- See Also:
-
NOTIFY_ON_BOTH_LEEWAY
- See Also:
-
NOTIFY_NONE
- See Also:
-
DEFAULT_DATE_RESET
-
id
-
uid
-
name
-
surname
-
photoURL
-
deletePhotoAfter
-
thumbURL
-
thumbFor
-
company
-
email
-
generateCode
-
code
-
idNumber
-
carLic
-
phoneNumber
-
nfc
-
field1
-
field2
-
field3
-
field1Name
-
field2Name
-
field3Name
-
notValidMessage
-
generatePinCode
-
removeNFCOnExit
-
generateNewPinCode
-
categoryId
-
validFrom
-
validFromDateText
-
validTill
-
validTillDateText
-
validFromLabel
-
validTillLabel
-
removeNotValidAfter
-
singleEntry
-
leeway
-
visitsAllowed
-
maxVisitsAllowed
-
singlePersonOnSite
-
maxDaysFromToday
-
visitsCount
-
visitsCountTotal
-
lastVisitDate
-
changeOrVisitDate
-
isOnSite
-
defaultLimitation
-
type
-
blockType
-
blockMessage
-
dateCreated
-
dateChanged
-
datePrescreening
-
deleted
public boolean deleted -
defaultDeletion
public boolean defaultDeletion -
forgetVisitor
public boolean forgetVisitor -
forgetVisitorDays
-
deleteAfterExit
public boolean deleteAfterExit -
deleteVisitorAfter
-
rememberTill
-
dateReset
-
visitorFields
-
weekdayLimit
-
weekdays
-
allowInvitation
-
defaultLocation
-
invitationSettings
-
mainFields
-
customFieldsSetting
-
forceLimitations
-
calcTimeAndAttendance
-
timeAndAttendanceProfile
Deprecated. -
timeAndAttendanceProfiles
-
timeAndAttendanceProfilesFilter
-
timeAndAttendanceFR
-
showAccessInUserApp
-
validAccessInUserApp
public boolean validAccessInUserApp -
notAutoFillName
-
notShowCategoryName
-
notAutoFillVisitorImage
-
instantQRCode
-
useImageOnFR
-
displayImageOnATR
-
notAutoFillMainWithInvitation
-
autoFillMainWith
-
hidePhoto
-
hideCompany
-
hideEmail
-
hideIDNumber
-
hideCarLicense
-
hidePhoneNumber
-
hideNFCAddress
-
idNumberRequired
-
carLicenseRequired
-
phoneNumberRequired
-
nfcAddressRequired
-
field1Required
-
field2Required
-
field3Required
-
forgetPrescreening
-
blockTillPrescreening
-
forgetPrescreeningPeriod
-
forgetPrescreeningTime
-
editPhotoPrescreening
-
requiredPhotoPrescreening
-
createEntryAfterPrescreening
-
sendPrescreeningReport
-
emailsPrescreeningEmpty
-
allowNotifications
-
notifyUsersOn
-
createdByUid
-
createdBy
-
createdByLogin
-
unit
-
category
-
categoryObj
-
categoryBlockType
-
preRegCategory
Deprecated. -
originId
-
origin
-
editKey
-
editAllowed
public boolean editAllowed -
editAllFields
public boolean editAllFields -
editFields
-
editRequired
-
editSearchField
-
editSearchFieldLabel
-
noEdit
-
willBeDeletedAfter
-
status
-
statuses
-
link
-
linkInvitation
-
linkPrescreening
-
photo
-
notifyOn
-
importId
-
photoURLstatus
@Nullable public net.atthegate.server.models.ServerLogs.PhotoStatus photoURLstatus
-
-
Constructor Details
-
Visitor
public Visitor()
-
-
Method Details
-
checkValid
-
checkValid
-
clearPhotoAndThumb
public void clearPhotoAndThumb() -
getName
-
getSurname
-
getCompany
-
getCode
-
getValidFrom
-
getValidTill
-
getValidFromDateText
-
getValidTillDateText
-
getVisitsAllowed
-
getCreatedBy
-
getUnit
-
getPhotoURL
-
getGeneratePinCode
-
getIdNumber
-
getCarLic
-
getPhoneNumber
-
getNfc
-
getField1
-
getField2
-
getField3
-
getField1Name
-
getField2Name
-
getField3Name
-
getVisitorFields
-
getCategory
-
haveVisitsLimit
-
isEditAllFields
public boolean isEditAllFields() -
getEditFields
-
getLastVisitDate
-
getDatePrescreening
-
getStatuses
-
getStatus
-
getId
-
getUid
-
getCategoryId
-
getNotValidMessage
-
getPinCode
-
isNfcPinCode
public boolean isNfcPinCode() -
nameMerged
-