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 java.lang.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
Constructors Constructor Description CmsFunctionReference(java.lang.String name, CmsUUID structureId, CmsUUID functionDefaultPageId, int order)Creates a new function reference.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsUUIDgetFunctionDefaultPageId()Returns the function default page id.java.lang.StringgetKey()The name of the configuration object.java.lang.StringgetName()Returns the name of the function reference.intgetOrder()The order information for sorting the function references.CmsUUIDgetStructureId()Returns the structure id of the dynamic function resource.booleanisDisabled()If true, this configuration object will disable an inherited configuration object of the same name.CmsFunctionReferencemerge(CmsFunctionReference child)Merges this configuration object with a child configuration object.
-
-
-
Constructor Detail
-
CmsFunctionReference
public CmsFunctionReference(java.lang.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 Detail
-
getFunctionDefaultPageId
public CmsUUID getFunctionDefaultPageId()
Returns the function default page id.- Returns:
- the function default page id
-
getKey
public java.lang.String getKey()
Description copied from interface:I_CmsConfigurationObjectThe name of the configuration object.This name should be unique for each single configuration
- Specified by:
getKeyin interfaceI_CmsConfigurationObject<CmsFunctionReference>- Returns:
- the name
- See Also:
I_CmsConfigurationObject.getKey()
-
getName
public java.lang.String getName()
Returns the name of the function reference.- Returns:
- the name of the function reference
-
getOrder
public int getOrder()
The order information for sorting the function references.- Returns:
- the order information
-
getStructureId
public CmsUUID getStructureId()
Returns the structure id of the dynamic function resource.- Returns:
- the structure id of the function
-
isDisabled
public boolean isDisabled()
Description copied from interface:I_CmsConfigurationObjectIf true, this configuration object will disable an inherited configuration object of the same name.- Specified by:
isDisabledin interfaceI_CmsConfigurationObject<CmsFunctionReference>- Returns:
- true if this configuration object is marked as "disabled"
- See Also:
I_CmsConfigurationObject.isDisabled()
-
merge
public CmsFunctionReference merge(CmsFunctionReference child)
Description copied from interface:I_CmsConfigurationObjectMerges this configuration object with a child configuration object.- Specified by:
mergein interfaceI_CmsConfigurationObject<CmsFunctionReference>- Parameters:
child- the child configuration object- Returns:
- the merged configuration objects
- See Also:
I_CmsConfigurationObject.merge(org.opencms.ade.configuration.I_CmsConfigurationObject)
-
-