📄 iofficecomponent.java
字号:
/*
* Component.java
*
* Created on 2001年7月13日, 下午2:44
*/
package com.gs.db;
/**
* Represents a application module based on the kernel. The component control
* machnism is not fully implemented in this release.
*/
public interface IofficeComponent {
public String getName();
/**
* return the DisplayName used to denote the component in GUI or WWWPAGE
*/
public String getDisplayName();
/**
* Set the DisplayName used to denote the component in GUI or WWWPAGE
*/
public void setDisplayName(String dispName) throws UnauthorizedException;
/**
* return the URL to entry the component services
*/
public String getEntryURL();
/**
* Set the URL to entry the component services
*/
public void setEntryURL(String url) throws UnauthorizedException;
/**
* get the importance of the component
* @return 0..99 , the larger the more important
*/
public int getWeight() ;
/**
* Set the importance of the component
* @return 0..99 , the larger the more important
*/
public void setWeight(int weight) throws UnauthorizedException;
/**
* get which desktop the component belongs to
*@return 1: public 2:personal
*/
public int getDesktop();
/**
* set which desktop the component belongs to
*@return 1: public 2:personal
*/
public void setDesktop(int desktop) throws UnauthorizedException;
/**
* Tells if the component is active
*/
public boolean isActive() ;
/**
* Activate or Deactivate the component
*
*@throws UnauthorizedException if it doesnot have the permission of system adminstration
*/
public void activate (boolean flag) throws UnauthorizedException;
/**
* return the agent class name
*/
public String getAgentClassName() ;
/**
* set the agent class name
*
*@throws UnauthorizedException if it doesnot have the permission of system adminstration
*/
public void setAgentClassName(String className) throws UnauthorizedException;
/**
* get Agent Instance
*
* @return the object which implements IofficeComponentAgent interface
*/
public Object getAgentInstance();
/**
* Tells if the component is accessbile to all groups by default
*
* @return true if is default
*/
public boolean isDefaultAccessible( ) ;
/**
* Tells if the component is accessbile to all groups by default
*
* @return true if is default
*/
public void setDefaultAccessible( boolean flag ) throws UnauthorizedException ;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -