Class JPAApplication
- 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.JPAApplication
-
- All Implemented Interfaces:
Serializable
,Application
,Entity
,ProvidedKeyEntity
@Entity @ApplicationCheck public class JPAApplication extends AbstractProvidedKeyEntity implements Application
- 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 JPAApplication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(Privilege privilege)
String
getDescription()
Optional<? extends Privilege>
getPrivilege(String key)
List<? extends Privilege>
getPrivileges()
void
setDescription(String description)
-
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
-
-
Method Detail
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceApplication
-
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interfaceApplication
-
add
public boolean add(Privilege privilege)
- Specified by:
add
in interfaceApplication
-
getPrivilege
public Optional<? extends Privilege> getPrivilege(String key)
- Specified by:
getPrivilege
in interfaceApplication
-
getPrivileges
public List<? extends Privilege> getPrivileges()
- Specified by:
getPrivileges
in interfaceApplication
-
-