org.kuali.common.util.property
Class DefaultPropertyLoadContext

java.lang.Object
  extended by org.kuali.common.util.property.DefaultPropertyContext
      extended by org.kuali.common.util.property.DefaultPropertyLoadContext
All Implemented Interfaces:
PropertyContext, PropertyLoadContext
Direct Known Subclasses:
PropertyFactoryBean

public class DefaultPropertyLoadContext
extends DefaultPropertyContext
implements PropertyLoadContext


Constructor Summary
DefaultPropertyLoadContext()
           
 
Method Summary
 String getEncoding()
           
protected  Properties getGlobalProperties(Properties properties)
           
protected  String getGroupId()
           
 String getGroupIdProperty()
           
 String getLocation(String location, Properties properties)
           
 String getLocationHelperExclude()
           
 List<String> getLocationHelperExcludes()
           
 String getLocationHelperInclude()
           
 List<String> getLocationHelperIncludes()
           
protected  List<PropertyProcessor> getLocationHelperProcessors()
           
 Properties getLocationHelperProperties()
           
protected  Properties getLocationHelperProperties(Properties properties, GlobalPropertiesMode mode)
           
protected  List<PropertyProcessor> getLocationProcessors()
           
 List<String> getLocations()
           
 String getMissingLocationsMode()
           
 String getOrganizationGroupId()
           
protected  String getResolvedLocation(String location, Properties properties)
           
protected  String getValidatedLocation(String location, Mode missingLocationsMode)
           
 String getVersionProperty()
           
 Properties init()
           
 void setEncoding(String encoding)
           
 void setGroupIdProperty(String groupIdProperty)
           
 void setLocationHelperExclude(String locationHelperExclude)
           
 void setLocationHelperExcludes(List<String> locationHelperExcludes)
           
 void setLocationHelperInclude(String locationHelperInclude)
           
 void setLocationHelperIncludes(List<String> locationHelperIncludes)
           
 void setLocationHelperProperties(Properties locationHelperProperties)
           
 void setLocations(List<String> locations)
           
 void setMissingLocationsMode(String missingLocationsMode)
           
 void setOrganizationGroupId(String organizationGroupId)
           
 void setVersionProperty(String versionProperty)
           
protected  void validate()
           
protected  void validateGlobalPropertiesMode(String globalPropertiesMode)
           
protected  void validateResolved(String string)
           
 
Methods inherited from class org.kuali.common.util.property.DefaultPropertyContext
addProcessors, getDefaultProcessors, getEncProcessor, getEncryptionMode, getEncryptionPassword, getEncryptionStrength, getGlobalPropertiesMode, getHelper, getObscurer, getPlaceholderKey, getPrefix, getProcessors, getProperties, getResolvePlaceholders, getStyle, getStyleProcessor, initialize, log, remove, resolve, resolveAndRemove, setEncryptionMode, setEncryptionPassword, setEncryptionStrength, setGlobalPropertiesMode, setHelper, setObscurer, setPrefix, setProcessors, setProperties, setResolvePlaceholders, setStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.common.util.property.PropertyContext
getProcessors, initialize
 

Constructor Detail

DefaultPropertyLoadContext

public DefaultPropertyLoadContext()
Method Detail

init

public Properties init()
Specified by:
init in interface PropertyLoadContext

validateGlobalPropertiesMode

protected void validateGlobalPropertiesMode(String globalPropertiesMode)

validate

protected void validate()
Overrides:
validate in class DefaultPropertyContext

getLocation

public String getLocation(String location,
                          Properties properties)
Specified by:
getLocation in interface PropertyLoadContext

getValidatedLocation

protected String getValidatedLocation(String location,
                                      Mode missingLocationsMode)

validateResolved

protected void validateResolved(String string)

getResolvedLocation

protected String getResolvedLocation(String location,
                                     Properties properties)

getGlobalProperties

protected Properties getGlobalProperties(Properties properties)

getLocationHelperProperties

protected Properties getLocationHelperProperties(Properties properties,
                                                 GlobalPropertiesMode mode)

getLocationProcessors

protected List<PropertyProcessor> getLocationProcessors()

getGroupId

protected String getGroupId()

getLocationHelperProcessors

protected List<PropertyProcessor> getLocationHelperProcessors()

getMissingLocationsMode

public String getMissingLocationsMode()

setMissingLocationsMode

public void setMissingLocationsMode(String missingLocationsMode)

getLocations

public List<String> getLocations()
Specified by:
getLocations in interface PropertyLoadContext

setLocations

public void setLocations(List<String> locations)

getLocationHelperProperties

public Properties getLocationHelperProperties()

setLocationHelperProperties

public void setLocationHelperProperties(Properties locationHelperProperties)

getEncoding

public String getEncoding()
Specified by:
getEncoding in interface PropertyLoadContext

setEncoding

public void setEncoding(String encoding)

getOrganizationGroupId

public String getOrganizationGroupId()

setOrganizationGroupId

public void setOrganizationGroupId(String organizationGroupId)

getGroupIdProperty

public String getGroupIdProperty()

setGroupIdProperty

public void setGroupIdProperty(String groupIdProperty)

getVersionProperty

public String getVersionProperty()

setVersionProperty

public void setVersionProperty(String versionProperty)

getLocationHelperIncludes

public List<String> getLocationHelperIncludes()

setLocationHelperIncludes

public void setLocationHelperIncludes(List<String> locationHelperIncludes)

getLocationHelperExcludes

public List<String> getLocationHelperExcludes()

setLocationHelperExcludes

public void setLocationHelperExcludes(List<String> locationHelperExcludes)

getLocationHelperInclude

public String getLocationHelperInclude()

setLocationHelperInclude

public void setLocationHelperInclude(String locationHelperInclude)

getLocationHelperExclude

public String getLocationHelperExclude()

setLocationHelperExclude

public void setLocationHelperExclude(String locationHelperExclude)


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.