Class JPAJSONLinkedAccount
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
-
- org.apache.syncope.core.persistence.jpa.entity.user.JPALinkedAccount
-
- org.apache.syncope.core.persistence.jpa.entity.user.JPAJSONLinkedAccount
-
- All Implemented Interfaces:
Serializable
,Attributable<LAPlainAttr>
,Entity
,JSONAttributable<User>
,Account
,LinkedAccount
@Entity @JPAJSONAttributableCheck public class JPAJSONLinkedAccount extends JPALinkedAccount implements JSONAttributable<User>, LinkedAccount
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.entity.user.JPALinkedAccount
TABLE
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
LOG
-
Fields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
-
-
Constructor Summary
Constructors Constructor Description JPAJSONLinkedAccount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(JSONPlainAttr<User> attr)
boolean
add(LAPlainAttr attr)
Optional<? extends LAPlainAttr>
getPlainAttr(String plainSchema)
Returns the plain attribute for this instance and the given schema name.sList<JPAJSONLAPlainAttr>
getPlainAttrList()
List<? extends LAPlainAttr>
getPlainAttrs()
Returns the plain attributes for this instance.String
getPlainAttrsJSON()
boolean
remove(LAPlainAttr attr)
void
setPlainAttrsJSON(String plainAttrs)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.user.JPALinkedAccount
add, canDecodeSecrets, getCipherAlgorithm, getConnObjectKeyValue, getOwner, getPassword, getPrivileges, getResource, getUsername, isSuspended, setCipherAlgorithm, setConnObjectKeyValue, setEncodedPassword, setOwner, setPassword, setResource, setSuspended, setUsername
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
getKey, setKey
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
checkImplementationType, checkType, equals, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.syncope.core.persistence.api.entity.user.Account
canDecodeSecrets, getCipherAlgorithm, getPassword, getUsername, isSuspended, setCipherAlgorithm, setEncodedPassword, setPassword, setSuspended, setUsername
-
Methods inherited from interface org.apache.syncope.core.persistence.api.entity.user.LinkedAccount
add, getConnObjectKeyValue, getOwner, getPrivileges, getResource, setConnObjectKeyValue, setOwner, setResource
-
-
-
-
Method Detail
-
getPlainAttrsJSON
public String getPlainAttrsJSON()
- Specified by:
getPlainAttrsJSON
in interfaceJSONAttributable<User>
-
setPlainAttrsJSON
public void setPlainAttrsJSON(String plainAttrs)
- Specified by:
setPlainAttrsJSON
in interfaceJSONAttributable<User>
-
getPlainAttrList
public List<JPAJSONLAPlainAttr> getPlainAttrList()
- Specified by:
getPlainAttrList
in interfaceJSONAttributable<User>
-
add
public boolean add(JSONPlainAttr<User> attr)
- Specified by:
add
in interfaceJSONAttributable<User>
-
add
public boolean add(LAPlainAttr attr)
- Specified by:
add
in interfaceAttributable<LAPlainAttr>
- Overrides:
add
in classJPALinkedAccount
-
remove
public boolean remove(LAPlainAttr attr)
- Specified by:
remove
in interfaceAttributable<LAPlainAttr>
- Overrides:
remove
in classJPALinkedAccount
-
getPlainAttrs
public List<? extends LAPlainAttr> getPlainAttrs()
Description copied from interface:Attributable
Returns the plain attributes for this instance.- Specified by:
getPlainAttrs
in interfaceAttributable<LAPlainAttr>
- Overrides:
getPlainAttrs
in classJPALinkedAccount
- Returns:
- plain attribute for this instance
-
getPlainAttr
public Optional<? extends LAPlainAttr> getPlainAttr(String plainSchema)
Description copied from interface:Attributable
Returns the plain attribute for this instance and the given schema name.s- Specified by:
getPlainAttr
in interfaceAttributable<LAPlainAttr>
- Overrides:
getPlainAttr
in classJPALinkedAccount
- Parameters:
plainSchema
- plain schema name- Returns:
- plain attribute for this instance and the given schema name
-
-