|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface contains all relevant methods for maintaining UWL Configuration information. This is functionally is for administration UI only.
IUWLService,
ConfigurationRoot.IConfigurationOwner,
ItemType,
IUWLConfigurationManager| Method Summary | |
void |
addPersonalized(UWLContext context,
String navId,
NavigationNode node)
Adds a personalized navigation node for the user |
void |
addPersonalized(UWLContext context,
UWLView view)
Adds view as personalized object |
Object |
downloadConfigurationContent(String configurationName)
If configuration is registered as ZIP file then zip file InputStream is returned else string XML is returned |
String |
downloadXmlFromZip(String configurationName)
If configuration is registered as ZIP file then XML from inside the zip is returned. |
String |
getConfigurationDtd()
Returns the dtd file as string |
ConfigurationInfo |
getConfigurationInfo(String configurationName)
|
ConflictInfo[] |
getConflictingItemtypes(UWLContext context)
|
UWLView |
getOriginalView(String viewName,
UWLContext context)
Returns the UWL View object for the specified view name. |
List |
getRegisteredConfigurationDetails()
|
Set |
getRegisteredConfigurations()
|
void |
registerConfiguration(UWLContext context,
String namespace,
Collection itemTypes,
Collection views,
NavigationNode navigationRoot,
ConfigurationRoot.IConfigurationOwner owner)
Register ItemTypes, Views, NavigationRoot. |
RegistrationResult |
registerConfiguration(UWLContext context,
String configurationName,
ConfigurationFile xmlorZipFile,
ConfigurationRoot.IConfigurationOwner configurationOwner)
Method for registering new Configurations with the Universal Worklist. |
void |
registerConfiguration(UWLContext context,
String configurationName,
List itemTypes,
List views,
ConfigurationRoot.IConfigurationOwner configurationOwner)
Registers itemTypes and views for the configuration passed. |
RegistrationResult |
registerConfigurationForASystem(UWLContext ctx,
String namespace,
String system,
ConfigurationFile xmlOrZipFile,
ConfigurationRoot.IConfigurationOwner owner)
Method for registering Configuration specific to a system. |
RegistrationResult |
registerConfigurationXml(UWLContext context,
String configurationName,
InputStream xmlStream,
ConfigurationRoot.IConfigurationOwner owner)
Method for registering new Configurations with the Universal Worklist. |
RegistrationResult |
registerConfigurationZip(UWLContext context,
String configurationName,
InputStream xmlStream,
ConfigurationRoot.IConfigurationOwner owner)
Method for registering new Configurations with the Universal Worklist. |
void |
registerItemTypes(UWLContext context,
String configurationName,
List itemTypes,
ConfigurationRoot.IConfigurationOwner configurationOwner)
Registers itemTypes for the configuration passed. |
int |
removePersonalized(String[] viewNames)
Removes all the personalized views passed for all the users. |
void |
removePersonalizedNavigationNode(UWLContext context,
String id)
Removes the personalized navigation node for the user |
int |
removePersonalizedView(UWLContext context,
String viewName)
Removes personalized view |
int |
removePersonalizedViewForAllUsers(String viewName)
Removes the personalized view for all the users. |
int |
removePersonalizedViewsForUser(String userId)
Removes all personalized views for the user |
void |
unregisterConfiguration(UWLContext context,
String configurationName)
Removes configuration from the Universal Worklist system. |
int |
unregisterConfigurationsBeginningWith(UWLContext context,
String namesBeginsWith)
Unregisters all configurations which begins with the text passed. |
| Method Detail |
public RegistrationResult registerConfiguration(UWLContext context,
String configurationName,
ConfigurationFile xmlorZipFile,
ConfigurationRoot.IConfigurationOwner configurationOwner)
throws UWLException
context - configurationOwner - specifies the priority of registered configuration
UWLException - if parsing fails, or database problem or duplicate configuration names
public RegistrationResult registerConfigurationXml(UWLContext context,
String configurationName,
InputStream xmlStream,
ConfigurationRoot.IConfigurationOwner owner)
throws UWLException
context - xmlStream -
UWLException - if parsing fails, or database problem or duplicate configuration names
public RegistrationResult registerConfigurationZip(UWLContext context,
String configurationName,
InputStream xmlStream,
ConfigurationRoot.IConfigurationOwner owner)
throws UWLException
context -
UWLException - if parsing fails, or database problem or duplicate configuration names
public RegistrationResult registerConfigurationForASystem(UWLContext ctx,
String namespace,
String system,
ConfigurationFile xmlOrZipFile,
ConfigurationRoot.IConfigurationOwner owner)
throws UWLException
xmlOrZipFile - needed points to XML or zip filesystem - owner - whether by customer or SAP
UWLException - if parsing fails, or database problem or duplicate configuration names
public void registerItemTypes(UWLContext context,
String configurationName,
List itemTypes,
ConfigurationRoot.IConfigurationOwner configurationOwner)
throws UWLException
context - itemTypes - contains item type objectsconfigurationOwner -
UWLException - if duplicate configuration names
public void registerConfiguration(UWLContext context,
String configurationName,
List itemTypes,
List views,
ConfigurationRoot.IConfigurationOwner configurationOwner)
throws UWLException
context - itemTypes - contains item type objectsconfigurationOwner -
UWLException - if duplicate configuration names
public void registerConfiguration(UWLContext context,
String namespace,
Collection itemTypes,
Collection views,
NavigationNode navigationRoot,
ConfigurationRoot.IConfigurationOwner owner)
throws UWLException
context - namespace - Name for configurationitemTypes - Collection of all item types to be registeredviews - Collection of all views to be registerednavigationRoot - Navigation Root to be registeredowner -
UWLException - If duplicate configuration name exists
public void unregisterConfiguration(UWLContext context,
String configurationName)
throws UWLException
context - configurationName -
UWLException - if configuration can not be deleted.
public int unregisterConfigurationsBeginningWith(UWLContext context,
String namesBeginsWith)
throws UWLException
context - namesBeginsWith - not null
UWLExceptionpublic Set getRegisteredConfigurations()
public List getRegisteredConfigurationDetails()
public ConfigurationInfo getConfigurationInfo(String configurationName)
throws UWLException
configurationName -
UWLException
public String downloadXmlFromZip(String configurationName)
throws UWLException
configurationName -
UWLException
public Object downloadConfigurationContent(String configurationName)
throws UWLException
configurationName -
UWLExceptionpublic String getConfigurationDtd()
public void addPersonalized(UWLContext context,
UWLView view)
throws UWLException
context - view - not null
UWLException
public int removePersonalizedView(UWLContext context,
String viewName)
throws UWLException
context - viewName -
UWLException
public int removePersonalizedViewsForUser(String userId)
throws UWLException
userId -
UWLException
public int removePersonalized(String[] viewNames)
throws UWLException
viewNames - not null
UWLException
public int removePersonalizedViewForAllUsers(String viewName)
throws UWLException
viewName -
UWLException
public void addPersonalized(UWLContext context,
String navId,
NavigationNode node)
throws UWLException
context - navId - node -
UWLException
public void removePersonalizedNavigationNode(UWLContext context,
String id)
throws UWLException
context - id -
UWLExceptionpublic ConflictInfo[] getConflictingItemtypes(UWLContext context)
context -
public UWLView getOriginalView(String viewName,
UWLContext context)
viewName - context -
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||