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>,java.lang.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
-
Constructor Summary
Constructors Constructor Description DatarouterAccount()DatarouterAccount(java.lang.String accountName, java.util.Date created, java.lang.String creator) -
Method Summary
Modifier and Type Method Description java.lang.StringgetCreatedDate(java.time.ZoneId zoneId)java.lang.StringgetCreator()booleangetEnableUserMappings()java.lang.Class<DatarouterAccountKey>getKeyClass()java.lang.StringgetLastUsedDate(java.time.ZoneId zoneId)voidsetEnableUserMappings(boolean enableUserMappings)voidsetLastUsed(java.util.Date lastUsed)voidtoggleUserMappings()
-
Constructor Details
-
DatarouterAccount
public DatarouterAccount() -
DatarouterAccount
public DatarouterAccount(java.lang.String accountName, java.util.Date created, java.lang.String creator)
-
-
Method Details
-
getKeyClass
-
getCreatedDate
public java.lang.String getCreatedDate(java.time.ZoneId zoneId) -
getCreator
public java.lang.String getCreator() -
setLastUsed
public void setLastUsed(java.util.Date lastUsed) -
getLastUsedDate
public java.lang.String getLastUsedDate(java.time.ZoneId zoneId) -
toggleUserMappings
public void toggleUserMappings() -
getEnableUserMappings
public boolean getEnableUserMappings() -
setEnableUserMappings
public void setEnableUserMappings(boolean enableUserMappings)
-