Class DatarouterAccount
java.lang.Object
io.datarouter.model.databean.BaseDatabean<DatarouterAccountKey,DatarouterAccount>
io.datarouter.auth.storage.account.DatarouterAccount
- All Implemented Interfaces:
io.datarouter.model.databean.Databean<DatarouterAccountKey,DatarouterAccount>,Comparable<io.datarouter.model.databean.Databean<?,?>>
public class DatarouterAccount extends io.datarouter.model.databean.BaseDatabean<DatarouterAccountKey,DatarouterAccount>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatarouterAccount.DatarouterAccountFielder -
Field Summary
Fields inherited from class io.datarouter.model.databean.BaseDatabean
DEFAULT_KEY_FIELD_NAME -
Constructor Summary
Constructors Constructor Description DatarouterAccount()DatarouterAccount(String accountName, DatarouterAccount account)DatarouterAccount(String accountName, Date created, String creator) -
Method Summary
Modifier and Type Method Description DategetCreated()StringgetCreatedDate(ZoneId zoneId)StringgetCreator()booleangetEnableUserMappings()Supplier<DatarouterAccountKey>getKeySupplier()DategetLastUsed()StringgetLastUsedDate(ZoneId zoneId)voidsetEnableUserMappings(boolean enableUserMappings)voidsetLastUsed(Date lastUsed)voidtoggleUserMappings()Methods inherited from class io.datarouter.model.databean.BaseDatabean
compareTo, equals, getDatabeanName, getKey, getKeyFieldName, getKeyFields, hashCode, toString
-
Constructor Details
-
DatarouterAccount
public DatarouterAccount() -
DatarouterAccount
-
DatarouterAccount
-
-
Method Details
-
getKeySupplier
-
getCreatedDate
-
getCreator
-
setLastUsed
-
getLastUsedDate
-
getLastUsed
-
toggleUserMappings
public void toggleUserMappings() -
getEnableUserMappings
public boolean getEnableUserMappings() -
setEnableUserMappings
public void setEnableUserMappings(boolean enableUserMappings) -
getCreated
-