Package org.kuali.rice.kns.web.ui
Class SectionBridge
java.lang.Object
org.kuali.rice.kns.web.ui.SectionBridge
Deprecated.
KNS Struts deprecated, use KRAD and the Spring MVC framework.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidapplyInquiryFieldAuthorizations(Field field, InquiryRestrictions inquiryRestrictions) Deprecated.getContainerRows(Section s, CollectionDefinitionI collectionDefinition, org.kuali.rice.krad.bo.BusinessObject o, Maintainable m, Maintainable oldMaintainable, List<String> displayedFieldNames, Set<String> conditionallyRequiredMaintenanceFields, StringBuffer containerRowErrorKey, int numberOfColumns, Inquirable inquirable) Deprecated.getContainerRows(Section s, CollectionDefinitionI collectionDefinition, org.kuali.rice.krad.bo.BusinessObject o, Maintainable m, Maintainable oldMaintainable, List<String> displayedFieldNames, Set<String> conditionallyRequiredMaintenanceFields, StringBuffer containerRowErrorKey, String parents, boolean hideAdd, int numberOfColumns, Inquirable inquirable) Deprecated.Builds a list of Rows with Fields of type containers for a many section.Deprecated.protected static booleanisRowHiddenForInquiry(org.kuali.rice.krad.bo.BusinessObject lineBusinessObject, Inquirable inquirable, String collectionName) Deprecated.Determines whether a business object is hidden on an inquiry screen.protected static booleanisRowHiddenForMaintenanceDocument(org.kuali.rice.krad.bo.BusinessObject lineBusinessObject, org.kuali.rice.krad.bo.BusinessObject oldLineBusinessObject, Maintainable newMaintainable, String collectionName) Deprecated.Determines whether a business object is hidden on a maintenance document.protected static booleanisRowHideableForInquiry(org.kuali.rice.krad.bo.BusinessObject lineBusinessObject) Deprecated.Determines whether a business object is hidable on an inquiry screen.protected static booleanisRowHideableForMaintenanceDocument(org.kuali.rice.krad.bo.BusinessObject lineBusinessObject, org.kuali.rice.krad.bo.BusinessObject oldLineBusinessObject) Deprecated.Determines whether a business object is hidable on a maintenance document.static SectiontoSection(MaintainableSectionDefinition sd, org.kuali.rice.krad.bo.BusinessObject o, Maintainable maintainable, Maintainable oldMaintainable, String maintenanceAction, List<String> displayedFieldNames, Set<String> conditionallyRequiredMaintenanceFields) Deprecated.This method creates a Section for a MaintenanceDocument.static SectiontoSection(Inquirable inquirable, InquirySectionDefinition sd, org.kuali.rice.krad.bo.BusinessObject o, InquiryRestrictions auths) Deprecated.This method creates a Section for display on an Inquiry Screen.
-
Constructor Details
-
SectionBridge
public SectionBridge()Deprecated.
-
-
Method Details
-
toSection
public static Section toSection(Inquirable inquirable, InquirySectionDefinition sd, org.kuali.rice.krad.bo.BusinessObject o, InquiryRestrictions auths) Deprecated.This method creates a Section for display on an Inquiry Screen.- Parameters:
sd- The DD definition from which to construct the Section.o- The BusinessObject from which to populate the Section values.- Returns:
- A populated Section.
-
applyInquiryFieldAuthorizations
protected static void applyInquiryFieldAuthorizations(Field field, InquiryRestrictions inquiryRestrictions) Deprecated. -
toSection
public static Section toSection(MaintainableSectionDefinition sd, org.kuali.rice.krad.bo.BusinessObject o, Maintainable maintainable, Maintainable oldMaintainable, String maintenanceAction, List<String> displayedFieldNames, Set<String> conditionallyRequiredMaintenanceFields) throws InstantiationException, IllegalAccessException Deprecated.This method creates a Section for a MaintenanceDocument.- Parameters:
sd- The DD definition of the Section.o- The BusinessObject from which the Section will be populated.maintenanceAction- The action (new, newwithexisting, copy, edit, etc) requested from the UI.displayedFieldNames- What fields are displayed on the UI?- Returns:
- A populated Section.
- Throws:
InstantiationExceptionIllegalAccessException
-
getContainerRows
public static List<Row> getContainerRows(Section s, CollectionDefinitionI collectionDefinition, org.kuali.rice.krad.bo.BusinessObject o, Maintainable m, Maintainable oldMaintainable, List<String> displayedFieldNames, Set<String> conditionallyRequiredMaintenanceFields, StringBuffer containerRowErrorKey, int numberOfColumns, Inquirable inquirable) Deprecated. -
getContainerRows
public static List<Row> getContainerRows(Section s, CollectionDefinitionI collectionDefinition, org.kuali.rice.krad.bo.BusinessObject o, Maintainable m, Maintainable oldMaintainable, List<String> displayedFieldNames, Set<String> conditionallyRequiredMaintenanceFields, StringBuffer containerRowErrorKey, String parents, boolean hideAdd, int numberOfColumns, Inquirable inquirable) Deprecated.Builds a list of Rows with Fields of type containers for a many section.- Parameters:
s- The Section containing the Collection/Container.collectionDefinition- The DD definition of the Collection.o- The BusinessObject from which the Container/Collection will be populated.m- The Maintainable for the BO (needed by some methods called on FieldBridge, FieldUtils etc.)containerRowErrorKey- The error key for the Container/Collection.hideAdd- Should the add line be added to the Container/Collection?numberOfColumns- In how many columns in the UI will the fields in the Container/Collection be shown?
-
isRowHideableForMaintenanceDocument
protected static boolean isRowHideableForMaintenanceDocument(org.kuali.rice.krad.bo.BusinessObject lineBusinessObject, org.kuali.rice.krad.bo.BusinessObject oldLineBusinessObject) Deprecated.Determines whether a business object is hidable on a maintenance document. Hidable means that if the user chose to hide the inactive elements in the collection in which the passed in BOs reside, then the BOs would be hidden- Parameters:
lineBusinessObject- the BO in the new maintainable, should be of typeBusinessObjectandInquirableoldLineBusinessObject- the corresponding BO in the old maintainable, should be of typeBusinessObjectandInquirable- Returns:
- whether the BOs are eligible to be hidden if the user decides to hide them
-
isRowHiddenForMaintenanceDocument
protected static boolean isRowHiddenForMaintenanceDocument(org.kuali.rice.krad.bo.BusinessObject lineBusinessObject, org.kuali.rice.krad.bo.BusinessObject oldLineBusinessObject, Maintainable newMaintainable, String collectionName) Deprecated.Determines whether a business object is hidden on a maintenance document.- Parameters:
lineBusinessObject- the BO in the new maintainable, should be of typeBusinessObjectoldLineBusinessObject- the corresponding BO in the old maintainablenewMaintainable- the new maintainable from the maintenace documentcollectionName- the name of the collection from which these BOs come- Returns:
-
isRowHideableForInquiry
protected static boolean isRowHideableForInquiry(org.kuali.rice.krad.bo.BusinessObject lineBusinessObject) Deprecated.Determines whether a business object is hidable on an inquiry screen. Hidable means that if the user chose to hide the inactive elements in the collection in which the passed in BO resides, then the BO would be hidden- Parameters:
lineBusinessObject- the collection element BO, should be of typeBusinessObjectandInquirable- Returns:
- whether the BO is eligible to be hidden if the user decides to hide them
-
isRowHiddenForInquiry
protected static boolean isRowHiddenForInquiry(org.kuali.rice.krad.bo.BusinessObject lineBusinessObject, Inquirable inquirable, String collectionName) Deprecated.Determines whether a business object is hidden on an inquiry screen.- Parameters:
lineBusinessObject- the BO in the collection, should be of typeBusinessObjectandInquirableinquirable- the inquirablecollectionName- the name of the collection from which the BO comes- Returns:
- true if the business object is to be hidden; false otherwise
-
getMaintenanceDocumentDictionaryService
Deprecated.
-