|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.wcm.toolkit.server.base.WcmDpContainer
com.filenet.wcm.toolkit.server.base.WcmModule
com.filenet.wcm.toolkit.server.util.WcmAuthoringUtil
This helper class is used by WcmAuthoringDataProvider and provides XML item-retrieval functions.
Field Summary |
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule |
locale, NAME_DELIMITER |
Constructor Summary | |
WcmAuthoringUtil()
Deprecated. - This class contains only static methods. There is no reason to construct or register it. |
Method Summary | |
static org.w3c.dom.Document |
addGroupToGroupList(org.w3c.dom.Document doc,
java.lang.String name,
java.lang.String displayName,
java.lang.String shortName,
java.lang.String id)
Adds a specified group to object store groups list |
static org.w3c.dom.Document |
addObjectStoreToList(org.w3c.dom.Document o,
java.lang.String id,
java.lang.String name)
|
static org.w3c.dom.Document |
addRealmToList(org.w3c.dom.Document o,
java.lang.String id,
java.lang.String name,
boolean bDefault)
|
static org.w3c.dom.Document |
addUserToUserList(org.w3c.dom.Document doc,
java.lang.String name,
java.lang.String displayName,
java.lang.String shortName,
java.lang.String id)
Adds a specified user to object store users list |
static boolean |
containRealm(org.w3c.dom.Document o,
java.lang.String realmId)
|
static org.w3c.dom.Document |
createEmptyDocumentPermissionXML()
Returns an empty document object permission XML. |
static org.w3c.dom.Document |
createObjectStoresXML()
|
static org.w3c.dom.Document |
createRealmsXML()
Returns an empty realm xml |
static org.w3c.dom.Node |
getGroupsNode(org.w3c.dom.Document permissions)
Returns groups node. |
static org.w3c.dom.NodeList |
getPermissionsNodeList(org.w3c.dom.Document permissions)
Returns Permissions node list. |
static org.w3c.dom.Document |
getPermissionsNormalized(WcmAuthoringDataProvider adp,
WcmEntryTemplate entryTemplate)
Gets the permission XML from the entry template and updates the grantee data as needed. |
static org.w3c.dom.NodeList |
getPropertiesNodeList(org.w3c.dom.Document properties)
Returns Properties node list.. |
static org.w3c.dom.Node |
getUsersNode(org.w3c.dom.Document permissions)
Returns Users node. |
static org.w3c.dom.Document |
hideClassesFromClassDescriptions(org.w3c.dom.Document doc,
java.util.Set hiddenClasses)
Hides the specified classes from the class XML. |
static void |
removeBuildinGroupFromGroupList(org.w3c.dom.Document doc)
Removes the BUILDIN groups from the group list |
static org.w3c.dom.Document |
removeReservationObjectFromList(org.w3c.dom.Document doc)
Remove reservation object from versions list. |
static boolean |
updatePermissionXML(WcmDataStore dataStore,
org.w3c.dom.Document permissionXML)
Updates the permission XML with grantee data from the server. |
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmModule |
addChild, addChild, addChild, cleanup, debugTrace, getClassProperty, getClassProperty, getClassPropertyKeys, getConfiguration, getController, getDataStore, getModuleProperty, getModuleProperty, getModuleProperty, getModuleProperty, getModulePropertyKeys, getName, getParent, getWindowProperty, getWindowProperty, initialize, persist, queryDataProvider, setClassProperty, setClassProperty, setController, setModuleProperty, setModuleProperty, setName, setParent, setPortletParent, setWindowProperty |
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmDpContainer |
addDataProvider, addDataProvider |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface |
addDataProvider |
Constructor Detail |
public WcmAuthoringUtil() throws java.lang.Exception
Method Detail |
public static org.w3c.dom.NodeList getPropertiesNodeList(org.w3c.dom.Document properties) throws java.lang.Exception
properties
- The XML DOM object that contains the object's properties
java.lang.Exception
- All errors.public static org.w3c.dom.NodeList getPermissionsNodeList(org.w3c.dom.Document permissions) throws java.lang.Exception
permissions
- The XML DOM object that contains the object's permissions
java.lang.Exception
- All errors.public static org.w3c.dom.Node getUsersNode(org.w3c.dom.Document permissions) throws java.lang.Exception
permissions
- The XML DOM object that contains the object store's users list
java.lang.Exception
- All errors.public static org.w3c.dom.Node getGroupsNode(org.w3c.dom.Document permissions) throws java.lang.Exception
permissions
- The XML DOM object that contains the object store's groups list
java.lang.Exception
- All errors.public static void removeBuildinGroupFromGroupList(org.w3c.dom.Document doc) throws java.lang.Exception
doc
- Group list.
java.lang.Exception
- All errors.public static org.w3c.dom.Document addGroupToGroupList(org.w3c.dom.Document doc, java.lang.String name, java.lang.String displayName, java.lang.String shortName, java.lang.String id) throws java.lang.Exception
doc
- Groups list.name
- Name added to groups list.displayName
- Display name added to groups listshortName
- hort name added to users listid
- Id added to groups list.
java.lang.Exception
- All errors.public static org.w3c.dom.Document addUserToUserList(org.w3c.dom.Document doc, java.lang.String name, java.lang.String displayName, java.lang.String shortName, java.lang.String id) throws java.lang.Exception
doc
- Users list.name
- Name added to users list.displayName
- Display name added to users listshortName
- Short name added to users listid
- Id added to users list.
java.lang.Exception
- All errors.public static org.w3c.dom.Document removeReservationObjectFromList(org.w3c.dom.Document doc) throws java.lang.Exception
doc
- Versions list.
java.lang.Exception
- All errors.public static org.w3c.dom.Document createRealmsXML() throws java.lang.Exception
java.lang.Exception
- All errors.public static boolean containRealm(org.w3c.dom.Document o, java.lang.String realmId) throws java.lang.Exception
java.lang.Exception
public static org.w3c.dom.Document addRealmToList(org.w3c.dom.Document o, java.lang.String id, java.lang.String name, boolean bDefault) throws java.lang.Exception
java.lang.Exception
public static org.w3c.dom.Document createObjectStoresXML() throws java.lang.Exception
java.lang.Exception
public static org.w3c.dom.Document createEmptyDocumentPermissionXML() throws java.lang.Exception
java.lang.Exception
- All errors.public static org.w3c.dom.Document addObjectStoreToList(org.w3c.dom.Document o, java.lang.String id, java.lang.String name) throws java.lang.Exception
java.lang.Exception
public static org.w3c.dom.Document hideClassesFromClassDescriptions(org.w3c.dom.Document doc, java.util.Set hiddenClasses) throws java.lang.Exception
doc
- Class descriptions xml.hiddenClasses
- Set holding the set of class symname.
java.lang.Exception
- All errors.public static org.w3c.dom.Document getPermissionsNormalized(WcmAuthoringDataProvider adp, WcmEntryTemplate entryTemplate) throws java.lang.Exception
adp
- The authoring data provider.entryTemplate
- The entry template object holding the entry template data.
java.lang.Exception
- All errors.public static boolean updatePermissionXML(WcmDataStore dataStore, org.w3c.dom.Document permissionXML) throws java.lang.Exception
dataStore
- The application data store.permissionXML
- The permission XML
java.lang.Exception
- All errors.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |