Class JPAExternalResource
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractProvidedKeyEntity
-
- org.apache.syncope.core.persistence.jpa.entity.JPAExternalResource
-
- All Implemented Interfaces:
Serializable
,Entity
,ExternalResource
,ProvidedKeyEntity
@Entity @ExternalResourceCheck public class JPAExternalResource extends AbstractProvidedKeyEntity implements ExternalResource
Resource for propagation and pull.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static TypeReference<Set<ConnectorCapability>>
CAPABILITY_TYPEREF
protected static TypeReference<List<Provision>>
PROVISION_TYPEREF
static String
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 JPAExternalResource()
-
Method Summary
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractProvidedKeyEntity
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.ProvidedKeyEntity
setKey
-
-
-
-
Field Detail
-
TABLE
public static final String TABLE
- See Also:
- Constant Field Values
-
CAPABILITY_TYPEREF
protected static final TypeReference<Set<ConnectorCapability>> CAPABILITY_TYPEREF
-
PROVISION_TYPEREF
protected static final TypeReference<List<Provision>> PROVISION_TYPEREF
-
-
Method Detail
-
isEnforceMandatoryCondition
public boolean isEnforceMandatoryCondition()
- Specified by:
isEnforceMandatoryCondition
in interfaceExternalResource
-
setEnforceMandatoryCondition
public void setEnforceMandatoryCondition(boolean enforceMandatoryCondition)
- Specified by:
setEnforceMandatoryCondition
in interfaceExternalResource
-
getConnector
public ConnInstance getConnector()
- Specified by:
getConnector
in interfaceExternalResource
-
setConnector
public void setConnector(ConnInstance connector)
- Specified by:
setConnector
in interfaceExternalResource
-
getProvisionByAnyType
public Optional<Provision> getProvisionByAnyType(String anyType)
- Specified by:
getProvisionByAnyType
in interfaceExternalResource
-
getProvisionByObjectClass
public Optional<Provision> getProvisionByObjectClass(String objectClass)
- Specified by:
getProvisionByObjectClass
in interfaceExternalResource
-
getProvisions
public List<Provision> getProvisions()
- Specified by:
getProvisions
in interfaceExternalResource
-
getOrgUnit
public OrgUnit getOrgUnit()
- Specified by:
getOrgUnit
in interfaceExternalResource
-
setOrgUnit
public void setOrgUnit(OrgUnit orgUnit)
- Specified by:
setOrgUnit
in interfaceExternalResource
-
getPropagationPriority
public Integer getPropagationPriority()
- Specified by:
getPropagationPriority
in interfaceExternalResource
-
setPropagationPriority
public void setPropagationPriority(Integer propagationPriority)
- Specified by:
setPropagationPriority
in interfaceExternalResource
-
getCreateTraceLevel
public TraceLevel getCreateTraceLevel()
- Specified by:
getCreateTraceLevel
in interfaceExternalResource
-
setCreateTraceLevel
public void setCreateTraceLevel(TraceLevel createTraceLevel)
- Specified by:
setCreateTraceLevel
in interfaceExternalResource
-
getDeleteTraceLevel
public TraceLevel getDeleteTraceLevel()
- Specified by:
getDeleteTraceLevel
in interfaceExternalResource
-
setDeleteTraceLevel
public void setDeleteTraceLevel(TraceLevel deleteTraceLevel)
- Specified by:
setDeleteTraceLevel
in interfaceExternalResource
-
getUpdateTraceLevel
public TraceLevel getUpdateTraceLevel()
- Specified by:
getUpdateTraceLevel
in interfaceExternalResource
-
setUpdateTraceLevel
public void setUpdateTraceLevel(TraceLevel updateTraceLevel)
- Specified by:
setUpdateTraceLevel
in interfaceExternalResource
-
getProvisioningTraceLevel
public TraceLevel getProvisioningTraceLevel()
- Specified by:
getProvisioningTraceLevel
in interfaceExternalResource
-
setProvisioningTraceLevel
public void setProvisioningTraceLevel(TraceLevel provisioningTraceLevel)
- Specified by:
setProvisioningTraceLevel
in interfaceExternalResource
-
getAccountPolicy
public AccountPolicy getAccountPolicy()
- Specified by:
getAccountPolicy
in interfaceExternalResource
-
setAccountPolicy
public void setAccountPolicy(AccountPolicy accountPolicy)
- Specified by:
setAccountPolicy
in interfaceExternalResource
-
getPasswordPolicy
public PasswordPolicy getPasswordPolicy()
- Specified by:
getPasswordPolicy
in interfaceExternalResource
-
setPasswordPolicy
public void setPasswordPolicy(PasswordPolicy passwordPolicy)
- Specified by:
setPasswordPolicy
in interfaceExternalResource
-
getPropagationPolicy
public PropagationPolicy getPropagationPolicy()
- Specified by:
getPropagationPolicy
in interfaceExternalResource
-
setPropagationPolicy
public void setPropagationPolicy(PropagationPolicy propagationPolicy)
- Specified by:
setPropagationPolicy
in interfaceExternalResource
-
getPullPolicy
public PullPolicy getPullPolicy()
- Specified by:
getPullPolicy
in interfaceExternalResource
-
setPullPolicy
public void setPullPolicy(PullPolicy pullPolicy)
- Specified by:
setPullPolicy
in interfaceExternalResource
-
getPushPolicy
public PushPolicy getPushPolicy()
- Specified by:
getPushPolicy
in interfaceExternalResource
-
setPushPolicy
public void setPushPolicy(PushPolicy pushPolicy)
- Specified by:
setPushPolicy
in interfaceExternalResource
-
getProvisionSorter
public Implementation getProvisionSorter()
- Specified by:
getProvisionSorter
in interfaceExternalResource
-
setProvisionSorter
public void setProvisionSorter(Implementation provisionSorter)
- Specified by:
setProvisionSorter
in interfaceExternalResource
-
getConfOverride
public Set<ConnConfProperty> getConfOverride()
- Specified by:
getConfOverride
in interfaceExternalResource
-
setConfOverride
public void setConfOverride(Set<ConnConfProperty> confOverride)
- Specified by:
setConfOverride
in interfaceExternalResource
-
isOverrideCapabilities
public boolean isOverrideCapabilities()
- Specified by:
isOverrideCapabilities
in interfaceExternalResource
-
setOverrideCapabilities
public void setOverrideCapabilities(boolean overrideCapabilities)
- Specified by:
setOverrideCapabilities
in interfaceExternalResource
-
getCapabilitiesOverride
public Set<ConnectorCapability> getCapabilitiesOverride()
- Specified by:
getCapabilitiesOverride
in interfaceExternalResource
-
add
public boolean add(Implementation propagationAction)
- Specified by:
add
in interfaceExternalResource
-
getPropagationActions
public List<? extends Implementation> getPropagationActions()
- Specified by:
getPropagationActions
in interfaceExternalResource
-
json2list
protected void json2list(boolean clearFirst)
-
postLoad
public void postLoad()
-
postSave
public void postSave()
-
list2json
public void list2json()
-
-