|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.channels.BaseChannel
org.jasig.portal.channels.CChannelManager
public class CChannelManager
CChannelManager is a Channel used to manage other Channels. This is a replacement for CPublisher.
Nested Class Summary | |
---|---|
protected class |
CChannelManager.ChannelDefinition
|
protected class |
CChannelManager.CPDWorkflowSection
|
protected class |
CChannelManager.ModifyChannelSettings
Keeps track of page settings for MODIFY_CHANNEL_STATE |
protected class |
CChannelManager.Workflow
This Workflow class represents the collection of workflow sections and can produce an XML version of itself for passing to the XSLT stylesheets. |
protected class |
CChannelManager.WorkflowSection
|
protected class |
CChannelManager.WorkflowStep
|
Field Summary | |
---|---|
protected java.lang.String |
action
|
protected IServant |
categoryServant
|
protected static short |
CHANNEL_CATEGORIES_STATE
|
protected static short |
CHANNEL_CONTROLS_STATE
|
protected static short |
CHANNEL_DEF_STATE
|
protected static short |
CHANNEL_GROUPS_STATE
|
protected static short |
CHANNEL_REVIEW_STATE
|
protected static short |
CHANNEL_TYPE_STATE
|
protected CChannelManager.ChannelDefinition |
channelDef
|
protected org.w3c.dom.Document |
channelManagerDoc
|
protected static short |
CUSTOM_SETTINGS_STATE
|
protected static short |
DEFAULT_STATE
|
protected static org.w3c.dom.Document |
emptyDoc
|
protected java.lang.String |
errorMsg
|
protected static short |
GENERAL_SETTINGS_STATE
|
protected IServant |
groupServant
|
protected CChannelManager.ModifyChannelSettings |
modChanSettings
|
protected static short |
MODIFY_CHANNEL_STATE
|
protected IPerson |
person
|
protected static java.lang.String |
sslLocation
|
protected short |
state
|
protected java.lang.String |
stepID
|
Fields inherited from class org.jasig.portal.channels.BaseChannel |
---|
log, runtimeData, staticData |
Constructor Summary | |
---|---|
CChannelManager()
|
Method Summary | |
---|---|
protected static void |
appendModifyChannelSettings(org.w3c.dom.Element channelManager,
CChannelManager.ModifyChannelSettings modChanSettings)
|
protected void |
doAction()
Controller method that reacts to the action parameter. |
protected void |
doCapture()
Collect the appropriate request parameters for a particular screen in this channel's workflow. |
private java.lang.String |
fixStepID(java.lang.String stepID)
Make sure that the step ID is always a valid one or else set it to "1" |
protected org.w3c.dom.Element |
getCategoriesXML()
|
protected IServant |
getCategoryServant()
Produces a category servant |
protected org.w3c.dom.Document |
getChannelManagerDoc(CChannelManager.ModifyChannelSettings modChanSettings)
Produces an XML document used as an input to this channel's XSLT transformation. |
protected IServant |
getGroupServant()
Produces a group servant |
protected org.w3c.dom.Element |
getGroupsXML()
|
void |
renderXML(org.xml.sax.ContentHandler out)
Ask channel to render its content. |
protected void |
resetSettings()
|
void |
setRuntimeData(ChannelRuntimeData rd)
Passes ChannelRuntimeData to the channel. |
void |
setStaticData(ChannelStaticData sd)
Passes ChannelStaticData to the channel. |
Methods inherited from class org.jasig.portal.channels.BaseChannel |
---|
getRuntimeProperties, receiveEvent, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String sslLocation
protected static final org.w3c.dom.Document emptyDoc
protected short state
protected static final short DEFAULT_STATE
protected static final short CHANNEL_TYPE_STATE
protected static final short GENERAL_SETTINGS_STATE
protected static final short CUSTOM_SETTINGS_STATE
protected static final short CHANNEL_DEF_STATE
protected static final short CHANNEL_CONTROLS_STATE
protected static final short CHANNEL_CATEGORIES_STATE
protected static final short CHANNEL_GROUPS_STATE
protected static final short CHANNEL_REVIEW_STATE
protected static final short MODIFY_CHANNEL_STATE
protected java.lang.String action
protected java.lang.String stepID
protected org.w3c.dom.Document channelManagerDoc
protected CChannelManager.ChannelDefinition channelDef
protected CChannelManager.ModifyChannelSettings modChanSettings
protected IPerson person
protected IServant categoryServant
protected IServant groupServant
protected java.lang.String errorMsg
Constructor Detail |
---|
public CChannelManager()
Method Detail |
---|
protected void resetSettings()
public void setStaticData(ChannelStaticData sd) throws PortalException
IChannel
setStaticData
in interface IChannel
setStaticData
in class BaseChannel
sd
- channel static data
PortalException
ChannelStaticData
public void setRuntimeData(ChannelRuntimeData rd) throws PortalException
IChannel
setRuntimeData
in interface IChannel
setRuntimeData
in class BaseChannel
rd
- channel runtime data
PortalException
ChannelRuntimeData
public void renderXML(org.xml.sax.ContentHandler out) throws PortalException
IChannel
renderXML
in interface IChannel
renderXML
in class BaseChannel
out
- the SAX ContentHandler to output content to
PortalException
protected IServant getGroupServant()
protected IServant getCategoryServant()
private java.lang.String fixStepID(java.lang.String stepID)
stepID
-
protected void doCapture()
protected void doAction() throws PortalException
PortalException
protected org.w3c.dom.Document getChannelManagerDoc(CChannelManager.ModifyChannelSettings modChanSettings) throws PortalException
modChanSettings
-
PortalException
protected org.w3c.dom.Element getGroupsXML()
protected org.w3c.dom.Element getCategoriesXML()
protected static void appendModifyChannelSettings(org.w3c.dom.Element channelManager, CChannelManager.ModifyChannelSettings modChanSettings)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |