The Service Center UI is defined using the following objects. The data structure is defined by the FrameworkDataSpecification.xsd XML schema, with data files stored in corresponding XML files.

The FrameworkObject base class contains attributes that are shared by all framework objects via an inheritance relationship. The FrameworkObject shared attributes can be organized into four groups:

The attributes of the FrameworkObject are:

Attribute

Type

Description

id

string

Provides a unique ID.

app-id

string

Identifier that partitions objects by application.

The following value can be used:
workspace=Service Center

enabled-yn

boolean

The enabled flag provides a quick way to turn the object on or off in the UI without removing it. Value is true or false.

name-key

string

Resource bundle key for providing an object name in administration tools.

object-type

string

Object sub-class name for item-descriptor inheritance.

description-key

string

Resource bundle key for providing an object description in administration tools.

image-url

string

Path to object image graphic in administration tools. The image-url allows a graphic to represent the object.

resource-bundle

string

Resource bundle identifier for object resources. The resource bundle identifier allows any resource bundle on the class path to be used for object string resources, if not using the default resource bundle.

default-framework-ids

string

Second object that contains default values for the current object. The default attribute defines a second object that contains default values. This supports functionality to restore defaults.

content-ids

contains map-entry elements

Identifies static content for the object, including JavaScript, CSS or HTML, by a user-friendly local key.

template-ids

contains map-entry elements

Identifies JSP page layout templates for the object mapped to a user-friendly local key.

option-name

contains map-entry elements

Lists segmented option names for the object mapped to a user-friendly local key.

The following extension methods are shared by all framework objects:

Returns

Method

Description

Map

get-contents

Returns a map of all content-definition objects assigned to the framework object keyed to the logical content identifier.

Map

get-templates

Returns a map of all template-definition objects assigned to the framework object keyed to the logical template identifier.

Map

get-framework-objects

Utility method that returns a map of framework objects by item type.

Arguments: int pItemType


Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices