Class JPALinkedAccount
- 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
-
- All Implemented Interfaces:
Serializable,Attributable<LAPlainAttr>,Entity,Account,LinkedAccount
- Direct Known Subclasses:
JPAJSONLinkedAccount
@Entity public class JPALinkedAccount extends AbstractGeneratedKeyEntity implements LinkedAccount
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringTABLE-
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 JPALinkedAccount()
-
Method Summary
-
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
-
-
-
-
Field Detail
-
TABLE
public static final String TABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getConnObjectKeyValue
public String getConnObjectKeyValue()
- Specified by:
getConnObjectKeyValuein interfaceLinkedAccount
-
setConnObjectKeyValue
public void setConnObjectKeyValue(String connObjectKeyValue)
- Specified by:
setConnObjectKeyValuein interfaceLinkedAccount
-
getOwner
public User getOwner()
- Specified by:
getOwnerin interfaceLinkedAccount
-
setOwner
public void setOwner(User owner)
- Specified by:
setOwnerin interfaceLinkedAccount
-
getResource
public ExternalResource getResource()
- Specified by:
getResourcein interfaceLinkedAccount
-
setResource
public void setResource(ExternalResource resource)
- Specified by:
setResourcein interfaceLinkedAccount
-
getUsername
public String getUsername()
- Specified by:
getUsernamein interfaceAccount
-
setUsername
public void setUsername(String username)
- Specified by:
setUsernamein interfaceAccount
-
getCipherAlgorithm
public CipherAlgorithm getCipherAlgorithm()
- Specified by:
getCipherAlgorithmin interfaceAccount
-
setCipherAlgorithm
public void setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
- Specified by:
setCipherAlgorithmin interfaceAccount
-
canDecodeSecrets
public boolean canDecodeSecrets()
- Specified by:
canDecodeSecretsin interfaceAccount
-
getPassword
public String getPassword()
- Specified by:
getPasswordin interfaceAccount
-
setEncodedPassword
public void setEncodedPassword(String password, CipherAlgorithm cipherAlgoritm)
- Specified by:
setEncodedPasswordin interfaceAccount
-
setPassword
public void setPassword(String password)
- Specified by:
setPasswordin interfaceAccount
-
setSuspended
public void setSuspended(Boolean suspended)
- Specified by:
setSuspendedin interfaceAccount
-
isSuspended
public Boolean isSuspended()
- Specified by:
isSuspendedin interfaceAccount
-
add
public boolean add(LAPlainAttr attr)
- Specified by:
addin interfaceAttributable<LAPlainAttr>
-
remove
public boolean remove(LAPlainAttr attr)
- Specified by:
removein interfaceAttributable<LAPlainAttr>
-
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>- Parameters:
plainSchema- plain schema name- Returns:
- plain attribute for this instance and the given schema name
-
getPlainAttrs
public List<? extends LAPlainAttr> getPlainAttrs()
Description copied from interface:AttributableReturns the plain attributes for this instance.- Specified by:
getPlainAttrsin interfaceAttributable<LAPlainAttr>- Returns:
- plain attribute for this instance
-
add
public boolean add(Privilege privilege)
- Specified by:
addin interfaceLinkedAccount
-
getPrivileges
public Set<? extends Privilege> getPrivileges()
- Specified by:
getPrivilegesin interfaceLinkedAccount
-
-