删除liferay门户实例
有没有办法删除在liferay 6中创建的门户实例?
Is there any way to delete a portal instance created in liferay 6??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
有没有办法删除在liferay 6中创建的门户实例?
Is there any way to delete a portal instance created in liferay 6??
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
不,Liferay 6.0 中无法删除门户实例。但这可能会在以后的版本中发生变化(请参阅此功能请求下面的评论:http://issues.liferay .com/browse/LPS-14023)
No, there is no way to delete a portal instance in Liferay 6.0. But this might change in further releases (see the comments below this feature request: http://issues.liferay.com/browse/LPS-14023)
无法直接删除门户实例。如果你确实想删除它,那么你需要进入门户数据库并尝试删除所有具有特定companyId的表数据(因为门户实例是通过companyId标识的)。
There is no way to delete the portal instance directly. If you really want to delete it, then you need to go to the portal database and try to delete all the table data with the specific companyId (as the portal instance is identified by companyId).
查看
Liferay Wiki - 管理实例
Check this
Liferay Wiki - Managing Instances
无法从数据库中删除门户实例。然而在 Liferay 6.x 中,您可以选择是否激活它。因此,如果您使门户实例处于非活动状态,则使用该 companyId 您将无法执行任何操作。
There is no way to delete portal instance from database. However in Liferay 6.x you will have an option to make it active or not. So If you inactive your portal instance then with that companyId you won't be able to make any action.
Portlet 的代码只需编写一次。
要使 Portlet 成为“instancable”,请在该特定 Portlet 的 liferay-display.xml 中设置 instancable = true。
至于删除实例,您只需以管理员身份登录并从页面中删除该 portlet 即可。这绝不会影响同一门户的各个页面上运行的其他实例。
A Portlet's code is written just once.
To make a Portlet "instancable" , set instancable = true in liferay-display.xml of that particular portlet.
As far as deleting an instance is concerned, you just need to login as the Admin and delete that portlet from the page. This in no way affets other instances running on various pages of the same portal.