Package org.cyclos.entities.system
Class CustomOperation
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasContentScript,HasNetwork,HasOrder,HasSvgIcon,ProcessableForProxying,DefinesNetwork,IEntity,IInternalNamedEntity,INamedEntity,UsesScript
@Entity public class CustomOperation extends ConfigurationOrderableEntity implements HasSvgIcon, DefinesNetwork, HasContentScript
A custom operation which may be triggered by users
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description CustomOperation()
-
Method Summary
-
Methods inherited from class org.cyclos.entities.ConfigurationOrderableEntity
compareTo, getOrder, setOrder, toString
-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString
-
Methods inherited from class org.cyclos.entities.NamedEntity
getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getActions
public Set<CustomOperationAction> getActions()
-
getAdminMenu
public AdminMainMenu getAdminMenu()
-
getCloseAfterSeconds
public Integer getCloseAfterSeconds()
-
getConfirmationText
public String getConfirmationText()
-
getContentScript
public CustomScript getContentScript()
- Specified by:
getContentScriptin interfaceHasContentScript
-
getContentScriptParameters
public String getContentScriptParameters()
- Specified by:
getContentScriptParametersin interfaceHasContentScript
-
getCustomSubmitLabel
public String getCustomSubmitLabel()
-
getDataTranslationType
public DataTranslationType getDataTranslationType()
Description copied from class:BaseEntityIf this entity allows data translation, should return the translation type- Overrides:
getDataTranslationTypein classBaseEntity
-
getFormParameters
public List<CustomOperationField> getFormParameters()
-
getFrontendMenu
public FrontendMenu getFrontendMenu()
-
getIcon
public String getIcon()
-
getInformationText
public String getInformationText()
-
getLabel
public String getLabel()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getProfileSection
public ProfileManagementSection getProfileSection()
-
getRecordTypes
public Set<RecordType> getRecordTypes()
-
getResultInformationText
public String getResultInformationText()
Information text only valid for custom operation of typeCustomOperationResultType.RESULT_PAGEmarked to run in channels other thanBuiltInChannel.MAIN.
-
getResultType
public CustomOperationResultType getResultType()
-
getRowAction
public CustomOperationResultPageRowAction getRowAction()
-
getRowLocation
public Location getRowLocation()
-
getRowOperation
public CustomOperation getRowOperation()
-
getRowUrl
public String getRowUrl()
-
getScope
public CustomOperationScope getScope()
-
getScript
public CustomScript getScript()
-
getScriptParameters
public String getScriptParameters()
-
getScriptUsedInType
public CustomScriptUsedInType getScriptUsedInType()
Description copied from interface:UsesScriptReturns the type of script usage- Specified by:
getScriptUsedInTypein interfaceUsesScript
-
getShowForm
public CustomOperationShowForm getShowForm()
-
getSvgIcon
public String getSvgIcon()
- Specified by:
getSvgIconin interfaceHasSvgIcon
-
getTransferTypes
public Set<TransferType> getTransferTypes()
-
getUserMenu
public UserMainMenu getUserMenu()
-
isAllowExport
public boolean isAllowExport()
-
isAllowPrint
public boolean isAllowPrint()
-
isEnabled
public boolean isEnabled()
Description copied from interface:UsesScriptIndicates whether this entity is enabled- Specified by:
isEnabledin interfaceUsesScript
-
isEnabledForActiveUsers
public boolean isEnabledForActiveUsers()
-
isEnabledForPendingUsers
public boolean isEnabledForPendingUsers()
-
isHasFileUpload
public boolean isHasFileUpload()
-
isOpenRowInNewWindow
public boolean isOpenRowInNewWindow()
-
isRequireConfirmationCredential
public boolean isRequireConfirmationCredential()
-
isSearchAutomatically
public boolean isSearchAutomatically()
-
isSubmitWithQrCodeScan
public boolean isSubmitWithQrCodeScan()
-
setActions
public void setActions(Set<CustomOperationAction> actions)
-
setAdminMenu
public void setAdminMenu(AdminMainMenu adminMenu)
-
setAllowExport
public void setAllowExport(boolean allowExport)
-
setAllowPrint
public void setAllowPrint(boolean allowPrint)
-
setCloseAfterSeconds
public void setCloseAfterSeconds(Integer closeAfterSeconds)
-
setConfirmationText
public void setConfirmationText(String confirmationText)
-
setContentScript
public void setContentScript(CustomScript contentScript)
-
setContentScriptParameters
public void setContentScriptParameters(String contentScriptParameters)
-
setCustomSubmitLabel
public void setCustomSubmitLabel(String customSubmitLabel)
-
setEnabledForActiveUsers
public void setEnabledForActiveUsers(boolean enabledForActiveUsers)
-
setEnabledForPendingUsers
public void setEnabledForPendingUsers(boolean enabledForPendingUsers)
-
setFrontendMenu
public void setFrontendMenu(FrontendMenu frontendMenu)
-
setHasFileUpload
public void setHasFileUpload(boolean hasFileUpload)
-
setIcon
public void setIcon(String icon)
-
setInformationText
public void setInformationText(String informationText)
-
setLabel
public void setLabel(String label)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setOpenRowInNewWindow
public void setOpenRowInNewWindow(boolean openRowInNewWindow)
-
setProfileSection
public void setProfileSection(ProfileManagementSection profileSection)
-
setRecordTypes
public void setRecordTypes(Set<RecordType> recordTypes)
-
setRequireConfirmationCredential
public void setRequireConfirmationCredential(boolean requireConfirmationCredential)
-
setResultInformationText
public void setResultInformationText(String resultInformationText)
-
setResultType
public void setResultType(CustomOperationResultType resultType)
-
setRowLocation
public void setRowLocation(Location rowLocation)
-
setRowOperation
public void setRowOperation(CustomOperation rowOperation)
-
setRowUrl
public void setRowUrl(String rowUrl)
-
setScope
public void setScope(CustomOperationScope scope)
-
setScript
public void setScript(CustomScript script)
-
setScriptParameters
public void setScriptParameters(String scriptParameters)
-
setSearchAutomatically
public void setSearchAutomatically(boolean searchAutomatically)
-
setShowForm
public void setShowForm(CustomOperationShowForm showForm)
-
setSubmitWithQrCodeScan
public void setSubmitWithQrCodeScan(boolean submitWithQrCodeScan)
-
setSvgIcon
public void setSvgIcon(String svgIcon)
- Specified by:
setSvgIconin interfaceHasSvgIcon
-
setTransferTypes
public void setTransferTypes(Set<TransferType> transferTypes)
-
setUserMenu
public void setUserMenu(UserMainMenu userMenu)
-
-