Class JPADelegation
- 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.JPADelegation
-
- All Implemented Interfaces:
Serializable
,Delegation
,Entity
@Entity @DelegationCheck public class JPADelegation extends AbstractGeneratedKeyEntity implements Delegation
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description 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 JPADelegation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(Role role)
User
getDelegated()
User
getDelegating()
OffsetDateTime
getEnd()
Set<? extends Role>
getRoles()
OffsetDateTime
getStart()
void
setDelegated(User delegated)
void
setDelegating(User delegating)
void
setEnd(OffsetDateTime end)
void
setStart(OffsetDateTime start)
-
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
-
getDelegating
public User getDelegating()
- Specified by:
getDelegating
in interfaceDelegation
-
setDelegating
public void setDelegating(User delegating)
- Specified by:
setDelegating
in interfaceDelegation
-
getDelegated
public User getDelegated()
- Specified by:
getDelegated
in interfaceDelegation
-
setDelegated
public void setDelegated(User delegated)
- Specified by:
setDelegated
in interfaceDelegation
-
getStart
public OffsetDateTime getStart()
- Specified by:
getStart
in interfaceDelegation
-
setStart
public void setStart(OffsetDateTime start)
- Specified by:
setStart
in interfaceDelegation
-
getEnd
public OffsetDateTime getEnd()
- Specified by:
getEnd
in interfaceDelegation
-
setEnd
public void setEnd(OffsetDateTime end)
- Specified by:
setEnd
in interfaceDelegation
-
add
public boolean add(Role role)
- Specified by:
add
in interfaceDelegation
-
getRoles
public Set<? extends Role> getRoles()
- Specified by:
getRoles
in interfaceDelegation
-
-