Interface ItemAgent
public interface ItemAgent
Agent that handles item-related operations within Multisite Management.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription@NotNull TransportOperation
getTransportOperation
(@NotNull de.espirit.firstspirit.access.store.IDProvider idProvider) Creates a newTransportOperation
for the givenIDProvider
.boolean
isModified
(@NotNull de.espirit.firstspirit.access.store.IDProvider idProvider, @NotNull de.espirit.firstspirit.access.project.Project targetProject, @NotNull de.espirit.firstspirit.access.Language language) Checks if the givenIDProvider
was modified compared to the specified original project and its bundle deployment information.
-
Field Details
-
ITEM_AGENT
Identifier for theItemAgent
.- See Also:
-
-
Method Details
-
isModified
boolean isModified(@NotNull @NotNull de.espirit.firstspirit.access.store.IDProvider idProvider, @NotNull @NotNull de.espirit.firstspirit.access.project.Project targetProject, @NotNull @NotNull de.espirit.firstspirit.access.Language language) Checks if the givenIDProvider
was modified compared to the specified original project and its bundle deployment information.Will return
false
if the givenIDProvider
has not been deployed by any bundle in the specifiedProject
or if it does not exist.- Parameters:
idProvider
- theIDProvider
to check.targetProject
- theProject
to check against.language
- theLanguage
context for the operation.- Returns:
true
if the element has been modified;false
otherwise.
-
getTransportOperation
@NotNull @NotNull TransportOperation getTransportOperation(@NotNull @NotNull de.espirit.firstspirit.access.store.IDProvider idProvider) Creates a newTransportOperation
for the givenIDProvider
.- Parameters:
idProvider
- theIDProvider
on which theTransportOperation
is based.- Returns:
- a new
TransportOperation
.
-