Package org.opencms.ade.configuration
Class CmsFunctionReference
java.lang.Object
org.opencms.ade.configuration.CmsFunctionReference
- All Implemented Interfaces:
I_CmsConfigurationObject<CmsFunctionReference>
public class CmsFunctionReference
extends Object
implements I_CmsConfigurationObject<CmsFunctionReference>
Bean for representing a named dynamic function reference from the configuration.
-
Field Summary
Fields inherited from interface org.opencms.ade.configuration.I_CmsConfigurationObject
DEFAULT_ORDER
-
Constructor Summary
ConstructorDescriptionCmsFunctionReference
(String name, CmsUUID structureId, CmsUUID functionDefaultPageId, int order) Creates a new function reference. -
Method Summary
Modifier and TypeMethodDescriptionReturns the function default page id.getKey()
The name of the configuration object.getName()
Returns the name of the function reference.int
getOrder()
The order information for sorting the function references.Returns the structure id of the dynamic function resource.boolean
If true, this configuration object will disable an inherited configuration object of the same name.merge
(CmsFunctionReference child) Merges this configuration object with a child configuration object.
-
Constructor Details
-
CmsFunctionReference
public CmsFunctionReference(String name, CmsUUID structureId, CmsUUID functionDefaultPageId, int order) Creates a new function reference.- Parameters:
name
- the name of the function referencestructureId
- the structure id of the functionfunctionDefaultPageId
- the function default page idorder
- the number used for sorting the function references
-
-
Method Details
-
getFunctionDefaultPageId
Returns the function default page id.- Returns:
- the function default page id
-
getKey
Description copied from interface:I_CmsConfigurationObject
The name of the configuration object.This name should be unique for each single configuration
- Specified by:
getKey
in interfaceI_CmsConfigurationObject<CmsFunctionReference>
- Returns:
- the name
- See Also:
-
getName
Returns the name of the function reference.- Returns:
- the name of the function reference
-
getOrder
The order information for sorting the function references.- Returns:
- the order information
-
getStructureId
Returns the structure id of the dynamic function resource.- Returns:
- the structure id of the function
-
isDisabled
Description copied from interface:I_CmsConfigurationObject
If true, this configuration object will disable an inherited configuration object of the same name.- Specified by:
isDisabled
in interfaceI_CmsConfigurationObject<CmsFunctionReference>
- Returns:
- true if this configuration object is marked as "disabled"
- See Also:
-
merge
Description copied from interface:I_CmsConfigurationObject
Merges this configuration object with a child configuration object.- Specified by:
merge
in interfaceI_CmsConfigurationObject<CmsFunctionReference>
- Parameters:
child
- the child configuration object- Returns:
- the merged configuration objects
- See Also:
-