org.tolven.process
Class Harvest
java.lang.Object
org.tolven.process.ComputeBase
org.tolven.process.Harvest
public class Harvest
- extends ComputeBase
Find selected items to include in a share message to another account. This is called from trim "compute".
- Author:
- John Churin
| Methods inherited from class org.tolven.process.ComputeBase |
checkProperties, cleanRelationships, getAccountUser, getAct, getCtx, getNow, getTrim, getTrimBean, setAccountUser, setAct, setCtx, setNow, setTrim, setTrimBean |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Harvest
public Harvest()
buildFullPath
public java.lang.String buildFullPath(java.lang.String path)
- Paths can start with : which means the path assumes knownType is prepended.
- Parameters:
path -
- Returns:
getMenuBean
public MenuLocal getMenuBean()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
getUnsharedMenuData
public java.util.List<MenuData> getUnsharedMenuData()
throws java.lang.Exception
- Returns:
-
- Throws:
java.lang.Exception
parseTemplate
public Act parseTemplate(MenuData placeholder)
throws javax.xml.bind.JAXBException
- Find a trim and get it's act. It will pull information from the placeholder.
- Parameters:
placeholder -
- Returns:
-
- Throws:
javax.xml.bind.JAXBException
createActRelationship
public ActRelationship createActRelationship(Act act)
compute
public void compute()
throws java.lang.Exception
- Specified by:
compute in class ComputeBase
- Throws:
java.lang.Exception
getTemplate
public java.lang.String getTemplate()
setTemplate
public void setTemplate(java.lang.String template)
getMdPlaceholder
public MenuData getMdPlaceholder()
setMdPlaceholder
public void setMdPlaceholder(MenuData mdPlaceholder)
isEnabled
public boolean isEnabled()
setEnabled
public void setEnabled(boolean enabled)
getTitle
public java.lang.String getTitle()
setTitle
public void setTitle(java.lang.String title)
getRelationship
public java.lang.String getRelationship()
setRelationship
public void setRelationship(java.lang.String relationship)
getParticipation
public java.lang.String getParticipation()
setParticipation
public void setParticipation(java.lang.String participation)
getPath
public java.lang.String getPath()
setPath
public void setPath(java.lang.String path)
getPathContext
public java.lang.String getPathContext()
setPathContext
public void setPathContext(java.lang.String pathContext)