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 booleanadd(JSONPlainAttr<User> attr)booleanadd(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.StringgetPlainAttrsJSON()booleanremove(LAPlainAttr attr)voidsetPlainAttrsJSON(String plainAttrs)-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.user.JPALinkedAccount
add, canDecodeSecrets, encode, 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:
getPlainAttrsJSONin interfaceJSONAttributable<User>
-
setPlainAttrsJSON
public void setPlainAttrsJSON(String plainAttrs)
- Specified by:
setPlainAttrsJSONin interfaceJSONAttributable<User>
-
getPlainAttrList
public List<JPAJSONLAPlainAttr> getPlainAttrList()
- Specified by:
getPlainAttrListin interfaceJSONAttributable<User>
-
add
public boolean add(JSONPlainAttr<User> attr)
- Specified by:
addin interfaceJSONAttributable<User>
-
add
public boolean add(LAPlainAttr attr)
- Specified by:
addin interfaceAttributable<LAPlainAttr>- Overrides:
addin classJPALinkedAccount
-
remove
public boolean remove(LAPlainAttr attr)
- Specified by:
removein interfaceAttributable<LAPlainAttr>- Overrides:
removein classJPALinkedAccount
-
getPlainAttrs
public List<? extends LAPlainAttr> getPlainAttrs()
Description copied from interface:AttributableReturns the plain attributes for this instance.- Specified by:
getPlainAttrsin interfaceAttributable<LAPlainAttr>- Overrides:
getPlainAttrsin classJPALinkedAccount- Returns:
- plain attribute for this instance
-
getPlainAttr
public Optional<? extends LAPlainAttr> getPlainAttr(String plainSchema)
Description copied from interface:AttributableReturns the plain attribute for this instance and the given schema name.s- Specified by:
getPlainAttrin interfaceAttributable<LAPlainAttr>- Overrides:
getPlainAttrin classJPALinkedAccount- Parameters:
plainSchema- plain schema name- Returns:
- plain attribute for this instance and the given schema name
-
-