Development Guide: https://developer.box.com/docs
API Reference: https://developer.box.com/reference
API Recipes: https://developer.box.com/docs/box-api-recipes
If you’ve been using the default settings for a while and need to migrate your documents, Liferay provides a migration utility in the Control Panel → Configuration → Server Administration → Data Migration. Using this utility, you can move your documents very easily from one store implementation to another.
Integration Project Documentations
In Liferay, there are two types of deletes permanently and using a recycle bin.
- Permanently: When we use this type of delete the file or folder will be deleted permanently and we do not have any option to recover the file or folder in case that we need to recover what we delete.
- Recycle bin: This is special handling of the deleted files or folders, what Liferay does is to handle a logical deleted moving the deleted object to a special folder named Recicle Bin and the object will be there for a defined period of time (in minutes).
Steps to configure the delete type in Liferay
- Go to Configuration > Site Settings
- Scroll down to the recycle bin option and open it.
- Enable/disable the Recycle Bin option as needed.
- If you set the option to enable then you have to configure the Trash Entry Max-Age option that is a value in minutes that define the time to delete the objects inside the Recycle Bin folder.
Liferay external repository
When you create an external repository you have 2 options to delete this external repository:
- You have to press the action menu (the three dots beside the repository name) and select the "Delete" option.
- For this option you have to follow the below steps:
- Disable the Liferay Recycle Bin option (Look at above Liferay configuration).
- Check the repository that you want to delete or check the option besides "Filter and Order" to select all the repositories.
- Select the delete option that appears in the menu.
Box also has a Trash folder that save temporarily the deleted objects. Box has the option to enable/disable this folder and you can set the time that an object will be inside that folder. The options in days are 7, 14, 30, 60, 90, and never auto delete items.
By default this value is set to 30 days.
Steps to configure the trash folder in Box.
- Go to www.app.box.com/
- Go to Admin console.
- Go to Enterprise Settings.
- Move to the Content and Sharing tab.
- Scroll down to Trash configuration.
- Enable/disable the trash option as needed.
- If you set the option to enable then you have to set the time to delete the objects that are inside this folder.
Sharing Content and Inviting Collaborators
Deploy the External Module
The external module should have the same name of the original module.
- The portal cannot be running when we do the deployment.
- The name of the jar must be the same as the one we want to overwrite.
- The $LIFERAY_HOME/osgi/state folder must be deleted.
- Delete the folder $LIFERAY_HOME/work folder.
- If Liferay deploys a newer version than the one declared in our bundle override, our changes may not be applied.
- Only one override bundle can work at a time; if someone else has an override bundle in this folder, your change will step on theirs and this may not be an option (Liferay may distribute updates or hotfixes as module overrides in this fashion).
- You can break your portal if your module override does bad things or has bugs.