Class GroupMirroringServiceV9
java.lang.Object
sk.iway.iwcm.components.structuremirroring.GroupMirroringServiceV9
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<GroupDetails>getDeletedGroupsBySyncId(int syncId, int skipGroupId) Returns group detail objects based on the provided syncId that ARE IN TRASH (so they are soft deleted).static List<GroupDetails>getGroupsBySyncId(int syncId, int skipGroupId) Returns group detail objects based on the provided syncId.static List<GroupDetails>getGroupsBySyncId(int syncId, int skipGroupId, boolean onlyDeleted) Returns group detail objects based on the provided syncId.static StringgetLanguage(GroupDetails group) static intgetSyncId(int groupId) voidhandleGroupSave(GroupDetails group, WebjetEventType type, Identity currentUser)
-
Constructor Details
-
GroupMirroringServiceV9
public GroupMirroringServiceV9()
-
-
Method Details
-
handleGroupSave
-
getGroupsBySyncId
Returns group detail objects based on the provided syncId. If a non-zero skipGroupId is specified, the given directory will be excluded from the result list.- Parameters:
syncId- - identifier used to retrieve group detailsskipGroupId- - if > 0, the specified directory will not be included in the list- Returns:
- list of group detail objects
-
getDeletedGroupsBySyncId
Returns group detail objects based on the provided syncId that ARE IN TRASH (so they are soft deleted). If a non-zero skipGroupId is specified, the given directory will be excluded from the result list.- Parameters:
syncId- identifier used to retrieve group detailsskipGroupId- if > 0, the specified directory will be excluded from the result list- Returns:
- list of group detail objects
-
getGroupsBySyncId
public static List<GroupDetails> getGroupsBySyncId(int syncId, int skipGroupId, boolean onlyDeleted) Returns group detail objects based on the provided syncId. If a non-zero skipGroupId is specified, the given directory will be excluded from the result list.- Parameters:
syncId- - identifier used to retrieve group detailsskipGroupId- - if > 0, the specified directory will not be included in the listonlyDeleted- - if true, only groups that are in trash (soft deleted) will be returned- Returns:
- list of group detail objects
-
getLanguage
-
getSyncId
public static int getSyncId(int groupId)
-