public class IntakeTool.PullHelper extends Object
Modifier | Constructor and Description |
---|---|
protected |
IntakeTool.PullHelper(String groupName)
Protected constructor to force use of factory method.
|
Modifier and Type | Method and Description |
---|---|
org.apache.fulcrum.intake.model.Group |
getDefault()
Populates the object with the default values from the XML File
|
org.apache.fulcrum.intake.model.Group |
mapTo(org.apache.fulcrum.intake.Retrievable obj)
maps an Intake Group to the values from a Retrievable object.
|
org.apache.fulcrum.intake.model.Group |
setKey(String key)
Calls setKey(key,true)
|
org.apache.fulcrum.intake.model.Group |
setKey(String key,
boolean create)
Return the group identified by its key
|
protected IntakeTool.PullHelper(String groupName)
groupName
- the group namepublic org.apache.fulcrum.intake.model.Group getDefault() throws org.apache.fulcrum.intake.IntakeException
org.apache.fulcrum.intake.IntakeException
- if getting the group failspublic org.apache.fulcrum.intake.model.Group setKey(String key) throws org.apache.fulcrum.intake.IntakeException
key
- the group keyorg.apache.fulcrum.intake.IntakeException
- if getting the group failspublic org.apache.fulcrum.intake.model.Group setKey(String key, boolean create) throws org.apache.fulcrum.intake.IntakeException
key
- the group keycreate
- true if a non-existing group should be createdorg.apache.fulcrum.intake.IntakeException
- if getting the group failspublic org.apache.fulcrum.intake.model.Group mapTo(org.apache.fulcrum.intake.Retrievable obj)
obj
- A retrievable objectCopyright © 2000–2018 The Apache Software Foundation. All rights reserved.