Interface Manageable
-
- All Known Subinterfaces:
Cloneable,Deletable,ManageableWithId,Refreshable,Updatable,Versioned
public interface ManageableA manageable entity that can be detached from the session thereafter, cannot be managed through the entity.- Author:
- Shashank Sharma
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voiddetach()Detach an entity from the managed session thereby making all the proxied implementations obsoletedefault EntityInformation<? extends Manageable>getEntityInformation()Get Entity Informationdefault booleanisManaged()Check if the current entity is in a managed session
-
-
-
Method Detail
-
isManaged
default boolean isManaged()
Check if the current entity is in a managed session- Returns:
- true if managed, false otherwise
-
detach
default void detach()
Detach an entity from the managed session thereby making all the proxied implementations obsolete
-
getEntityInformation
default EntityInformation<? extends Manageable> getEntityInformation()
Get Entity Information- Returns:
-
-