Interface ImportInfo
- All Superinterfaces:
Serializable
This interface provides information about a packagepool
An instance of this interface will be available in the
subscription
update.An instance of this interface will be available in the
session
of a workflow mapped with IMPORT_INFO_KEY
.- Since:
- 3.1.165
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetConflictNode
(int index) Returns the conflicted node at the specified index.
CallsetUserService(de.espirit.firstspirit.access.UserService)
with your localuserservice
before calling this method.int
Returns the count of nodes which caused conflicts during belonging package import.int
Returns theversion
of thepackage version
which had been imported.Returns thetag
of thepackage version
which had been imported.getNewNode
(int index) Returns the added node at the specified index.
CallsetUserService(de.espirit.firstspirit.access.UserService)
with your localuserservice
before calling this method.int
Returns the count of nodes which were added during belonging package import.Returns the name of thepackage
which had been imported.getRemovedNode
(int index) Returns the removed node at the specified index.
CallsetUserService(de.espirit.firstspirit.access.UserService)
with your localuserservice
before calling this method.int
Returns the count of nodes which were removed during belonging package import.long
getUpdatedNode
(int index) Returns the updated node at the specified index.
CallsetUserService(de.espirit.firstspirit.access.UserService)
with your localuserservice
before calling this method.int
Returns the count of nodes which were updated during belonging package import.void
setUserService
(UserService value) Sets the userservice which will be used to load underlying nodes.
-
Field Details
-
IMPORT_INFO_KEY
- Since:
- 4.2.30
- See Also:
-
-
Method Details
-
setUserService
Sets the userservice which will be used to load underlying nodes.- Since:
- 3.1.165
- See Also:
-
getPackageName
String getPackageName()Returns the name of thepackage
which had been imported.- Returns:
- the name of the belonging package
- Since:
- 4.2.30
-
getSubscriber
String getSubscriber()- Returns:
- the name of the subscriber project.
- Since:
- 4.2.30
- See Also:
-
getSubscriberId
long getSubscriberId()- Returns:
- the id of the subscriber project.
- Since:
- 4.2.30
- See Also:
-
getImportVersionTag
String getImportVersionTag()Returns thetag
of thepackage version
which had been imported.- Returns:
- the tag of the imported package version
- Since:
- 4.2.30
-
getImportVersion
int getImportVersion()Returns theversion
of thepackage version
which had been imported.- Returns:
- the version of the imported package version
- Since:
- 4.2.30
-
getNewNodeCount
int getNewNodeCount()Returns the count of nodes which were added during belonging package import.- Since:
- 3.1.165
- See Also:
-
getNewNode
Returns the added node at the specified index.
CallsetUserService(de.espirit.firstspirit.access.UserService)
with your localuserservice
before calling this method.- Throws:
IllegalStateException
- if no userservice is set- Since:
- 3.1.165
- See Also:
-
getUpdatedNodeCount
int getUpdatedNodeCount()Returns the count of nodes which were updated during belonging package import.- Since:
- 3.1.165
- See Also:
-
getUpdatedNode
Returns the updated node at the specified index.
CallsetUserService(de.espirit.firstspirit.access.UserService)
with your localuserservice
before calling this method.- Throws:
IllegalStateException
- if no userservice is set- Since:
- 3.1.165
- See Also:
-
getConflictNodeCount
int getConflictNodeCount()Returns the count of nodes which caused conflicts during belonging package import.- Since:
- 3.1.165
- See Also:
-
getConflictNode
Returns the conflicted node at the specified index.
CallsetUserService(de.espirit.firstspirit.access.UserService)
with your localuserservice
before calling this method.- Throws:
IllegalStateException
- if no userservice is set- Since:
- 3.1.165
- See Also:
-
getRemovedNodeCount
int getRemovedNodeCount()Returns the count of nodes which were removed during belonging package import.- Since:
- 3.1.165
- See Also:
-
getRemovedNode
Returns the removed node at the specified index.
CallsetUserService(de.espirit.firstspirit.access.UserService)
with your localuserservice
before calling this method.- Throws:
IllegalStateException
- if no userservice is set- Since:
- 3.1.165
- See Also:
-