Interface PmOrganizationService
- All Known Implementing Classes:
DefaultPmOrganizationService
Deprecated.
2208
Service responsible for handling
PmOrganizationModel related operations.- Since:
- 2108
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Creates an instance ofPmOrganizationModelfindOrganizationParties(PmOrganizationFilteringContextData pmOrganizationFilteringContext, Integer offset, Integer limit) Deprecated.Retrieves a list ofPmOrganizationModelfor a given filtering context.getNumberOfOrganizationParties(PmOrganizationFilteringContextData pmOrganizationFilteringContext) Deprecated.Retrieves the total number of organization parties found for a given filtering context.Deprecated.Returns the organization for the provided id.voidremoveOrganization(PmOrganizationModel organization) Deprecated.Removes the givenPmOrganizationModelvoidsaveOrganization(PmOrganizationModel organizationModel) Deprecated.Saves a givenPmOrganizationModel
-
Method Details
-
getOrganization
Deprecated.Returns the organization for the provided id.- Parameters:
id- The unique identifier of the organization- Returns:
- The
PmOrganizationModelfor the provided id
-
findOrganizationParties
List<PmOrganizationModel> findOrganizationParties(PmOrganizationFilteringContextData pmOrganizationFilteringContext, Integer offset, Integer limit) Deprecated.Retrieves a list ofPmOrganizationModelfor a given filtering context.- Parameters:
pmOrganizationFilteringContext- the organization party context.offset- the offset.limit- the maximum number of returned parties.- Returns:
- the list of organization parties found for the given context.
-
getNumberOfOrganizationParties
Integer getNumberOfOrganizationParties(PmOrganizationFilteringContextData pmOrganizationFilteringContext) Deprecated.Retrieves the total number of organization parties found for a given filtering context.- Parameters:
pmOrganizationFilteringContext- the organization party context.- Returns:
- the number of organization parties found.
-
removeOrganization
Deprecated.Removes the givenPmOrganizationModel- Parameters:
organization- the organization to be removed
-
createOrganization
PmOrganizationModel createOrganization()Deprecated.Creates an instance ofPmOrganizationModel- Returns:
- the newly created organization
-
saveOrganization
Deprecated.Saves a givenPmOrganizationModel- Parameters:
organizationModel- the organization to be saved
-