|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of ClassItem in org.objectweb.jac.aspects.authentication |
Methods in org.objectweb.jac.aspects.authentication with parameters of type ClassItem | |
void |
AuthenticationConf.setAuthenticator(ClassItem authenticatorClass,
String[] parameters)
Sets the authenticator to use. |
void |
AuthenticationConf.setAuthenticator(ClassItem authenticatorClass)
Sets the authenticator to use when the authenticator's constructor takes no parameters. |
void |
AuthenticationAC.setAuthenticator(ClassItem authenticatorClass)
|
void |
AuthenticationAC.setAuthenticator(ClassItem authenticatorClass,
String[] parameters)
|
Uses of ClassItem in org.objectweb.jac.aspects.distribution |
Methods in org.objectweb.jac.aspects.distribution with parameters of type ClassItem | |
void |
DeploymentConf.setTransient(ClassItem classItem,
String fieldName)
This configuration method sets a field to be transient. |
void |
DeploymentAC.setTransient(ClassItem classItem,
String fieldName)
|
Uses of ClassItem in org.objectweb.jac.aspects.export |
Methods in org.objectweb.jac.aspects.export with parameters of type ClassItem | |
protected boolean |
Exporter.allowExport(ClassItem cli)
Tells wether instances of a class should be exported or not |
Uses of ClassItem in org.objectweb.jac.aspects.gui |
Methods in org.objectweb.jac.aspects.gui that return ClassItem | |
ClassItem |
ObjectChooserModel.getType()
Returns the type of the elements contained in the combo box. |
ClassItem |
ComboBoxModel.getType()
|
ClassItem |
ClassChooser.getRoot()
|
ClassItem |
ClassChooser.getChoice()
|
Methods in org.objectweb.jac.aspects.gui with parameters of type ClassItem | |
void |
ObjectChooserModel.setType(ClassItem type)
Set the type of elements contained in the combo box. |
void |
MethodAppearenceGuiConf.setMethodDynamicParameterChoice(MethodItem method,
ClassItem[] targetClasses,
String[] targetMethods,
boolean[] editable)
Same as setDynamicFieldChoice but for method parameters
The values are dynamically defined at runtime by the
invocation of a static target method. |
Object |
InputWrapper.create(ClassItem classItem,
Display display)
This method performs all the inputs operations for an instance creation. |
void |
GuiAC.setStyle(ClassItem cli,
String style)
|
void |
GuiAC.setIcon(ClassItem cli,
String name)
|
void |
GuiAC.setDynamicIcon(ClassItem cli,
MethodItem iconMethod)
|
static String |
GuiAC.getIcon(ClassItem cli,
Object object)
Gets an icon for an object |
void |
GuiAC.setMenu(ClassItem classItem,
String[] menu)
|
static MethodItem[] |
GuiAC.getMenu(ClassItem classItem)
|
static boolean |
GuiAC.isCreatable(ClassItem cli)
Wether to show "new" buttons for a class (defaults to true) |
void |
GuiAC.setVisible(ClassItem cl,
String[] itemNames,
boolean visible)
|
void |
GuiAC.setReadOnly(ClassItem cli,
String viewName,
boolean readOnly)
|
void |
GuiAC.setEmbeddedEditors(ClassItem cli)
|
void |
GuiAC.setEmbeddedEditors(ClassItem cli,
String viewName,
boolean embedded)
|
static boolean |
GuiAC.hasEmbeddedEditors(ClassItem cli)
|
void |
GuiAC.setDefaultEditorWidth(ClassItem type,
Length width)
|
void |
GuiAC.setDefaultEditorHeight(ClassItem type,
Length height)
|
void |
GuiAC.setCategories(ClassItem cli,
String[] categories)
|
void |
GuiAC.checkCategories(ClassItem cli,
int length)
|
void |
GuiAC.setCategoriesIcons(ClassItem cli,
String[] icons)
|
static String[] |
GuiAC.getCategoriesIcons(ClassItem cl)
Get the categories icons (icons displayed in tabs). |
void |
GuiAC.setCategoriesLabels(ClassItem cli,
String[] labels)
|
static String[] |
GuiAC.getCategoriesLabels(ClassItem cl)
Get the categories labels (text displayed in tabs). |
void |
GuiAC.setDesktopCustomizedView(ClassItem classItem,
ClassItem type)
Tells if a field item's value must be displayed embbeded. |
void |
GuiAC.setDesktopCustomizedView(ClassItem classItem,
ClassItem type)
Tells if a field item's value must be displayed embbeded. |
void |
GuiAC.setToString(ClassItem classItem,
String formatExpression)
|
void |
GuiAC.setToString(ClassItem classItem,
MemberItem selector,
String formatExpression)
|
void |
GuiAC.setToString(ClassItem classItem,
ClassItem selector,
String formatExpression)
|
void |
GuiAC.setToString(ClassItem classItem,
ClassItem selector,
String formatExpression)
|
void |
GuiAC.setToolTipText(ClassItem classItem,
String formatExpression)
|
void |
GuiAC.setToolTipText(ClassItem classItem,
MemberItem selector,
String formatExpression)
|
void |
GuiAC.setToolTipText(ClassItem classItem,
ClassItem selector,
String formatExpression)
|
void |
GuiAC.setToolTipText(ClassItem classItem,
ClassItem selector,
String formatExpression)
|
void |
GuiAC.setDefaultSortedColumn(ClassItem cl,
String column)
|
void |
GuiAC.setAutoCreateAll(ClassItem cl)
|
void |
GuiAC.setAutoCreateParametersEx(ClassItem cli,
String[] excludedMethods)
|
void |
GuiAC.setAutoCreateState(ClassItem cli,
String[] fields)
|
void |
GuiAC.setOpenViewMethod(ClassItem cli,
String methodName)
|
void |
GuiAC.declareView(ClassItem cli,
String viewName,
String parentViewName)
|
void |
GuiAC.declareView(ClassItem cli,
String viewName)
|
static ObjectView |
GuiAC.getView(ClassItem cli,
String viewName)
Gets an object view by name. |
void |
GuiAC.setAttributesOrder(ClassItem cli,
String[] attributeNames)
|
void |
GuiAC.setAttributesOrder(ClassItem cli,
String viewName,
String[] attributeNames)
|
void |
GuiAC.setLineBreaks(ClassItem cli,
String[] fields)
|
void |
GuiAC.setMethodsOrder(ClassItem cli,
String[] methodNames)
|
void |
GuiAC.setMethodsOrder(ClassItem cli,
String viewName,
String[] methodNames)
|
void |
GuiAC.setCreationAttributesOrder(ClassItem cli,
String[] attributeNames)
|
static FieldItem[] |
GuiAC.getCreationAttributesOrder(ClassItem cl)
Gets the field items to display when creation a new instance a class |
void |
GuiAC.setMembersOrder(CollectionItem collection,
ClassItem targetClass,
String[] memberNames)
|
void |
GuiAC.setMembersOrder(CollectionItem collection,
String viewName,
ClassItem targetClass,
String[] memberNames)
|
void |
GuiAC.setTableMembersOrder(ClassItem cli,
String[] memberNames)
|
void |
GuiAC.setTableMembersOrder(ClassItem cli,
String viewName,
String[] memberNames)
|
void |
GuiAC.setTreeAttributesOrder(ClassItem cli,
String[] attributeNames)
|
void |
GuiAC.setDynamicFieldChoice(FieldItem field,
Boolean editable,
ClassItem targetClass,
String targetMethod)
|
void |
GuiAC.setMethodDynamicParameterChoice(MethodItem method,
ClassItem[] targetClasses,
String[] targetMethods,
boolean[] editable)
|
void |
GuiAC.setSelectionTarget(CollectionItem collection,
ClassItem targetClass,
String targetField)
|
void |
GuiAC.setDefaultsAttributesOrder(ClassItem cl,
String[] attributeNames)
|
static FieldItem[] |
GuiAC.getDefaultsAttributesOrder(ClassItem cl)
|
void |
GuiAC.setClosingMethod(ClassItem classItem,
String methodName)
|
void |
GuiAC.setModifyingBoxes(ClassItem classItem,
String methodName,
String[] modifyingBoxes)
|
void |
GuiAC.setDescription(ClassItem classItem,
String description)
|
void |
GuiAC.setLabel(ClassItem classItem,
String label)
|
void |
GuiAC.setMnemonics(ClassItem cli,
String mnemonics)
|
void |
GuiAC.setEnableLinks(ClassItem cli,
String viewName,
boolean enable)
|
void |
GuiAC.addViewFieldDependency(ClassItem cl,
String fieldName)
|
static Collection |
GuiAC.getDependentFields(ClassItem cli)
Returns the fields the views a class depend on. |
void |
GuiAC.selectWithIndexedField(ClassItem cl,
CollectionItem collection,
String repositoryName)
|
void |
GuiAC.setIndexNotFoundHandler(ClassItem cl,
MethodItem handler)
|
static Object |
GuiAC.getRepository(ClassItem cl)
Gets the repository object of a class |
static void |
GenericFactory.fillObjectView(CompositeView view,
ClassItem cli,
String viewName,
Object substance)
|
protected static void |
GenericFactory.addChoices(ComboBoxModel choice,
ClassItem type,
Enum enum,
Object substance,
FieldItem field,
boolean nullAllowed,
String nullLabel,
Predicate predicate)
Adds choices within a container containing a combobox and sort them. |
static FieldEditor |
GenericFactory.createReferenceEditor(ViewFactory factory,
DisplayContext context,
Object substance,
FieldItem field,
String editorName,
ClassItem type,
Predicate predicate,
boolean nullAllowed,
String nullLabel,
boolean isCreationAllowed)
A generic view builder for a reference editor. |
void |
FieldEditor.setEditedType(ClassItem type)
Sets the type of the edited value |
void |
FieldAppearenceGuiConf.setEmbeddedEditors(ClassItem cl)
Tells the GUI to use embedded editors in the default view for all fields of a class, whenever possible. |
void |
FieldAppearenceGuiConf.setEmbeddedEditors(ClassItem cl,
String viewName,
boolean embedded)
Tells the GUI wether to use embedded editors in a view for all fields of a class. |
void |
FieldAppearenceGuiConf.setDefaultEditorWidth(ClassItem type,
Length width)
Sets the default editor width for value of a given type. |
void |
FieldAppearenceGuiConf.setDefaultEditorHeight(ClassItem type,
Length height)
Sets the default editor height for value of a given type. |
void |
FieldAppearenceGuiConf.setMembersOrder(CollectionItem collection,
ClassItem targetClass,
String[] memberNames)
Sets the default order in which the attributes of the elements of a collection are to be rendered. |
void |
FieldAppearenceGuiConf.setMembersOrder(CollectionItem collection,
String viewName,
ClassItem targetClass,
String[] memberNames)
Sets the order in which the attributes of the elements of a collection are to be rendered for a given view. |
void |
FieldAppearenceGuiConf.setDynamicFieldChoice(FieldItem field,
Boolean editable,
ClassItem targetClass,
String targetMethod)
Same as setFieldChoice but with dynamically
defined values.
|
Object |
EventHandler.onCreateObject(DisplayContext context,
ClassItem cli,
Object substance,
FieldItem field)
This method is upcalled when an object has to be created in an object chooser. |
void |
ComboBoxModel.setType(ClassItem type)
|
void |
ClassChooser.setChoice(ClassItem cl)
|
void |
ClassAppearenceGuiConf.setToString(ClassItem classItem,
String formatExpression)
Defines the string representation of the instances of the class. |
void |
ClassAppearenceGuiConf.setToString(ClassItem classItem,
MemberItem selector,
String formatExpression)
Defines a contextual string representation of the instances of the class that will override the default one in some cases, depending on the selector parameter. |
void |
ClassAppearenceGuiConf.setToString(ClassItem classItem,
ClassItem selector,
String formatExpression)
Defines a contextual string representation of the instances of the class that will override the default one in some cases, depending on the selector parameter. |
void |
ClassAppearenceGuiConf.setToString(ClassItem classItem,
ClassItem selector,
String formatExpression)
Defines a contextual string representation of the instances of the class that will override the default one in some cases, depending on the selector parameter. |
void |
ClassAppearenceGuiConf.setIcon(ClassItem cli,
String name)
This configuration method attaches an icon to a given class so that the iconized instances of this class will be represented by this icon (for instance in a treeview). |
void |
ClassAppearenceGuiConf.setDynamicIcon(ClassItem cli,
MethodItem iconMethod)
Defines a method to dynamically compute the icon for a class. |
void |
ClassAppearenceGuiConf.setToolTipText(ClassItem classItem,
String formatExpression)
Defines a contextual string tooltip for the instances of a class. |
void |
ClassAppearenceGuiConf.setToolTipText(ClassItem classItem,
MemberItem selector,
String formatExpression)
Defines a contextual string tooltip for the instances of the class that will override the default one in some cases, depending on the selector parameter. |
void |
ClassAppearenceGuiConf.setToolTipText(ClassItem classItem,
ClassItem selector,
String formatExpression)
Defines a contextual string tooltip for the instances of the class that will override the default one in some cases, depending on the selector parameter. |
void |
ClassAppearenceGuiConf.setToolTipText(ClassItem classItem,
ClassItem selector,
String formatExpression)
Defines a contextual string tooltip for the instances of the class that will override the default one in some cases, depending on the selector parameter. |
void |
ClassAppearenceGuiConf.setMenu(ClassItem classItem,
String[] menu)
This configuration method attaches a contextual menu to a given class so that the instances of this class will show the menu when the user performs a right click on it (by default the menu shows all the methods). |
void |
ClassAppearenceGuiConf.setCategories(ClassItem cl,
String[] categories)
This configuration method sets some categories for a class. |
void |
ClassAppearenceGuiConf.setCategoriesIcons(ClassItem cli,
String[] icons)
This configuration method sets categories icons for a class. |
void |
ClassAppearenceGuiConf.setCategoriesLabels(ClassItem cli,
String[] labels)
This configuration method sets categories labels for a class. |
void |
ClassAppearenceGuiConf.setDesktopCustomizedView(ClassItem classItem,
ClassItem type)
This configuration method allows the programmer to tell that the given class should be viewed with a given customized view when it is opened in a desktop panel. |
void |
ClassAppearenceGuiConf.setDesktopCustomizedView(ClassItem classItem,
ClassItem type)
This configuration method allows the programmer to tell that the given class should be viewed with a given customized view when it is opened in a desktop panel. |
void |
ClassAppearenceGuiConf.setAttributesOrder(ClassItem cl,
String[] attributeNames)
Sets the order in which the attributes of a class are to be rendered. |
void |
ClassAppearenceGuiConf.setAttributesOrder(ClassItem cl,
String viewName,
String[] attributeNames)
Sets the order in which the attributes of a class are to be rendered for a given view. |
void |
ClassAppearenceGuiConf.setDefaultsAttributesOrder(ClassItem cl,
String[] attributeNames)
Sets the attributes to be displayed for editable default values in tables |
void |
ClassAppearenceGuiConf.setLineBreaks(ClassItem cli,
String[] fields)
Defines which fields should start on a new line. |
void |
ClassAppearenceGuiConf.setMethodsOrder(ClassItem cl,
String[] methodNames)
Sets the order in which the methods of a class are to be rendered for the default view. |
void |
ClassAppearenceGuiConf.setMethodsOrder(ClassItem cl,
String viewName,
String[] methodNames)
Sets the order in which the methods of a class are to be rendered for a view. |
void |
ClassAppearenceGuiConf.setCreationAttributesOrder(ClassItem cl,
String[] attributeNames)
Sets the order in which the attributes of a class are to be rendered when an instance is created. |
void |
ClassAppearenceGuiConf.setTableMembersOrder(ClassItem cl,
String[] memberNames)
Sets the order in which the attributes of a class are to be rendered when their instance are placed within a table of the a default view. |
void |
ClassAppearenceGuiConf.setTableMembersOrder(ClassItem cl,
String viewName,
String[] memberNames)
Sets the order in which the attributes of a class are to be rendered when their instance are placed within a table of a given view. |
void |
ClassAppearenceGuiConf.setTreeAttributesOrder(ClassItem cl,
String[] attributeNames)
Sets the order in which the attributes of a class are to be rendered when their instance are placed within a tree. |
void |
ClassAppearenceGuiConf.setDefaultSortedColumn(ClassItem cl,
String column)
Sets a default sorted column for a class. |
void |
ClassAppearenceGuiConf.setDescription(ClassItem cl,
String description)
Sets the description of a class. |
void |
ClassAppearenceGuiConf.setLabel(ClassItem cl,
String label)
Sets the label of a class. |
void |
ClassAppearenceGuiConf.selectWithIndexedField(ClassItem cl,
CollectionItem collection,
String repositoryName)
Tells the gui to use a primary key field to select instances of a class, instead of a combobox. |
void |
ClassAppearenceGuiConf.setStyle(ClassItem cli,
String style)
Set the style for a class |
void |
ClassAppearenceGuiConf.setReadOnly(ClassItem cli,
String viewName,
boolean readOnly)
|
void |
ClassAppearenceGuiConf.setMnemonics(ClassItem cli,
String mnemonics)
Defines preferred mnemonics for class. |
void |
BehaviorGuiConf.setAutoCreateAll(ClassItem cl)
This configuration method tells that all the class methods must be in auto-creation mode. |
void |
BehaviorGuiConf.setAutoCreateParametersEx(ClassItem cl,
String[] excludedMethods)
This configuration method tells that all the class methods must be in auto-creation mode except the excluded ones. |
void |
BehaviorGuiConf.setAutoCreateState(ClassItem cl,
String[] fields)
This configuration method tells which fields of the given class should be auto-created. |
void |
BehaviorGuiConf.setOpenViewMethod(ClassItem cl,
String methodName)
This configuration method allows the programmer to specify that the result of a given method (should be a wrappe) opens a new view on this result instead of treating it as a simple result. |
void |
BehaviorGuiConf.setSelectionTarget(CollectionItem collection,
ClassItem targetClass,
String targetField)
Sets the field to be displayed when an item of the collection is selected, instead of the item itself. |
void |
BehaviorGuiConf.addViewFieldDependency(ClassItem cl,
String fieldName)
Specify that the object views of instances of a class depend on the value of a field. |
void |
BehaviorGuiConf.setClosingMethod(ClassItem cl,
String methodName)
Sets the given method to be closing (ie, when the user press the corresponding button, it performs the call and closes the current object view). |
void |
BehaviorGuiConf.setIndexNotFoundHandler(ClassItem cl,
MethodItem handler)
Defines a method to be called when an object referred to by it's indexed field is not found. |
static Collection |
Actions.getLoggers(ClassItem cli)
Returns all known loggers |
static Collection |
Actions.getLogLevels(ClassItem cli)
Returns all known log levels |
Constructors in org.objectweb.jac.aspects.gui with parameters of type ClassItem | |
ObjectView(ClassItem cl,
String name)
|
|
ObjectView(ClassItem cl,
String name,
ObjectView parent)
|
|
ClassChooser(ClassItem root)
|
Uses of ClassItem in org.objectweb.jac.aspects.gui.reports |
Constructors in org.objectweb.jac.aspects.gui.reports with parameters of type ClassItem | |
JacDataSource(ClassItem cl)
Create a data source of all instances of a class. |
|
JacDataSource(Collection collection,
ClassItem componentType)
Creates a data source for a collection. |
Uses of ClassItem in org.objectweb.jac.aspects.gui.swing |
Fields in org.objectweb.jac.aspects.gui.swing declared as ClassItem | |
protected ClassItem |
AbstractFieldEditor.type
|
Methods in org.objectweb.jac.aspects.gui.swing with parameters of type ClassItem | |
void |
AbstractFieldEditor.setEditedType(ClassItem type)
|
Uses of ClassItem in org.objectweb.jac.aspects.gui.web |
Fields in org.objectweb.jac.aspects.gui.web declared as ClassItem | |
protected ClassItem |
AbstractFieldEditor.type
|
Methods in org.objectweb.jac.aspects.gui.web with parameters of type ClassItem | |
void |
Table.setColumnsInfo(String[] headers,
FieldItem[] fields,
ClassItem[] classes,
ClassItem[] viewerClasses)
|
void |
Table.setColumnsInfo(String[] headers,
FieldItem[] fields,
ClassItem[] classes,
ClassItem[] viewerClasses)
|
void |
IndicesSelector.setEditedType(ClassItem type)
|
void |
AbstractFieldEditor.setEditedType(ClassItem type)
|
Uses of ClassItem in org.objectweb.jac.aspects.idGen |
Methods in org.objectweb.jac.aspects.idGen with parameters of type ClassItem | |
void |
IdGenAC.genId(ClassItem cl,
String counter,
String fieldName)
|
Uses of ClassItem in org.objectweb.jac.aspects.integrity |
Methods in org.objectweb.jac.aspects.integrity with parameters of type ClassItem | |
void |
IntegrityAC.declareAssociation(ClassItem classA,
String fieldA,
ClassItem classB,
String fieldB)
|
void |
IntegrityAC.declareAssociation(ClassItem classA,
String fieldA,
ClassItem classB,
String fieldB)
|
void |
IntegrityAC.declareDirectionalAssociation(ClassItem classA,
String fieldA,
ClassItem classB,
String fieldB)
|
void |
IntegrityAC.declareDirectionalAssociation(ClassItem classA,
String fieldA,
ClassItem classB,
String fieldB)
|
Uses of ClassItem in org.objectweb.jac.aspects.persistence |
Fields in org.objectweb.jac.aspects.persistence declared as ClassItem | |
ClassItem |
StorageField.classID
|
Methods in org.objectweb.jac.aspects.persistence with parameters of type ClassItem | |
StorageField[] |
Storage.getFields(OID oid,
ClassItem cl,
FieldItem[] fields)
Get the values of several fields. |
Collection |
Storage.getObjects(ClassItem cl)
Get all instances of a class, or all objects if cl == null. |
StorageField[] |
SQLStorage.getFields(OID oid,
ClassItem cl,
FieldItem[] fields)
|
Collection |
SQLStorage.getObjects(ClassItem cl)
|
protected void |
SQLStorage.getObjects(ClassItem cl,
Vector objects)
|
void |
PersistenceConf.setValueConverter(ClassItem cl,
ClassItem converter)
Associate a String-Object converter with a class In order to stock objects in database, those objects must be converted in a String format. |
void |
PersistenceConf.setValueConverter(ClassItem cl,
ClassItem converter)
Associate a String-Object converter with a class In order to stock objects in database, those objects must be converted in a String format. |
void |
PersistenceConf.configureStorage(ClassItem storageClass,
String[] storageParameters)
Specify which the default storage class to use and the parameters to use to instanciate it. |
void |
PersistenceConf.configureStorage(String id,
ClassItem storageClass,
String[] storageParameters)
Specify which storage class to use and the parameters to use to instanciate it. |
void |
PersistenceConf.preloadAllFields(ClassItem cl)
Set all fields of a class to be preloaded Same as preloadField, but for all fields of the class |
void |
PersistenceAC.setValueConverter(ClassItem cl,
ClassItem converterClass)
|
void |
PersistenceAC.setValueConverter(ClassItem cl,
ClassItem converterClass)
|
void |
PersistenceAC.configureStorage(ClassItem storageClass,
String[] storageParameters)
|
void |
PersistenceAC.configureStorage(String id,
ClassItem storageClass,
String[] storageParameters)
|
Storage |
PersistenceAC.getStorage(ClassItem cli)
Returns the storage for a given class |
void |
PersistenceAC.whenGetObjects(Collection objects,
ClassItem cl)
Load objects from the storage when required. |
void |
PersistenceAC.preloadAllFields(ClassItem cl)
|
StorageField[] |
FSStorage.getFields(OID oid,
ClassItem cl,
FieldItem[] fields)
|
Collection |
FSStorage.getObjects(ClassItem cl)
|
protected void |
FSStorage.getObjects(ClassItem cl,
Vector objects)
Gets all instances of a class and its subclasses. |
Storage |
AbstractPersistenceWrapper.getStorage(ClassItem cli)
Returns the storage for a given class |
Constructors in org.objectweb.jac.aspects.persistence with parameters of type ClassItem | |
StorageField(ClassItem classID,
FieldItem fieldID,
Object value)
|
Uses of ClassItem in org.objectweb.jac.aspects.queue |
Methods in org.objectweb.jac.aspects.queue with parameters of type ClassItem | |
void |
MessageQueueConf.registerField(ClassItem cli,
String fieldName,
MethodItem callback)
Register a call to be called when a field is changed. |
void |
MessageQueueAC.registerField(ClassItem cli,
String fieldName,
MethodItem callback)
|
Uses of ClassItem in org.objectweb.jac.aspects.user |
Methods in org.objectweb.jac.aspects.user that return ClassItem | |
ClassItem |
UserAC.getUserClass()
|
Methods in org.objectweb.jac.aspects.user with parameters of type ClassItem | |
void |
UserWrapper.addClass(ClassItem cl)
|
void |
UserConf.setUserClass(ClassItem userClass,
String loginField,
String passwordField,
String profileField)
Sets the class of the application that must be used as a storage for the users. |
void |
UserConf.defineHabilitation(ClassItem cli,
MethodItem condition)
Defines a contextual habilitation test for instances of given class (This is a generic method to be used when the habilitation does not fit any simple scheme). |
void |
UserConf.addOwnerFilter(String profile,
ClassItem cl,
String collectionName)
For the specified collection, users will only see the objects that they own. |
void |
UserConf.setContextualProfile(ClassItem cl,
String field,
String profile)
Set a contextual profile to a reference or a collection that contains user(s). |
void |
UserAC.setContextualProfile(ClassItem cl,
String field,
String profile)
|
void |
UserAC.setUserClass(ClassItem userClass,
String loginField,
String passwordField,
String profileField)
|
void |
UserAC.autoInitClasses(ClassItem cl,
String triggerClassExpr,
String triggerMethodExpr)
|
void |
UserAC.defineHabilitation(ClassItem cli,
MethodItem habilitation)
|
void |
UserAC.addOwnerFilter(String profile,
ClassItem cl,
String collectionName)
|
Uses of ClassItem in org.objectweb.jac.core |
Methods in org.objectweb.jac.core that return ClassItem | |
ClassItem |
Interaction.getClassItem()
|
ClassItem |
Imports.getClass(String className)
|
ClassItem |
ACConfiguration.getAspectClass()
Return the class item for the configured aspect component. |
protected static ClassItem |
ACConfiguration.getClass(String name,
Imports imports)
|
Methods in org.objectweb.jac.core with parameters of type ClassItem | |
static List |
Wrapping.getWrappers(Wrappee wrappee,
ClassItem wrappeeClass)
Returns the wrappers that wrap the given wrappee or wrappee's class. |
static List |
Wrapping.getWrapperClasses(Wrappee wrappee,
ClassItem wrappeeClass)
Returns the classes of the wrappers that wrap the given wrappee or wrappee's class. |
static void |
Wrapping.wrap(Wrappee wrappee,
ClassItem wrappeeClass,
Wrapper wrapper)
Adds a wrapper to the current wrappee. |
static void |
Wrapping.wrapAll(Wrappee wrappee,
ClassItem wrappeeClass,
Wrapper wrapper)
Wraps all the wrappable (public) methods of the current wrappee. |
static void |
Wrapping.unwrap(Wrappee wrappee,
ClassItem wrappeeClass,
Wrapper wrapper)
Definitively removes a wrapper. |
static void |
Wrapping.unwrap(Wrappee wrappee,
ClassItem wrappeeClass,
Collection acWrappers)
Removes all wrappers that belong to list of wrappers |
static void |
Wrapping.unwrapAll(Wrappee wrappee,
ClassItem wrappeeClass,
Wrapper wrapper)
|
static boolean |
Wrapping.isWrappedBy(Wrappee wrappee,
ClassItem wrappeeClass,
Wrapper wrapper)
Tells wether a wrapper wraps a wrappee or a class |
static boolean |
Wrapping.isWrappedBy(Wrappee wrappee,
ClassItem wrappeeClass,
Class wrapperClass)
Returns true if the wrappee or the wrappeeClass is wrapped by a wrapper class. |
static boolean |
Wrapping.isExtendedBy(Wrappee wrappee,
ClassItem wrappeeClass,
Class wrapperClass)
Tells wether a wrappee has a wrapper whose class can be assigned to a given wrapper class. |
static Object |
Wrapping.invokeRoleMethod(Wrappee wrappee,
ClassItem wrappeeClass,
Class wrapperClass,
String methodName,
Object[] parameters)
Invokes a role method on the wrappee. |
abstract void |
Pointcut.applyTo(Wrappee wrappee,
ClassItem cl)
Applies this pointcut to the given wrappee. |
protected abstract String |
Pointcut.parseKeyword(Wrappee wrappee,
ClassItem cl,
String keywordExpr,
List parameters)
Parses a keyword expression and returns its actual value as a regular expression regarding the context. |
protected List |
Pointcut.replaceTags(List parameters,
ClassItem cli)
Replace elements of parameters " |
protected void |
Pointcut.parseExpr(String descr,
Wrappee wrappee,
ClassItem cl,
String expr,
String[] keywords,
Vector result,
Vector inv)
A generic method that parses a pointcut expression and stores the result within a vector. |
static Object[] |
ObjectRepository.getMemoryObjects(ClassItem cl)
This method returns all the JAC objects of a given type as an array. |
static Object[] |
ObjectRepository.getMemoryObjects(ClassItem[] types)
This method returns all the Jac objects that match any of the given types. |
static Collection |
ObjectRepository.getObjects(ClassItem cl)
Gets all the JAC objects instances of a given class on the current VM and on all the external objects sources known by the aspects (maybe resticed by some aspects). |
static Collection |
ObjectRepository.getObjectsWhere(ClassItem cl,
FieldItem relation,
Object value)
Get all instances of a class whose field relation contains the given value. |
static Collection |
ObjectRepository.getObjectsWhere(ClassItem cl,
Predicate filter)
Get all instances of class cl which match a predicate |
void |
MethodPointcut.applyTo(Wrappee wrappee,
ClassItem cl)
Applies this pointcut to the given wrappee. |
protected Collection |
MethodPointcut.getMatchingMethodsFor(Wrappee wrappee,
ClassItem cli)
Gets the methods of the wrappee that are modified by this pointcut. |
protected Collection |
MethodPointcut.getMatchingStaticMethodsFor(ClassItem cli)
|
Collection |
MethodPointcut.parseMethodExpr(Wrappee wrappee,
ClassItem cli,
String expr)
|
protected void |
MethodPointcut.filterMethodKeywords(Object wrappee,
ClassItem cli,
String expr,
boolean inv,
Collection source,
Collection dest)
Adds methods from source that match an expression to a collection |
boolean |
MethodPointcut.isClassMatching(Wrappee wrappee,
ClassItem cl)
Tests if the given component class is modified (in a way or another) by this pointcut. |
boolean |
MethodPointcut.isNameMatching(Wrappee wrappee,
ClassItem cl)
Tests if the given component is modified (in a way or another) by this pointcut. |
boolean |
MethodPointcut.isHostMatching(Wrappee wrappee,
ClassItem cl)
Tests if the given component is modified (in a way or another) by this pointcut. |
protected String |
MethodPointcut.parseKeyword(Wrappee wrappee,
ClassItem cli,
String keywordExpr,
List parameters)
|
void |
BaseProgramListener.whenUsingNewClass(ClassItem cl)
This method is upcalled by JAC when a static method is called for the first time. |
void |
BaseProgramListener.whenGetObjects(Collection objects,
ClassItem cl)
Calls whenGetObjects on all aspects. |
void |
AspectComponent.whenUsingNewClass(ClassItem cli)
|
void |
AspectComponent.whenGetObjects(Collection objects,
ClassItem cl)
This method is called when a program gets a set of object from the object repository. |
void |
AspectComponent.setAttribute(ClassItem cli,
String name,
String value)
Generic config method to set an attribute on a class |
static Application |
ApplicationRepository.getOwningApplication(Wrappee wrappee,
ClassItem cl)
|
static String |
ApplicationRepository.getOwningApplicationName(Wrappee wrappee,
ClassItem cl)
|
static void |
ApplicationRepository.setOwningApplication(Wrappee wrappee,
ClassItem cl,
Application application)
|
void |
ACManager.whenUsingNewClass(ClassItem cl)
|
void |
ACManager.whenGetObjects(Collection objects,
ClassItem cl)
|
Uses of ClassItem in org.objectweb.jac.core.rtti |
Fields in org.objectweb.jac.core.rtti declared as ClassItem | |
protected ClassItem |
MemberItem.roleClassType
|
protected ClassItem |
CollectionItem.componentType
|
Methods in org.objectweb.jac.core.rtti that return ClassItem | |
ClassItem |
VirtualClassItem.getActualType()
|
ClassItem |
NoSuchFieldException.getClassItem()
|
ClassItem |
MemberItem.getTypeItem()
|
ClassItem |
MemberItem.getClassItem()
Returns the class item that owns the field (like getParent). |
ClassItem |
CollectionItem.getComponentType()
Returns the type of the objects contained in this collection. |
ClassItem |
ClassRepository.getClass(String name)
This method returns an existing class from its name. |
ClassItem |
ClassRepository.getClass(Object object)
This method returns the class item that corresponds to the given object class. |
ClassItem |
ClassRepository.getClass(Class cl)
This method returns the class item that corresponds to the given class. |
ClassItem |
ClassRepository.getNonPrimitiveClass(String className)
|
ClassItem |
ClassRepository.buildDefaultRTTI(Class cl)
This method builds the default RTTI for a given class name and returns a corresponding class item. |
ClassItem[] |
ClassItem.getInterfaceItems()
Returns the interfaces implemented by this class. |
ClassItem |
ClassItem.getSuperclass()
Gets the superclass of this class item. |
ClassItem |
ClassItem.getOwnerClassItem()
Gets the class this class is an inner class of. |
ClassItem |
AbstractMethodItem.getParameterTypeItem(int n)
Get the ClassItem of the type of a parameter of the method. |
ClassItem |
AbstractMethodItem.getOwningClass()
Returns the owning class of this method. |
Methods in org.objectweb.jac.core.rtti with parameters of type ClassItem | |
void |
RttiConf.declareCalculatedField(ClassItem cl,
String fieldName,
String getterName)
Declare a calculated field, which is a field with only a getter and no actual field. |
void |
RttiConf.newVirtualClass(String className,
ClassItem actualType)
Create a new virtual class. |
void |
RttiConf.defineRepository(ClassItem type,
String repositoryName,
CollectionItem repositoryCollection)
Declare a repository to get instances of a class from, instead of fetching all instances of the class, when ObjectRepository.getObjects(ClassItem) is called. |
void |
RttiConf.setClass(ClassItem cli,
String className)
Sets a user defined class on a class. |
void |
RttiConf.addAllowedCast(ClassItem src,
ClassItem dest)
Specify that a type can be safely casted into another type. |
void |
RttiConf.addAllowedCast(ClassItem src,
ClassItem dest)
Specify that a type can be safely casted into another type. |
void |
RttiConf.addMixinMethod(ClassItem cli,
MethodItem method)
Adds a mixin method to a class. |
void |
RttiAC.declareCalculatedField(ClassItem cl,
String fieldName,
String getterName)
|
void |
RttiAC.newVirtualClass(String className,
ClassItem actualType)
|
void |
RttiAC.defineRepository(ClassItem type,
String repositoryName,
CollectionItem repositoryCollection)
|
void |
RttiAC.setClass(ClassItem cli,
String className)
|
void |
RttiAC.addAllowedCast(ClassItem src,
ClassItem dest)
|
void |
RttiAC.addAllowedCast(ClassItem src,
ClassItem dest)
|
static boolean |
RttiAC.isCastAllowed(ClassItem src,
ClassItem dest)
|
static boolean |
RttiAC.isCastAllowed(ClassItem src,
ClassItem dest)
|
void |
RttiAC.addMixinMethod(ClassItem cli,
MethodItem method)
|
static String |
NamingConventions.getShortClassName(ClassItem cli)
Returns the short name of a class. |
void |
MemberItem.setRole(ClassItem roleClassType,
String roleType,
String roleName)
Sets this field to be actually implemented by a field of a role wrapper. |
FieldItem |
FieldItem.clone(ClassItem parent)
Copies this field to an other class. |
void |
CollectionItem.setComponentType(ClassItem componentType)
Sets the component type of the collection. |
FieldItem |
CollectionItem.clone(ClassItem parent)
|
void |
ClassRepository.buildDefaultFieldRTTI(ClassItem cli)
|
protected void |
ClassItem.setSuperClass(ClassItem superClass)
Set the super class of this class and updates the children of the super class. |
void |
ClassItem.addChild(ClassItem child)
|
boolean |
ClassItem.isSubClassOf(ClassItem cl)
Tells wether the class inherits from a subclass |
Constructors in org.objectweb.jac.core.rtti with parameters of type ClassItem | |
VirtualClassItem(String name,
ClassItem actualType)
Default contructor to create a new virtual class item object. |
|
NoSuchMemberException(ClassItem cl,
String member)
Create a new exception |
|
NoSuchFieldException(ClassItem cli,
String fieldName)
|
|
MixinMethodItem(Method method,
ClassItem parent)
|
|
MethodItem(Method delegate,
ClassItem parent)
Default contructor to create a new method item object. |
|
MemberItem(ClassItem parent)
|
|
MemberItem(Object delegate,
ClassItem parent)
|
|
FieldItem(Field delegate,
ClassItem parent)
Default contructor to create a new field item object. |
|
FieldItem(ClassItem parent)
|
|
FieldItem(String name,
MethodItem getter,
ClassItem parent)
Creates a calculated FieldItem |
|
FieldItem(String name,
MethodItem getter,
MethodItem setter,
ClassItem parent)
Creates a FieldItem with specific getter and setter |
|
FieldItem(String expression,
List path,
ClassItem parent)
Creates an expression FieldItem |
|
ConstructorItem(Constructor delegate,
ClassItem parent)
Default contructor to create a new constructor item object. |
|
CollectionItem(Field delegate,
ClassItem parent)
Creates a CollectionItem for a real field |
|
CollectionItem(String name,
List path,
ClassItem parent)
Creates a CollectionItem for an expression field. |
|
CollectionItem(String name,
MethodItem getter,
ClassItem parent)
Creates a CollectionItem for a calculated field. |
|
AbstractMethodItem(Object delegate,
ClassItem parent)
Default contructor to create a new abstract method item. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |