Class DeletingLinkedAccount

  • All Implemented Interfaces:
    Serializable, org.apache.syncope.core.persistence.api.entity.Attributable<org.apache.syncope.core.persistence.api.entity.user.LAPlainAttr>, org.apache.syncope.core.persistence.api.entity.Entity, org.apache.syncope.core.persistence.api.entity.user.Account, org.apache.syncope.core.persistence.api.entity.user.LinkedAccount

    public class DeletingLinkedAccount
    extends Object
    implements org.apache.syncope.core.persistence.api.entity.user.LinkedAccount
    See Also:
    Serialized Form
    • Constructor Detail

      • DeletingLinkedAccount

        public DeletingLinkedAccount​(org.apache.syncope.core.persistence.api.entity.user.User user,
                                     org.apache.syncope.core.persistence.api.entity.ExternalResource resource,
                                     String connObjectKeyValue)
    • Method Detail

      • getKey

        public String getKey()
        Specified by:
        getKey in interface org.apache.syncope.core.persistence.api.entity.Entity
      • getConnObjectKeyValue

        public String getConnObjectKeyValue()
        Specified by:
        getConnObjectKeyValue in interface org.apache.syncope.core.persistence.api.entity.user.LinkedAccount
      • setConnObjectKeyValue

        public void setConnObjectKeyValue​(String connObjectKeyValue)
        Specified by:
        setConnObjectKeyValue in interface org.apache.syncope.core.persistence.api.entity.user.LinkedAccount
      • getOwner

        public org.apache.syncope.core.persistence.api.entity.user.User getOwner()
        Specified by:
        getOwner in interface org.apache.syncope.core.persistence.api.entity.user.LinkedAccount
      • setOwner

        public void setOwner​(org.apache.syncope.core.persistence.api.entity.user.User owner)
        Specified by:
        setOwner in interface org.apache.syncope.core.persistence.api.entity.user.LinkedAccount
      • getResource

        public org.apache.syncope.core.persistence.api.entity.ExternalResource getResource()
        Specified by:
        getResource in interface org.apache.syncope.core.persistence.api.entity.user.LinkedAccount
      • setResource

        public void setResource​(org.apache.syncope.core.persistence.api.entity.ExternalResource resource)
        Specified by:
        setResource in interface org.apache.syncope.core.persistence.api.entity.user.LinkedAccount
      • add

        public boolean add​(org.apache.syncope.core.persistence.api.entity.Privilege privilege)
        Specified by:
        add in interface org.apache.syncope.core.persistence.api.entity.user.LinkedAccount
      • getPrivileges

        public Set<? extends org.apache.syncope.core.persistence.api.entity.Privilege> getPrivileges()
        Specified by:
        getPrivileges in interface org.apache.syncope.core.persistence.api.entity.user.LinkedAccount
      • getUsername

        public String getUsername()
        Specified by:
        getUsername in interface org.apache.syncope.core.persistence.api.entity.user.Account
      • setUsername

        public void setUsername​(String username)
        Specified by:
        setUsername in interface org.apache.syncope.core.persistence.api.entity.user.Account
      • getCipherAlgorithm

        public org.apache.syncope.common.lib.types.CipherAlgorithm getCipherAlgorithm()
        Specified by:
        getCipherAlgorithm in interface org.apache.syncope.core.persistence.api.entity.user.Account
      • setCipherAlgorithm

        public void setCipherAlgorithm​(org.apache.syncope.common.lib.types.CipherAlgorithm cipherAlgorithm)
        Specified by:
        setCipherAlgorithm in interface org.apache.syncope.core.persistence.api.entity.user.Account
      • canDecodeSecrets

        public boolean canDecodeSecrets()
        Specified by:
        canDecodeSecrets in interface org.apache.syncope.core.persistence.api.entity.user.Account
      • getPassword

        public String getPassword()
        Specified by:
        getPassword in interface org.apache.syncope.core.persistence.api.entity.user.Account
      • setEncodedPassword

        public void setEncodedPassword​(String password,
                                       org.apache.syncope.common.lib.types.CipherAlgorithm cipherAlgoritm)
        Specified by:
        setEncodedPassword in interface org.apache.syncope.core.persistence.api.entity.user.Account
      • setPassword

        public void setPassword​(String password)
        Specified by:
        setPassword in interface org.apache.syncope.core.persistence.api.entity.user.Account
      • isSuspended

        public Boolean isSuspended()
        Specified by:
        isSuspended in interface org.apache.syncope.core.persistence.api.entity.user.Account
      • setSuspended

        public void setSuspended​(Boolean suspended)
        Specified by:
        setSuspended in interface org.apache.syncope.core.persistence.api.entity.user.Account
      • add

        public boolean add​(org.apache.syncope.core.persistence.api.entity.user.LAPlainAttr attr)
        Specified by:
        add in interface org.apache.syncope.core.persistence.api.entity.Attributable<org.apache.syncope.core.persistence.api.entity.user.LAPlainAttr>
      • remove

        public boolean remove​(org.apache.syncope.core.persistence.api.entity.user.LAPlainAttr attr)
        Specified by:
        remove in interface org.apache.syncope.core.persistence.api.entity.Attributable<org.apache.syncope.core.persistence.api.entity.user.LAPlainAttr>
      • getPlainAttr

        public Optional<? extends org.apache.syncope.core.persistence.api.entity.user.LAPlainAttr> getPlainAttr​(String plainSchema)
        Specified by:
        getPlainAttr in interface org.apache.syncope.core.persistence.api.entity.Attributable<org.apache.syncope.core.persistence.api.entity.user.LAPlainAttr>
      • getPlainAttrs

        public List<? extends org.apache.syncope.core.persistence.api.entity.user.LAPlainAttr> getPlainAttrs()
        Specified by:
        getPlainAttrs in interface org.apache.syncope.core.persistence.api.entity.Attributable<org.apache.syncope.core.persistence.api.entity.user.LAPlainAttr>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object