@WebRemote
@Restrict("#{identity.loggedIn}")
public String[] listTypesInPackage(String packageUUID) throws SerializationException {
if ( Contexts.isSessionContextActive() ) {
Identity.instance().checkPermission( new PackageUUIDType( packageUUID ),
RoleTypes.PACKAGE_READONLY );
}
PackageItem pkg = this.getRulesRepository().loadPackageByUUID( packageUUID );
List<String> res = new ArrayList<String>();