Uses of Class
com.abstratt.kirra.Instance
-
-
Uses of Instance in com.abstratt.kirra
Fields in com.abstratt.kirra with type parameters of type Instance Modifier and Type Field Description protected Map<String,Instance>
Instance. links
Methods in com.abstratt.kirra that return Instance Modifier and Type Method Description Instance
InstanceManagement. createInstance(Instance instance)
Persists a transient instance.default Instance
InstanceManagement. createUser(Instance userInfo)
Instance
AuthenticationManagement. getCurrentUser()
Instance
InstanceManagement. getCurrentUser()
Returns an instance describing the currently logged-in user/profile.default Instance
InstanceManagement. getInstance(InstanceRef ref)
Obtains the instance corresponding to the given reference.default Instance
InstanceManagement. getInstance(InstanceRef ref, InstanceManagement.DataProfile dataProfile)
Loads the instance corresponding to the given reference using the given data profile.default Instance
InstanceManagement. getInstance(String namespace, String name, String externalId)
default Instance
InstanceManagement. getInstance(String namespace, String name, String externalId, boolean full)
Instance
InstanceManagement. getInstance(String namespace, String name, String externalId, InstanceManagement.DataProfile dataProfile)
Loads an instance with the given identifier.Instance
Instance. getRelated(String propertyName)
Instance
Instance. getSingleRelated(String reference)
Instance
InstanceManagement. newInstance(String namespace, String name)
Creates a transient instance of the given type.Instance
InstanceManagement. updateInstance(Instance instance)
Updates a persistent instance.Methods in com.abstratt.kirra that return types with arguments of type Instance Modifier and Type Method Description default InstanceManagement.Page<Instance>
InstanceManagement. filterInstances(InstanceManagement.PageRequest pageRequest, Map<String,List<Object>> criteria, String namespace, String name)
default List<Instance>
InstanceManagement. filterInstances(Map<String,List<Object>> criteria, String namespace, String name, boolean full)
default List<Instance>
InstanceManagement. filterInstances(Map<String,List<Object>> criteria, String namespace, String name, InstanceManagement.DataProfile dataProfile)
default List<Instance>
InstanceManagement. filterInstances(Map<String,List<Object>> criteria, String namespace, String name, InstanceManagement.DataProfile dataProfile, boolean includeSubclasses)
default List<Instance>
InstanceManagement. getCurrentUserRoles()
Returns a list of instances representing the user roles for the current user.default List<Instance>
InstanceManagement. getInstances(String namespace, String name, boolean full)
default List<Instance>
InstanceManagement. getInstances(String namespace, String name, boolean full, boolean includeSubclasses)
Loads all instances of the given entity type.default List<Instance>
InstanceManagement. getInstances(String namespace, String name, InstanceManagement.DataProfile dataProfile)
default List<Instance>
InstanceManagement. getInstances(String namespace, String name, InstanceManagement.DataProfile dataProfile, boolean includeSubclasses)
default List<Instance>
InstanceManagement. getInstances(String namespace, String name, InstanceManagement.PageRequest pageRequest)
Loads all instances of the given entity type.Map<String,Instance>
Instance. getLinks()
List<Instance>
InstanceManagement. getParameterDomain(Entity entity, String externalId, Operation action, Parameter parameter)
default List<Instance>
InstanceManagement. getRelatedInstances(Instance anchorInstance, String relationship, boolean full)
default List<Instance>
InstanceManagement. getRelatedInstances(String namespace, String name, String externalId, String relationship, boolean full)
List<Instance>
InstanceManagement. getRelatedInstances(String namespace, String name, String externalId, String relationship, InstanceManagement.DataProfile dataProfile)
List<Instance>
InstanceManagement. getRelationshipDomain(Entity entity, String objectId, Relationship relationship)
Methods in com.abstratt.kirra with parameters of type Instance Modifier and Type Method Description Instance
InstanceManagement. createInstance(Instance instance)
Persists a transient instance.default Instance
InstanceManagement. createUser(Instance userInfo)
default void
InstanceManagement. deleteInstance(Instance instance)
Destroys an instance, persisted or not.default List<Instance>
InstanceManagement. getRelatedInstances(Instance anchorInstance, String relationship, boolean full)
void
Instance. setRelated(String propertyName, Instance toLink)
void
Instance. setSingleRelated(String propertyName, Instance toLink)
Instance
InstanceManagement. updateInstance(Instance instance)
Updates a persistent instance.void
InstanceManagement. validateInstance(Instance toValidate)
Validates the given instance without saving it.Method parameters in com.abstratt.kirra with type arguments of type Instance Modifier and Type Method Description void
Instance. setLinks(Map<String,Instance> links)
-