|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MappingsConfiguration
Hold reference to all the available mappings
Method Summary | |
---|---|
void |
addMapping(Mapping mapping) Add a mapping; will override any mapping with the same ID |
void |
clearMappings() Remove all mappings |
boolean |
containsMapping(java.lang.String id) Return true if the ID is mapped in this config |
java.util.Set<java.lang.String> |
getIDs() |
Mapping |
getMapping(java.lang.String id) The mapping of a page name to application page |
Mapping |
getMappingByPath(java.lang.String path) Returns a mapping for the flie based on the path |
java.util.List<Mapping> |
getMappings(Mapping.Type type) Retrieve a list of mappings by type |
java.util.List<Mapping> |
getMappings(Mapping.Type type, java.lang.String attrName, java.lang.String attrValue) Retrieve list of mappings by type and attribute name/value match |
boolean |
isPathMapped(java.lang.String path) Checks to see if the path is to a file that has a mapping |
void |
removeMapping(java.lang.String id) Remove the mapping |
java.lang.String |
resolveToPath(java.lang.String id) Resolves the ID to a path |
Method Detail |
---|
java.util.Set<java.lang.String> getIDs()
Mapping getMapping(java.lang.String id)
id
- the page namejava.lang.String resolveToPath(java.lang.String id)
id
- the idjava.util.List<Mapping> getMappings(Mapping.Type type)
type
- the typejava.util.List<Mapping> getMappings(Mapping.Type type, java.lang.String attrName, java.lang.String attrValue)
type
- the typeattrName
- the attribute nameattrValue
- the valueboolean containsMapping(java.lang.String id)
id
- the identifiervoid removeMapping(java.lang.String id)
id
- the mapping IDvoid clearMappings()
void addMapping(Mapping mapping)
mapping
- the mapping objectboolean isPathMapped(java.lang.String path)
path
- the Path to a file, relative to your project rootMapping getMappingByPath(java.lang.String path)
path
-
|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |