|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.iba.definition.service.StandardIBADefinitionService
Use the newStandardIBADefinitionService
static factory method(s),
not the StandardIBADefinitionService
constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
private static IBADefinitionDBService |
theIBADefinitionDBService
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardIBADefinitionService()
|
Method Summary | |
AttributeDefNodeView |
copyAttributeDefinition(AttributeDefNodeView sourceNode,
AttributeDefNodeView targetParentNode)
Copies the current AttributeDefNodeView along with its children and attached them to the AttributeDefNodeView parent node. |
AttributeDefNodeView |
copyAttributeDefinition(AttributeDefNodeView sourceNode,
AttributeOrgNodeView targetParentNode)
Copies the current AttributeDefNodeView and its children and attached them to the new AttributeOrgNodeView parent node. |
AttributeOrgNodeView |
copyAttributeOrganizer(AttributeOrgNodeView sourceNode,
AttributeOrgNodeView targetParentNode)
Copies the current AttributeOrgNodeView along with its children and attaches them to the new parent node. |
AttributeDefDefaultView |
createAttributeDefinition(AttributeDefDefaultView attributeDef)
Creates the given attribute definition. |
AttributeOrgDefaultView |
createAttributeOrganizer(AttributeOrgDefaultView attributeOrg)
Creates the given Attribute Organizer. |
void |
deleteAttributeDefinition(AttributeDefDefaultView attributeDef)
Deletes the given attribute definition and all its children.. |
void |
deleteAttributeDefinition(AttributeDefNodeView node)
Permantly delete the Attribute Definition node and its children from the DB. |
void |
deleteAttributeOrganizer(AttributeOrgDefaultView attributeOrg)
Deletes the given attribute organizer and all its children. |
void |
deleteAttributeOrganizer(AttributeOrgNodeView node)
Deletes the given attribute organizer and all its children. |
protected void |
dispatchVetoableEvent(String eventType,
Persistable definition)
Dispatches a IBADefinitionServiceEvent that includes the event type and target (i.e., AbstractAttributeDefinition). |
AbstractAttributeDefinizerNodeView[] |
getAttributeChildren(AbstractAttributeDefinizerNodeView node)
Returns all the direct children of the given attribute node. |
AttributeDefDefaultView |
getAttributeDefDefaultView(AttributeDefNodeView attributeDef)
Gets the attribute definition given the attribute node. |
AttributeDefDefaultView |
getAttributeDefDefaultViewByPath(String path)
Get an attribute definition by specifing the path. |
AttributeOrgNodeView[] |
getAttributeOrganizerRoots()
Returns the root (first) level of all the Attribute Organizer. |
AttributeOrgDefaultView |
getAttributeOrgDefaultView(AttributeOrgNodeView attributeOrg)
Returns the lite attribute organizer (AttributeOrgDefaultView) given the node. |
String |
getConceptualClassname()
Deprecated. |
IBADefinitionDBService |
getIBADefinitionDBService()
|
static StandardIBADefinitionService |
newStandardIBADefinitionService()
Default factory for the class. |
AttributeDefDefaultView |
refreshAttributeDefDefaultView(AttributeDefDefaultView attributeDef)
Refreshes the given AttributeDefDefaultView by reloading the state of the same object from the DB. |
AttributeDefNodeView |
refreshAttributeDefNodeView(AttributeDefNodeView node)
Refreshes the current AttributeDefNodeView by reloading its state from the DB. |
AttributeOrgDefaultView |
refreshAttributeOrgDefaultView(AttributeOrgDefaultView attributeOrg)
Refreshes the given AttributeOrgDefaultView by reloading the state of the object from the DB. |
AttributeOrgNodeView |
refreshAttributeOrgNodeView(AttributeOrgNodeView node)
Refreshes the current AttributeOrgNodeView by reloading its state from the DB. |
void |
registerEvents(ManagerService manager)
Overrides the registration of all applicable locking service events with the service manager. |
private AbstractAttributeDefinizerView |
removeInvalidCharactersFromName(AbstractAttributeDefinizerView aadv)
|
private String |
removeInvalidCharactersFromString(String s)
|
AttributeDefDefaultView |
updateAttributeDefinition(AttributeDefDefaultView node)
Updates the current Attribute Definition by saving its state to the DB. |
AttributeDefNodeView |
updateAttributeDefinition(AttributeDefNodeView node)
Updates the current Attribute Definition node by saving its state to the DB. |
AttributeOrgDefaultView |
updateAttributeOrganizer(AttributeOrgDefaultView node)
Updates the current Attribute Organizer by saving its state to the DB. |
AttributeOrgNodeView |
updateAttributeOrganizer(AttributeOrgNodeView node)
Updates the current Attribute Organizer node by saving its state to the DB. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final IBADefinitionDBService theIBADefinitionDBService
Constructor Detail |
public StandardIBADefinitionService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public void registerEvents(ManagerService manager)
registerEvents
in interface Manager
registerEvents
in class StandardManager
manager
- protected void dispatchVetoableEvent(String eventType, Persistable definition) throws WTException, WTPropertyVetoException
eventType
- The name of the PersistentManagerEvent type.definition
- The target of the persistable operation.
WTException
WTPropertyVetoException
public static StandardIBADefinitionService newStandardIBADefinitionService() throws WTException
WTException
public AttributeOrgNodeView copyAttributeOrganizer(AttributeOrgNodeView sourceNode, AttributeOrgNodeView targetParentNode) throws IBADefinitionException, NotAuthorizedException, WTException, RemoteException
copyAttributeOrganizer
in interface IBADefinitionService
sourceNode
- targetParentNode
-
IBADefinitionException
NotAuthorizedException
WTException
RemoteException
public AttributeDefNodeView copyAttributeDefinition(AttributeDefNodeView sourceNode, AttributeOrgNodeView targetParentNode) throws IBADefinitionException, NotAuthorizedException, WTException, RemoteException
copyAttributeDefinition
in interface IBADefinitionService
sourceNode
- targetParentNode
-
IBADefinitionException
NotAuthorizedException
WTException
RemoteException
public AttributeDefNodeView copyAttributeDefinition(AttributeDefNodeView sourceNode, AttributeDefNodeView targetParentNode) throws IBADefinitionException, NotAuthorizedException, WTException, RemoteException
copyAttributeDefinition
in interface IBADefinitionService
sourceNode
- targetParentNode
-
IBADefinitionException
NotAuthorizedException
WTException
RemoteException
public AttributeDefDefaultView createAttributeDefinition(AttributeDefDefaultView attributeDef) throws IBADefinitionException, NotAuthorizedException, WTException, RemoteException
createAttributeDefinition
in interface IBADefinitionService
attributeDef
-
IBADefinitionException
NotAuthorizedException
WTException
RemoteException
public AttributeOrgDefaultView createAttributeOrganizer(AttributeOrgDefaultView attributeOrg) throws IBADefinitionException, NotAuthorizedException, WTException, RemoteException
createAttributeOrganizer
in interface IBADefinitionService
attributeOrg
-
IBADefinitionException
NotAuthorizedException
WTException
RemoteException
public void deleteAttributeDefinition(AttributeDefDefaultView attributeDef) throws IBADefinitionException, NotAuthorizedException, WTException, RemoteException
deleteAttributeDefinition
in interface IBADefinitionService
attributeDef
-
IBADefinitionException
NotAuthorizedException
WTException
RemoteException
public void deleteAttributeOrganizer(AttributeOrgDefaultView attributeOrg) throws IBADefinitionException, NotAuthorizedException, WTException, RemoteException
deleteAttributeOrganizer
in interface IBADefinitionService
attributeOrg
-
IBADefinitionException
NotAuthorizedException
WTException
RemoteException
public void deleteAttributeOrganizer(AttributeOrgNodeView node) throws IBADefinitionException, NotAuthorizedException, WTException, RemoteException
deleteAttributeOrganizer
in interface IBADefinitionService
node
-
IBADefinitionException
NotAuthorizedException
WTException
RemoteException
public void deleteAttributeDefinition(AttributeDefNodeView node) throws IBADefinitionException, NotAuthorizedException, WTException, RemoteException
deleteAttributeDefinition
in interface IBADefinitionService
node
-
IBADefinitionException
NotAuthorizedException
WTException
RemoteException
public AttributeOrgNodeView[] getAttributeOrganizerRoots() throws WTException, RemoteException
getAttributeOrganizerRoots
in interface IBADefinitionService
WTException
RemoteException
public AbstractAttributeDefinizerNodeView[] getAttributeChildren(AbstractAttributeDefinizerNodeView node) throws WTException, RemoteException
getAttributeChildren
in interface IBADefinitionService
node
-
WTException
RemoteException
public AttributeDefDefaultView getAttributeDefDefaultView(AttributeDefNodeView attributeDef) throws WTException, RemoteException
getAttributeDefDefaultView
in interface IBADefinitionService
attributeDef
-
WTException
RemoteException
public AttributeDefDefaultView getAttributeDefDefaultViewByPath(String path) throws IBADefinitionException, NotAuthorizedException, WTException, RemoteException
getAttributeDefDefaultViewByPath
in interface IBADefinitionService
path
-
IBADefinitionException
NotAuthorizedException
WTException
RemoteException
public AttributeOrgDefaultView getAttributeOrgDefaultView(AttributeOrgNodeView attributeOrg) throws WTException, RemoteException
getAttributeOrgDefaultView
in interface IBADefinitionService
attributeOrg
-
WTException
RemoteException
public AttributeDefDefaultView refreshAttributeDefDefaultView(AttributeDefDefaultView attributeDef) throws WTException, RemoteException
refreshAttributeDefDefaultView
in interface IBADefinitionService
attributeDef
-
WTException
RemoteException
public AttributeOrgDefaultView refreshAttributeOrgDefaultView(AttributeOrgDefaultView attributeOrg) throws WTException, RemoteException
refreshAttributeOrgDefaultView
in interface IBADefinitionService
attributeOrg
-
WTException
RemoteException
public AttributeDefNodeView refreshAttributeDefNodeView(AttributeDefNodeView node) throws WTException, RemoteException
refreshAttributeDefNodeView
in interface IBADefinitionService
node
-
WTException
RemoteException
public AttributeOrgNodeView refreshAttributeOrgNodeView(AttributeOrgNodeView node) throws WTException, RemoteException
refreshAttributeOrgNodeView
in interface IBADefinitionService
node
-
WTException
RemoteException
public AttributeDefDefaultView updateAttributeDefinition(AttributeDefDefaultView node) throws IBADefinitionException, NotAuthorizedException, WTException, RemoteException
updateAttributeDefinition
in interface IBADefinitionService
node
-
IBADefinitionException
NotAuthorizedException
WTException
RemoteException
public AttributeOrgDefaultView updateAttributeOrganizer(AttributeOrgDefaultView node) throws IBADefinitionException, NotAuthorizedException, WTException, RemoteException
updateAttributeOrganizer
in interface IBADefinitionService
node
-
IBADefinitionException
NotAuthorizedException
WTException
RemoteException
public AttributeDefNodeView updateAttributeDefinition(AttributeDefNodeView node) throws IBADefinitionException, NotAuthorizedException, WTException, RemoteException
updateAttributeDefinition
in interface IBADefinitionService
node
-
IBADefinitionException
NotAuthorizedException
WTException
RemoteException
public AttributeOrgNodeView updateAttributeOrganizer(AttributeOrgNodeView node) throws IBADefinitionException, NotAuthorizedException, WTException, RemoteException
updateAttributeOrganizer
in interface IBADefinitionService
node
-
IBADefinitionException
NotAuthorizedException
WTException
RemoteException
private AbstractAttributeDefinizerView removeInvalidCharactersFromName(AbstractAttributeDefinizerView aadv) throws WTException
WTException
private String removeInvalidCharactersFromString(String s)
public IBADefinitionDBService getIBADefinitionDBService()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |