|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.web.ui.SectionBridge
@Deprecated public class SectionBridge
| Field Summary | |
|---|---|
private static BusinessObjectAuthorizationService |
businessObjectAuthorizationService
Deprecated. |
private static DataDictionaryService |
dataDictionaryService
Deprecated. |
private static org.apache.log4j.Logger |
LOG
Deprecated. |
private static MaintenanceDocumentDictionaryService |
maintenanceDocumentDictionaryService
Deprecated. |
| Constructor Summary | |
|---|---|
SectionBridge()
Deprecated. |
|
| Method Summary | |
|---|---|
private static void |
addShowInactiveButtonField(Section section,
String collectionName,
boolean showInactive)
Deprecated. Helper method to build up the show inactive button source and place in the section. |
protected static void |
applyInquiryFieldAuthorizations(Field field,
InquiryRestrictions inquiryRestrictions)
Deprecated. |
private static void |
applyInquiryRowsAuthorizations(List<Row> rows,
InquiryRestrictions inquiryRestrictions)
Deprecated. |
private static void |
applyInquirySectionAuthorizations(Section section,
InquiryRestrictions inquiryRestrictions)
Deprecated. |
private static Field |
createMaintainableSubSectionHeader(SubSectionHeaderDefinitionI definition)
Deprecated. This is a helper method to create a sub section header |
private static BusinessObjectAuthorizationService |
getBusinessObjectAuthorizationService()
Deprecated. |
static List<Row> |
getContainerRows(Section s,
CollectionDefinitionI collectionDefinition,
BusinessObject o,
Maintainable m,
Maintainable oldMaintainable,
List<String> displayedFieldNames,
Set<String> conditionallyRequiredMaintenanceFields,
StringBuffer containerRowErrorKey,
int numberOfColumns,
Inquirable inquirable)
Deprecated. |
static List<Row> |
getContainerRows(Section s,
CollectionDefinitionI collectionDefinition,
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. |
private static DataDictionaryService |
getDataDictionaryService()
Deprecated. |
private static Field |
getDeleteRowButtonField(String collectionName,
String rowIndex)
Deprecated. Helper method to build up a Field containing a delete button mapped up to remove the collection record identified by the given collection name and index. |
static MaintenanceDocumentDictionaryService |
getMaintenanceDocumentDictionaryService()
Deprecated. |
private static List<Field> |
getSummaryFields(Map collSummaryFields,
CollectionDefinitionI collectionDefinition)
Deprecated. This method returns an ordered list of fields. |
protected static boolean |
isRowHiddenForInquiry(BusinessObject lineBusinessObject,
Inquirable inquirable,
String collectionName)
Deprecated. Determines whether a business object is hidden on an inquiry screen. |
protected static boolean |
isRowHiddenForMaintenanceDocument(BusinessObject lineBusinessObject,
BusinessObject oldLineBusinessObject,
Maintainable newMaintainable,
String collectionName)
Deprecated. Determines whether a business object is hidden on a maintenance document. |
protected static boolean |
isRowHideableForInquiry(BusinessObject lineBusinessObject)
Deprecated. Determines whether a business object is hidable on an inquiry screen. |
protected static boolean |
isRowHideableForMaintenanceDocument(BusinessObject lineBusinessObject,
BusinessObject oldLineBusinessObject)
Deprecated. Determines whether a business object is hidable on a maintenance document. |
private static List<Row> |
reArrangeRows(List<Row> rows,
int numberOfColumns)
Deprecated. |
private static void |
setDuplicateIdentificationFieldsReadOnly(Field field,
List<String> duplicateIdentificationFieldNames)
Deprecated. |
private static void |
setPrimaryKeyFieldsReadOnly(Class businessObjectClass,
Field field)
Deprecated. Retrieves the primary key property names for the given class. |
static Section |
toSection(Inquirable inquirable,
InquirySectionDefinition sd,
BusinessObject o,
InquiryRestrictions auths)
Deprecated. This method creates a Section for display on an Inquiry Screen. |
static Section |
toSection(MaintainableSectionDefinition sd,
BusinessObject o,
Maintainable maintainable,
Maintainable oldMaintainable,
String maintenanceAction,
List<String> displayedFieldNames,
Set<String> conditionallyRequiredMaintenanceFields)
Deprecated. This method creates a Section for a MaintenanceDocument. |
private static void |
updateUserFields(Field field,
BusinessObject businessObject)
Deprecated. Updates fields of type kualiuser sets the universal user id and/or name if required. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final org.apache.log4j.Logger LOG
private static BusinessObjectAuthorizationService businessObjectAuthorizationService
private static DataDictionaryService dataDictionaryService
private static MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService
| Constructor Detail |
|---|
public SectionBridge()
| Method Detail |
|---|
private static BusinessObjectAuthorizationService getBusinessObjectAuthorizationService()
private static DataDictionaryService getDataDictionaryService()
public static final Section toSection(Inquirable inquirable,
InquirySectionDefinition sd,
BusinessObject o,
InquiryRestrictions auths)
sd - The DD definition from which to construct the Section.o - The BusinessObject from which to populate the Section values.
private static final void applyInquirySectionAuthorizations(Section section,
InquiryRestrictions inquiryRestrictions)
private static final void applyInquiryRowsAuthorizations(List<Row> rows,
InquiryRestrictions inquiryRestrictions)
protected static final void applyInquiryFieldAuthorizations(Field field,
InquiryRestrictions inquiryRestrictions)
private static final List<Row> reArrangeRows(List<Row> rows,
int numberOfColumns)
public static final Section toSection(MaintainableSectionDefinition sd,
BusinessObject o,
Maintainable maintainable,
Maintainable oldMaintainable,
String maintenanceAction,
List<String> displayedFieldNames,
Set<String> conditionallyRequiredMaintenanceFields)
throws InstantiationException,
IllegalAccessException
sd - The DD definition of the Section.o - The BusinessObject from which the Section will be populated.maintainable - maintenanceAction - The action (new, newwithexisting, copy, edit, etc) requested from the UI.autoFillDefaultValues - Should default values be auto-filled?autoFillBlankRequiredValues - Should required values left blank on the UI be auto-filled?displayedFieldNames - What fields are displayed on the UI?
InstantiationException
IllegalAccessException
public static final List<Row> getContainerRows(Section s,
CollectionDefinitionI collectionDefinition,
BusinessObject o,
Maintainable m,
Maintainable oldMaintainable,
List<String> displayedFieldNames,
Set<String> conditionallyRequiredMaintenanceFields,
StringBuffer containerRowErrorKey,
int numberOfColumns,
Inquirable inquirable)
#getContainerRows(Section, CollectionDefinitionI, BusinessObject, Maintainable, List, StringBuffer, String,
boolean, int)
public static final List<Row> getContainerRows(Section s,
CollectionDefinitionI collectionDefinition,
BusinessObject o,
Maintainable m,
Maintainable oldMaintainable,
List<String> displayedFieldNames,
Set<String> conditionallyRequiredMaintenanceFields,
StringBuffer containerRowErrorKey,
String parents,
boolean hideAdd,
int numberOfColumns,
Inquirable inquirable)
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.)displayedFieldNames - containerRowErrorKey - The error key for the Container/Collection.parents - 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?
private static final void updateUserFields(Field field,
BusinessObject businessObject)
field - businessObject -
private static final Field getDeleteRowButtonField(String collectionName,
String rowIndex)
collectionName - - name of the collectionrowIndex - - index of the record to associate delete button
private static final void addShowInactiveButtonField(Section section,
String collectionName,
boolean showInactive)
section - - section that will display the buttoncollectionName - - name of the collection to toggle settingshowInactive - - boolean indicating whether inactive rows should be displayed
private static final void setPrimaryKeyFieldsReadOnly(Class businessObjectClass,
Field field)
private static void setDuplicateIdentificationFieldsReadOnly(Field field,
List<String> duplicateIdentificationFieldNames)
private static final List<Field> getSummaryFields(Map collSummaryFields,
CollectionDefinitionI collectionDefinition)
collSummaryFields - collectionDefinition -
private static final Field createMaintainableSubSectionHeader(SubSectionHeaderDefinitionI definition)
definition - the MaintainableSubSectionHeaderDefinition that we'll use to create the sub section header
protected static boolean isRowHideableForMaintenanceDocument(BusinessObject lineBusinessObject,
BusinessObject oldLineBusinessObject)
lineBusinessObject - the BO in the new maintainable, should be of type PersistableBusinessObject and InquirableoldLineBusinessObject - the corresponding BO in the old maintainable, should be of type PersistableBusinessObject and
Inquirable
protected static boolean isRowHiddenForMaintenanceDocument(BusinessObject lineBusinessObject,
BusinessObject oldLineBusinessObject,
Maintainable newMaintainable,
String collectionName)
lineBusinessObject - the BO in the new maintainable, should be of type PersistableBusinessObjectoldLineBusinessObject - the corresponding BO in the old maintainablenewMaintainable - the new maintainable from the maintenace documentcollectionName - the name of the collection from which these BOs come
protected static boolean isRowHideableForInquiry(BusinessObject lineBusinessObject)
lineBusinessObject - the collection element BO, should be of type PersistableBusinessObject and Inquirable
protected static boolean isRowHiddenForInquiry(BusinessObject lineBusinessObject,
Inquirable inquirable,
String collectionName)
lineBusinessObject - the BO in the collection, should be of type PersistableBusinessObject and Inquirableinquirable - the inquirablecollectionName - the name of the collection from which the BO comes
public static MaintenanceDocumentDictionaryService getMaintenanceDocumentDictionaryService()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||