|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IFolderLabelPolicy
Implementations define how localized versions of labels for layout folders are handled. This allows different policies to be used depending on the specific structure being used. At some point if multiple profiles are supported this would have to be augmented to pass that information as well or provide a mechanism to obtain a structure specific implementation of this interface.
| Method Summary | |
|---|---|
void |
addNodeLabel(String nodeId,
String parentId,
Document layout,
int userId,
boolean isFragmentOwner,
String value)
Handles adding locale specific labels for a newly added node. |
void |
coordinateFolderLabels(int userId,
boolean isFramentOwner,
Document layout)
Scans the passed in layout and coordinates the labels that appear in the configuration system according to the needs of the specific structure and theme being used. |
void |
deleteNodeLabel(String nodeLayoutId,
String nodePlfId,
boolean applyToAll,
int userId,
boolean isFragmentOwner)
Handles removal of locale specific labels for a node during a delete operation. |
String |
getNodeLabel(String nodeLayoutId,
String nodePlfId,
boolean editAllowed,
int userId,
boolean isFragmentOwner,
String value)
Handles retrieval of locale specific labels for a node including handling overrides of fragment node labels if applicable. |
void |
purgeFolderLabels(int userId,
boolean isFragmentOwner)
Scans the passed in layout and purges all labels that appear in the configuration system for folders in this layout. |
void |
updateNodeLabel(String plfId,
int userId,
boolean isFragmentOwner,
String value)
Handles updating locale specific labels for a node during a node update. |
| Method Detail |
|---|
void purgeFolderLabels(int userId,
boolean isFragmentOwner)
userId - isFragmentOwner - layout -
void coordinateFolderLabels(int userId,
boolean isFramentOwner,
Document layout)
userId - layout -
void deleteNodeLabel(String nodeLayoutId,
String nodePlfId,
boolean applyToAll,
int userId,
boolean isFragmentOwner)
nodeLayoutId - the ILF nodeIdnodePlfId - the ILF dlm:plfId attribute of the node if applicableuserId - the user's uPortal integer idisFragmentOwner - indicates if they are a fragment owner or not
void addNodeLabel(String nodeId,
String parentId,
Document layout,
int userId,
boolean isFragmentOwner,
String value)
nodeId - the ILF nodeIdparentId - the node id of the parentlayout - the DOM layout of the useruserId - the user's uPortal integer idisFragmentOwner - indicates if they are a fragment owner or notvalue - the value for the label
void updateNodeLabel(String plfId,
int userId,
boolean isFragmentOwner,
String value)
plfId - the id of the node in the PLFuserId - the user's uPortal integer idisFragmentOwner - indicates if they are a fragment owner or notvalue - the value for the label
String getNodeLabel(String nodeLayoutId,
String nodePlfId,
boolean editAllowed,
int userId,
boolean isFragmentOwner,
String value)
nodeLayoutId - the ILF nodeIdnodePlfId - the ILF dlm:plfId attribute of the node if applicableeditAllowed - the ILF dlm:editAllowed attribute of the node if applicableuserId - the user's uPortal integer idisFragmentOwner - indicates if they are a fragment owner or notvalue - the default value to use if one is not found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||