|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BGAreaManager
Description:
Manager to handle business group areas. A business group
area is used to group areas. A business group can be associated to many
areas, an area can have many groups
| Method Summary | |
|---|---|
void |
addBGToBGArea(BusinessGroup group,
BGArea area)
Add a business group to a business group area. |
boolean |
checkIfOneOrMoreNameExistsInContext(java.util.Set<java.lang.String> allNames,
BGContext bgContext)
checks if one or more of the given names exists already in the context. |
java.util.Map |
copyBGAreasOfBGContext(BGContext origBgContext,
BGContext targetBgContext)
Copies all group areas from the original context to the target context. |
int |
countBGAreasOfBGContext(BGContext groupContext)
Counts the number of business group areas of the given business group context |
BGArea |
createAndPersistBGAreaIfNotExists(java.lang.String areaName,
java.lang.String description,
BGContext groupContext)
Creates an area object and persists the object in the database only if such an area name does not already exist in this context |
void |
deleteBGArea(BGArea area)
Delete the given area form the database |
void |
deleteBGtoAreaRelations(BusinessGroup group)
Deletes all business group to area relations from the given business group |
BGArea |
findBGArea(java.lang.String areaName,
BGContext groupContext)
Finds an area in the given context |
java.util.List |
findBGAreasOfBGContext(BGContext groupContext)
Searches for all business group areas in the given business group context |
java.util.List |
findBGAreasOfBusinessGroup(BusinessGroup group)
Searches for all business group areas associated with the given business group |
java.util.List |
findBusinessGroupsOfArea(BGArea area)
Searches for all business groups that are associated with the given business group area |
java.util.List |
findBusinessGroupsOfAreaAttendedBy(Identity identity,
java.lang.String areaName,
BGContext context)
Searches for all business groups that are associated with the given business group area where the given identity is in the participants group |
boolean |
isIdentityInBGArea(Identity identity,
java.lang.String areaName,
BGContext groupContext)
Checks if an identity is in a business group areas with a given name in the given group context |
BGArea |
reloadArea(BGArea area)
Reloads the business group area from the database or the hibernate second level cache |
void |
removeBGFromArea(BusinessGroup group,
BGArea area)
Remove a business group from a business group area. |
BGArea |
updateBGArea(BGArea area)
Update the given area in the database |
| Method Detail |
|---|
BGArea createAndPersistBGAreaIfNotExists(java.lang.String areaName,
java.lang.String description,
BGContext groupContext)
areaName - The visible area namedescription - The area descriptiongroupContext - The group context of this area
java.util.Map copyBGAreasOfBGContext(BGContext origBgContext,
BGContext targetBgContext)
origBgContext - Context containing the orignial areastargetBgContext - Context where the areas should be created
BGArea findBGArea(java.lang.String areaName,
BGContext groupContext)
areaName - groupContext -
BGArea updateBGArea(BGArea area)
area -
void deleteBGArea(BGArea area)
area -
void addBGToBGArea(BusinessGroup group,
BGArea area)
group - area -
void removeBGFromArea(BusinessGroup group,
BGArea area)
group - area - void deleteBGtoAreaRelations(BusinessGroup group)
group - java.util.List findBusinessGroupsOfArea(BGArea area)
area -
java.util.List findBusinessGroupsOfAreaAttendedBy(Identity identity,
java.lang.String areaName,
BGContext context)
identity - areaName - context -
java.util.List findBGAreasOfBusinessGroup(BusinessGroup group)
group -
int countBGAreasOfBGContext(BGContext groupContext)
groupContext -
java.util.List findBGAreasOfBGContext(BGContext groupContext)
groupContext -
boolean isIdentityInBGArea(Identity identity,
java.lang.String areaName,
BGContext groupContext)
identity - areaName - groupContext -
BGArea reloadArea(BGArea area)
area -
boolean checkIfOneOrMoreNameExistsInContext(java.util.Set<java.lang.String> allNames,
BGContext bgContext)
allNames - bgContext -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||