Uses of Interface
org.nuclos.api.businessobject.BusinessObject
Package
Description
-
Uses of BusinessObject in org.nuclos.api.businessobject
Modifier and TypeInterfaceDescriptioninterface
Query<T extends BusinessObject>
Query bases on aBusinessObject
Modifier and TypeMethodDescription<P extends BusinessObject>
Query<T>Query.exist
(Query<P> subQuery, ForeignKeyAttribute element) Combining the query with a subquery.<P extends BusinessObject>
Query<T>Query.exist
(Query<P> subQuery, ForeignKeyAttribute elementMainQuery, ForeignKeyAttribute elementSubQuery) Combining the query with a subquery.static <PK,
T extends BusinessObject<PK>>
TBusinessObject.get
(PK id) Returns the bo by id. -
Uses of BusinessObject in org.nuclos.api.businessobject.facade
Modifier and TypeInterfaceDescriptioninterface
Lockable<PK>
Lockable is the interface aBusinessObject
must implement to be used for locking.interface
LogicalDeletable<PK>
LogicalDeletable is the interface aBusinessObject
must implement to be deleted logically via org.nuclos.api.provider.BusinessObjectProvider .interface
Modifiable<PK>
Modifiable is the interface aBusinessObject
must implement to be used in modifying rules,UpdateRule
,InsertRule
,UpdateFinalRule
,InsertFinalRule
-
Uses of BusinessObject in org.nuclos.api.common
-
Uses of BusinessObject in org.nuclos.api.context
Modifier and TypeMethodDescription<T extends BusinessObject>
TCustomContext.getBusinessObject
(Class<T> t) This method returns theBusinessObject
containing the entry-data.<T extends BusinessObject>
TDeleteContext.getBusinessObject
(Class<T> t) This method returns theBusinessObject
containing the entry-data that has to be deleted.<T extends BusinessObject>
TInsertContext.getBusinessObject
(Class<T> t) This method returns theBusinessObject
containing the entry-data that has to be saved.<T extends BusinessObject>
TPrintContext.getBusinessObject
(Class<T> t) returnsBusinessObject
is not persisted automatically<T extends BusinessObject>
TPrintFinalContext.getBusinessObject
(Class<T> t) returnsBusinessObject
is not persisted automatically<T extends BusinessObject>
TUpdateContext.getBusinessObject
(Class<T> t) This method returns theBusinessObject
containing the entry-data that has been changed during runtime.<T extends BusinessObject>
TGenerateContext.getSourceObject
(Class<T> t) This method returns aBusinessObject
that represents the source; if there is more than one SourceObject a BusinessException will be thrown; In this case use getSourceObjects(Class<T> t) instead<T extends BusinessObject>
Collection<T>GenerateContext.getSourceObjects
(Class<T> t) This method returns a list ofBusinessObject
that represent the Sources<T extends BusinessObject>
TGenerateContext.getTargetObject
(Class<T> t) This method returns aBusinessObject
that represent the TargetModifier and TypeMethodDescriptionGenerateContext.getParameterObject()
This method returns the ParameterObjectModifier and TypeMethodDescriptionstatic void
MessageContext.navigate
(BusinessObject<?> businessObject) static void
MessageContext.navigate
(BusinessObject<?> businessObject, boolean newTab) static void
MessageContext.navigate
(BusinessObject<?> businessObject, UID searchFilterUid) static void
MessageContext.navigate
(BusinessObject<?> businessObject, UID searchFilterUid, boolean newTab) void
GenerateContext.notify
(String message, BusinessObject source) Creates a message with aPriority
.void
GenerateContext.notify
(String message, Priority prio, BusinessObject source) Creates a message with aPriority
. -
Uses of BusinessObject in org.nuclos.api.context.communication
Modifier and TypeMethodDescription<T extends BusinessObject<?>>
TPhoneCallRequestContext.getBusinessObject
(Class<T> t) <T extends BusinessObject<?>>
voidPhoneCallRequestContext.setBusinessObject
(T businessObject) -
Uses of BusinessObject in org.nuclos.api.generation
Modifier and TypeInterfaceDescriptioninterface
Generation<S extends BusinessObject,
T extends BusinessObject> Generation
is the main interface of all Nuclos generations.interface
Generation<S extends BusinessObject,
T extends BusinessObject> Generation
is the main interface of all Nuclos generations. -
Uses of BusinessObject in org.nuclos.api.provider
Modifier and TypeMethodDescriptionstatic <PK,
T extends BusinessObject<PK>>
URLWebclientProvider.buildBusinessObjectUrl
(Class<T> boClass) static <PK,
T extends BusinessObject<PK>>
URLWebclientProvider.buildBusinessObjectUrl
(Class<T> boClass, PK boId) static <T extends BusinessObject>
URLWebclientProvider.buildBusinessObjectUrl
(T bo) static <PK,
T extends BusinessObject<PK>>
Query<T>This methods returns an instance ofQuery
that is type-specific to the class given as parameter.static <T extends BusinessObject>
voidBusinessObjectProvider.delete
(T type) Deprecated.static <T extends BusinessObject>
voidBusinessObjectProvider.deleteAll
(Collection<T> type) This method deletes all BusinessObjects of then given collection from the database.static <S extends BusinessObject,
T extends BusinessObject>
List<T>GenerationProvider.execute
(List<S> s, Class<? extends Generation<S, T>> genClass) Using the source objects this method runs the given generation and returns the new created target objects.static <S extends BusinessObject,
T extends BusinessObject>
List<T>GenerationProvider.execute
(List<S> s, Class<? extends Generation<S, T>> genClass) Using the source objects this method runs the given generation and returns the new created target objects.static <S extends BusinessObject,
T extends BusinessObject>
TGenerationProvider.execute
(S s, Class<? extends Generation<S, T>> genClass) Using the source object this method runs the given generation and returns the new created target object.static <S extends BusinessObject,
T extends BusinessObject>
TGenerationProvider.execute
(S s, Class<? extends Generation<S, T>> genClass) Using the source object this method runs the given generation and returns the new created target object.static <PK,
T extends BusinessObject<PK>>
List<T>This methods executes aQuery
and returns a list of foundBusinessObject
of the type determined by theQuery
type.static <PK,
T extends BusinessObject<PK>>
TQueryProvider.executeSingleResult
(Query<T> query, Attribute<?>... attributes) This methods executes aQuery
and returns a single resultBusinessObject
of the type determined by theQuery
type.static <PK,
T extends BusinessObject<PK>>
TDeprecated.static <PK,
T extends Stateful & BusinessObject<PK>>
List<T>QueryProvider.getByProcess
(Process<T> process, Process<T>... additionalProcesses) This method returns allBusinessObject
s that contain one of the given processes;
AProcess
is always assigned to one entity, so the type of the BusinessObject does not have to be mentioned explicitly;
There must be at least one processstatic <PK,
T extends Stateful & BusinessObject<PK>>
List<T>QueryProvider.getByState
(Class<T> type, State state, State... additionalStates) This method returns allBusinessObject
s that contain one of the given states;
AState
is always assigned to one statemodel, that can be used by several entities.static <PK,
T extends BusinessObject<PK>>
PKBusinessObjectProvider.insert
(T type) Deprecated.static <PK,
T extends BusinessObject<PK>>
Collection<PK>BusinessObjectProvider.insertAll
(Collection<T> type) This method receives a collection of new BusinessObjects and stores them in the database.static <T extends BusinessObject>
voidDeprecated.static <T extends BusinessObject>
voidBusinessObjectProvider.updateAll
(Collection<T> type) This method updates all BusinessObjects in the given collection. -
Uses of BusinessObject in org.nuclos.api.rule
Modifier and TypeMethodDescription<PK> List<? extends BusinessObject<PK>>
CollectiveProcessingProxy.getForCollectiveProcessing
(ForeignKeyAttribute<PK> attribute, Collection<PK> ids) -
Uses of BusinessObject in org.nuclos.api.service
Modifier and TypeMethodDescription<PK,
T extends BusinessObject<PK>>
Query<T>QueryService.createQuery
(Class<T> type) <T extends BusinessObject>
voidBusinessObjectService.delete
(T type) <T extends BusinessObject>
voidBusinessObjectService.deleteAll
(Collection<T> type) <S extends BusinessObject,
T extends BusinessObject>
List<T>GenerationService.execute
(List<S> s, Class<? extends Generation<S, T>> genClass) <S extends BusinessObject,
T extends BusinessObject>
List<T>GenerationService.execute
(List<S> s, Class<? extends Generation<S, T>> genClass) <S extends BusinessObject,
T extends BusinessObject>
TGenerationService.execute
(S s, Class<? extends Generation<S, T>> genClass) <S extends BusinessObject,
T extends BusinessObject>
TGenerationService.execute
(S s, Class<? extends Generation<S, T>> genClass) <PK,
T extends BusinessObject<PK>>
List<T>QueryService.executeQuery
(Query<T> query, Attribute<?>... attributes) <PK,
T extends BusinessObject<PK>>
TQueryService.executeQuerySingleResult
(Query<T> query, Attribute<?>... attributes) <PK,
T extends BusinessObject<PK>>
T<PK,
T extends Stateful & BusinessObject<PK>>
List<T>QueryService.getByProcess
(Process<T> process, Process<T>... additionalProcesses) <PK,
T extends Stateful & BusinessObject<PK>>
List<T>QueryService.getByState
(Class<T> type, State state, State... additionalStates) <PK,
T extends BusinessObject<PK>>
PKBusinessObjectService.insert
(T type) <PK,
T extends BusinessObject<PK>>
Collection<PK>BusinessObjectService.insertAll
(Collection<T> type) <T extends BusinessObject>
void<T extends BusinessObject>
voidBusinessObjectService.updateAll
(Collection<T> type) -
Uses of BusinessObject in org.nuclos.api.webclient
Modifier and TypeMethodDescription<PK,
T extends BusinessObject<PK>>
WebclientUrl.BuilderWebclientUrl.Builder.withBusinessObject
(Class<T> boClass) <PK,
T extends BusinessObject<PK>>
WebclientUrl.BuilderWebclientUrl.Builder.withBusinessObject
(Class<T> boClass, PK boId) <T extends BusinessObject>
WebclientUrl.BuilderWebclientUrl.Builder.withBusinessObject
(T bo)
Modifiable.delete()
or UseModifiable.delete(Object)