@Entity @JPAJSONAttributableCheck public class JPAJSONUser extends JPAUser implements JSONAttributable<User>, User
LOG
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
Constructor and Description |
---|
JPAJSONUser() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(JSONPlainAttr<User> attr) |
boolean |
add(LinkedAccount account) |
boolean |
add(UPlainAttr attr) |
Optional<? extends LinkedAccount> |
getLinkedAccount(String resource,
String connObjectKeyValue) |
List<? extends LinkedAccount> |
getLinkedAccounts() |
List<? extends LinkedAccount> |
getLinkedAccounts(String resource) |
Optional<? extends UPlainAttr> |
getPlainAttr(String plainSchema)
Returns the plain attribute for this instance and the given schema name.s
|
Optional<? extends UPlainAttr> |
getPlainAttr(String plainSchema,
Membership<?> membership)
Returns the plain attribute for this instance, the given schema name and the given membership -
if found,
NULL otherwise. |
List<JPAJSONUPlainAttr> |
getPlainAttrList() |
List<? extends UPlainAttr> |
getPlainAttrs()
Returns the plain attributes for this instance.
|
String |
getPlainAttrsJSON() |
protected List<? extends UPlainAttr> |
internalGetPlainAttrs() |
boolean |
remove(UMembership membership) |
boolean |
remove(UPlainAttr attr) |
void |
setPlainAttrsJSON(String plainAttrs) |
add, add, add, add, add, canDecodeSecrets, checkToken, generateToken, getAuxClasses, getChangePwdDate, getCipherAlgorithm, getFailedLogins, getLastLoginDate, getMemberships, getPassword, getPasswordHistory, getRelationship, getRelationships, getResources, getRoles, getSecurityAnswer, getSecurityQuestion, getStatus, getToken, getTokenExpireTime, getType, getUsername, hasTokenExpired, isMustChangePassword, isSuspended, removeToken, setChangePwdDate, setCipherAlgorithm, setEncodedPassword, setFailedLogins, setLastLoginDate, setMustChangePassword, setPassword, setSecurityAnswer, setSecurityQuestion, setStatus, setSuspended, setType, setUsername
getMembership, getPlainAttrs, getPlainAttrs, getRelationships, getRelationships
getRealm, setRealm
getCreationDate, getCreator, getLastChangeDate, getLastModifier, setCreationDate, setCreator, setLastChangeDate, setLastModifier
getKey, setKey
checkImplementationType, checkType, equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, checkToken, generateToken, getChangePwdDate, getFailedLogins, getLastLoginDate, getPasswordHistory, getRoles, getSecurityAnswer, getSecurityQuestion, getToken, getTokenExpireTime, hasTokenExpired, isMustChangePassword, removeToken, setChangePwdDate, setFailedLogins, setLastLoginDate, setMustChangePassword, setSecurityAnswer, setSecurityQuestion
canDecodeSecrets, getCipherAlgorithm, getPassword, getUsername, isSuspended, setCipherAlgorithm, setEncodedPassword, setPassword, setSuspended, setUsername
add, add, getMembership, getMemberships, getPlainAttrs, getPlainAttrs, getRelationship, getRelationships, getRelationships, getRelationships
add, add, getAuxClasses, getRealm, getResources, getStatus, getType, setRealm, setStatus, setType
getCreationDate, getCreator, getLastChangeDate, getLastModifier, setCreationDate, setCreator, setLastChangeDate, setLastModifier
public String getPlainAttrsJSON()
getPlainAttrsJSON
in interface JSONAttributable<User>
public void setPlainAttrsJSON(String plainAttrs)
setPlainAttrsJSON
in interface JSONAttributable<User>
public List<JPAJSONUPlainAttr> getPlainAttrList()
getPlainAttrList
in interface JSONAttributable<User>
public boolean add(JSONPlainAttr<User> attr)
add
in interface JSONAttributable<User>
public boolean add(UPlainAttr attr)
add
in interface Attributable<UPlainAttr>
add
in class JPAUser
public boolean remove(UPlainAttr attr)
remove
in interface Attributable<UPlainAttr>
remove
in class AbstractGroupableRelatable<User,UMembership,UPlainAttr,AnyObject,URelationship>
protected List<? extends UPlainAttr> internalGetPlainAttrs()
internalGetPlainAttrs
in class JPAUser
public List<? extends UPlainAttr> getPlainAttrs()
Attributable
getPlainAttrs
in interface Attributable<UPlainAttr>
getPlainAttrs
in class AbstractGroupableRelatable<User,UMembership,UPlainAttr,AnyObject,URelationship>
public Optional<? extends UPlainAttr> getPlainAttr(String plainSchema)
Attributable
getPlainAttr
in interface Attributable<UPlainAttr>
getPlainAttr
in class AbstractGroupableRelatable<User,UMembership,UPlainAttr,AnyObject,URelationship>
plainSchema
- plain schema namepublic Optional<? extends UPlainAttr> getPlainAttr(String plainSchema, Membership<?> membership)
GroupableRelatable
NULL
otherwise.getPlainAttr
in interface GroupableRelatable<User,UMembership,UPlainAttr,AnyObject,URelationship>
getPlainAttr
in class AbstractGroupableRelatable<User,UMembership,UPlainAttr,AnyObject,URelationship>
plainSchema
- plain schema namemembership
- membershippublic boolean remove(UMembership membership)
remove
in interface GroupableRelatable<User,UMembership,UPlainAttr,AnyObject,URelationship>
remove
in class JPAUser
public boolean add(LinkedAccount account)
public Optional<? extends LinkedAccount> getLinkedAccount(String resource, String connObjectKeyValue)
getLinkedAccount
in interface User
getLinkedAccount
in class JPAUser
public List<? extends LinkedAccount> getLinkedAccounts(String resource)
getLinkedAccounts
in interface User
getLinkedAccounts
in class JPAUser
public List<? extends LinkedAccount> getLinkedAccounts()
getLinkedAccounts
in interface User
getLinkedAccounts
in class JPAUser
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.