|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.percussion.extension.PSJexlUtilBase
com.autotrader.rhythmyx.AssemblyTools
public class AssemblyTools
A JEXL tool that provides a quick, simple alternative to using macros that build arbitrary assembly items.
Field Summary |
---|
Fields inherited from interface com.percussion.extension.IPSExtension |
---|
BINARY_ASSEMBLER, DATABASE_ASSEMBLER, DEBUG_ASSEMBLER, DISPATCH_ASSEMBLER, ERROR_INVALID_PARAMETER, KNOWN_ASSEMBLERS, LEGACY_ASSEMBLER, NOT_INITIALIZED, VELOCITY_ASSEMBLER |
Constructor Summary | |
---|---|
AssemblyTools()
|
Method Summary | |
---|---|
com.percussion.services.assembly.IPSAssemblyResult |
assemble(com.percussion.services.assembly.IPSAssemblyItem parentItem,
java.util.Map<java.lang.String,java.lang.String[]> params)
Assembles any arbitrary content item. |
com.percussion.services.assembly.IPSAssemblyResult |
assemble(com.percussion.services.assembly.IPSAssemblyItem parentItem,
java.lang.String params)
Assembles any arbitrary content item. |
com.percussion.services.assembly.IPSAssemblyItem |
createAssemblyItem(com.percussion.services.assembly.IPSAssemblyItem parentItem,
java.util.Map<java.lang.String,java.lang.String[]> params)
Creates an assembly item for any arbitrary content item. |
com.percussion.services.assembly.IPSAssemblyItem |
createAssemblyItem(com.percussion.services.assembly.IPSAssemblyItem parentItem,
java.lang.String params)
Creates an assembly item for any arbitrary content item. |
com.percussion.services.assembly.IPSAssemblyItem |
createAssemblyItem(java.util.Map<java.lang.String,java.lang.String[]> params)
Creates an assembly item for any arbitrary content item. |
com.percussion.services.assembly.IPSAssemblyItem |
createAssemblyItem(java.lang.String params)
Creates an assembly item for any arbitrary content item. |
java.lang.String |
lookupPublishPath(java.lang.Integer folderId)
Looks up the publish path of a folder relative to the nearest site root folder. |
Methods inherited from class com.percussion.extension.PSJexlUtilBase |
---|
init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssemblyTools()
Method Detail |
---|
public com.percussion.services.assembly.IPSAssemblyItem createAssemblyItem(java.util.Map<java.lang.String,java.lang.String[]> params) throws java.lang.Throwable
params
- the parameters for the new assembly item. These parameters will be combined with the parent item's parameters to make a complete set of parameters. I.e.: you only need to specify parameters that are different.
java.lang.Throwable
public com.percussion.services.assembly.IPSAssemblyItem createAssemblyItem(java.lang.String params) throws java.lang.Throwable
params
- the parameters for the new assembly item. These parameters will be combined with the parent item's parameters to make a complete set of parameters. I.e.: you only need to specify parameters that are different.
java.lang.Throwable
public com.percussion.services.assembly.IPSAssemblyItem createAssemblyItem(com.percussion.services.assembly.IPSAssemblyItem parentItem, java.util.Map<java.lang.String,java.lang.String[]> params) throws java.lang.Throwable
parentItem
- the parent assembly item, never null. The parent item is cloned for the assembly.params
- the parameters for the new assembly item. These parameters will be combined with the parent item's parameters to make a complete set of parameters. I.e.: you only need to specify parameters that are different.
java.lang.Throwable
public com.percussion.services.assembly.IPSAssemblyItem createAssemblyItem(com.percussion.services.assembly.IPSAssemblyItem parentItem, java.lang.String params) throws java.lang.Throwable
parentItem
- the parent assembly item, never null. The parent item is cloned for the assembly.params
- the parameters for the new assembly item as a query-string. These parameters will be combined with the parent item's parameters to make a complete set of parameters. I.e.: you only need to specify parameters that are different.
java.lang.Throwable
public com.percussion.services.assembly.IPSAssemblyResult assemble(com.percussion.services.assembly.IPSAssemblyItem parentItem, java.util.Map<java.lang.String,java.lang.String[]> params) throws java.lang.Throwable
parentItem
- the parent assembly item, never null. The parent item is cloned for the assembly.params
- the parameters for the new assembly item. These parameters will be combined with the parent item's parameters to make a complete set of parameters. I.e.: you only need to specify parameters that are different.
java.lang.Throwable
public com.percussion.services.assembly.IPSAssemblyResult assemble(com.percussion.services.assembly.IPSAssemblyItem parentItem, java.lang.String params) throws java.lang.Throwable
parentItem
- the parent assembly item, never null. The parent item is cloned for the assembly.params
- the parameters for the new assembly item as a query-string. These parameters will be combined with the parent item's parameters to make a complete set of parameters. I.e.: you only need to specify parameters that are different.
java.lang.Throwable
public java.lang.String lookupPublishPath(java.lang.Integer folderId) throws java.lang.Throwable
folderId
- the content id of the folder.
java.lang.Throwable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |